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

线性回归 Linear Regression

时间:2017-08-16 00:44:37      阅读:176      评论:0      收藏:0      [点我收藏+]

标签:lin   线性模型   comm   log   repr   mina   ati   效果   linear   

 

 

什么是线性回归?

y = f(x), a function that representing the relationship between input x and output y. The Function we used here is the general Linear Function.

 `

常用的线性回归函数

1.多项式函数(Polynominal Function)

 

技术分享

 

 

技术分享

(graph from wikipedia)

Comments:

1. most common function, fitting to most cases in life.

2. y is ranged from 技术分享.

3. x is ranged from 技术分享

4. one x only has one y. (say, otherwise, for 技术分享, one x has 2 different y)

  

2.sigmoid 函数(Sigmoid Function)

 技术分享

 

技术分享

(graph from wikipedia)

Comments:

1. y is ranged from 0 to 1 (so it can represent the pobability, that‘s why the logistic regression uses this function to fitting the relationship between the prob and input)

2.x is ranged from 技术分享

  

2.RBF 函数(Radial Basis Function)

技术分享

 

技术分享

(graph from wikipedia)

Comments:

1. radially symmetric

2. wide used (e.g. Gaussian Prob Density)

 

 

2017-08-15

线性模型的效果受线性公式影响, 应当选择和当前应用项目匹配的函数。

线性回归 Linear Regression

标签:lin   线性模型   comm   log   repr   mina   ati   效果   linear   

原文地址:http://www.cnblogs.com/fuxiaotong/p/7368434.html

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