Notice
Recent Posts
Recent Comments
«   2026/06   »
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30
Tags
more
Archives
Today
Total
관리 메뉴

CogandKim

Machine Learning 머신 러닝 - Linear Regression 본문

MachineLearning

Machine Learning 머신 러닝 - Linear Regression

김정출 2016. 7. 11. 22:15


Machine Learning 머신 러닝 - Linear Regression


관련 포스트

Machine Learning 머신러닝 - ML & Deep Learning

TensorFlow 설치 및 PyCharm 설치

TensorFlow Linear Regression

TensorFlow Minimize Cost, Gradient Discent Algorithm



Predicting exam score : regression

- Using with Learning Training Set (학습된 데이터를 기반으로)


Regression(data)

Using Training data -> (Linear) Hypothesis  - H(x) = Wx+b

And then “Which hypothesis is better?”

Linear Regression -> Many Modeling


Cost(Loss) function

- How fit the line to our training data

- cost : (H(x)-y)2

- cost function

> cost =  (H(x1)-y1)2+(H(x2)-y2)2+(H(x3)-y3)2

> cost = 1mi=1m(H(x(i))-y(i))2

> H(x) = Wx + b  -> cost(W,b)= 1mi=1m(H(x(i))-y(i))2  ( m = num of data)


Goal : Minimize cost

minimize cost(W,b)



Reference

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