MY MEMO
Simplified hypothesis => cost function어떻게 cost function값이 가장 작은 것을 찾을 수 있을까?=> cost function 값을 그래프로 그려 가장 작은 값을 도출하면 가능하다! 이 함수에서 가장 작은 수를 찾으려면 새로운 함수(algorithm)이 필요하다!=> Gradient descent algorithm (gradient = 경사 descent = 내려감) => 경사를 따라 내려가는 algorithm
1) Machine Learning 기본 개념 Supervised Learning : 정해져있는 데이터(이미 label이 정해져있음 = training set) ex) 이미지를 주면 자동으로 이미지를 구별해주는 것 -> machine learning을 이용 어떻게 만들까? 사람이 고양이, 강아지등의 그림을 미리 줌 그것을 바탕으로 그림을 구분해냄ex) Email spam filterex) Predicting exam score regression / binary classification / multi-label classification - Predicting final exam score based on time spent => regression 데이터의 범위가 넓음- pass / non-pass ..
algospot ORDERING : https://algospot.com/judge/problem/read/ORDERING priority_queue로 풀었어야 했는데 queue로 풀어서30분도 안걸려 풀 문제를 1시간에 걸쳐 돌아왔다코드는 매우 간단하다 #include #include #include #include #include #include using namespace std; vector graph; vector indegree; priority_queue memory; void main_function() { for (int j = 0; j < indegree.size(); j++) { if (indegree[j] == 0) memory.push(j); } while (!memory.empt..