码迷,mamicode.com
首页 > 其他好文 > 详细

机器学习笔记(Washington University)- Regression Specialization-week two

时间:2017-05-02 23:35:09      阅读:179      评论:0      收藏:0      [点我收藏+]

标签:form   int   desc   matrix   min   nali   value   nbsp   with   

1. Modeling seasonality

技术分享

w1 models the linear trend of the overall process.

w2 models the seasonal component sinusoid with a period of 12

and you do not know when the trend occurs so there exists a phase shift.

 

2. Regression model

技术分享

Now we are looking at the coeffiencts,for instanc,e the number of bedrroms, And 

what‘s the predicted change in the value of my house with everything else fixed.

Note:

the interpretation is in the context of what you have in the model. If the

square footage is fixed, the increse of the number of bedroom does not always

increase the value of the house.

 

3. RSS in matrix form and the gradient

技术分享

and the gradient of RSS is equal to:

技术分享

4.The close-form solution

 we can set the gradient to be zero to find the minimum:

技术分享

and we can get the W that we want.

 

5. Gradien descent

技术分享

 

机器学习笔记(Washington University)- Regression Specialization-week two

标签:form   int   desc   matrix   min   nali   value   nbsp   with   

原文地址:http://www.cnblogs.com/climberclimb/p/6798811.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!