线性回归 Linear Regression

Posted 付小同

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了线性回归 Linear Regression相关的知识,希望对你有一定的参考价值。

 

 

什么是线性回归?

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的主要内容,如果未能解决你的问题,请参考以下文章

线性回归 Linear Regression

线性回归(Linear Regression)

机器学习基石:09 Linear Regression

局部加权线性回归(Local Weighted Linear Regression)+局部加权回归+局部线性回归

Python - 线性回归(Linear Regression) 的 Python 实现

机器学习基础 --- 线性回归(Linear Regression)