CogandKim
Machine Learning 머신 러닝 - How to minimize cost 본문
Machine Learning 머신 러닝 - How to minimize cost - H(x) = Wx+b - cost(W,b)= 1mi=1m(H(x(i))-y(i))2 ( m = num of data) - H(x) = Wx - cost(W)= 1mi=1m(W*x(i)-y(i))2 ( m = num of data) x y 1 1 2 2 3 3 - W=1, cost(W) = 13((1*1-1)2+(1*2-2)2+(1*3-3)2) =0 - W=0, cost(W) = 4.67 - W=2, cost(W) = 4.67 - Minimize cost function - Gradient descent is used many minimization problems - For a given cost function cost(W,b), it will find W,b to minimize cost - It can be applied to more general function : cost(W1, W2, … ) Find m = 0 Sung Kim https://www.youtube.com/channel/UCML9R2ol-l0Ab9OXoNnr7Lw Andrew Ng’s ML class - https://class.coursera.org/ml-003/lecture - http://www.holehouse.org/mlclass관련 포스트
Machine Learning 머신러닝 - ML & Deep Learning
Machine Learning 머신 러닝 - Linear Regression
TensorFlow 설치 및 PyCharm 설치
TensorFlow Linear Regression
TensorFlow Minimize Cost, Gradient Discent Algorithm
Hypothesis and Cost
Simplified hypothesis
What cost(W) looks like?
How to minimize cost? cost(W) => minimize
Gradient descent algorithm
Reference
'MachineLearning' 카테고리의 다른 글
| Machine Learning 머신 러닝 - Linear Regression (0) | 2016.07.11 |
|---|---|
| Machine Learning 머신러닝 - ML & Deep Learning (0) | 2016.07.11 |