math - 多元线性回归本质上如何是线性的?

标签 math machine-learning linear-regression

根据我有限的知识,线性函数只有两个变量来定义它,即 x 和 y。

但是,根据多元线性回归,

h(x)=(theta transpose vector)*(x vector)
where theta transpose vector = (n+1)x1 vector of parameters
      x vector = input variables x0, x1, x2 ....., xn

涉及多个变量。它不会改变图形的性质,从而改变函数本身的性质吗?

最佳答案

linear functions have only two variables which define it, namely x and y

这不准确; definition线性函数的函数是其自变量呈线性的函数。

您所指的只是只有一个自变量x的特殊情况,其中

y = a*x + b

并且(x,y)轴上的图是一条直线,因此“线性”一词本身的历史起源。

一般情况下有k个自变量x1, x2, ..., xk,线性函数方程写为

y = a1*x1 + a2*x2 + ... + ak*xk + b

您可以立即识别其形式,与多元线性回归方程相同。

请注意,您使用的术语多变量也是错误的 - 您实际上是指多变量,即多个独立变量(x's) ;第一项表示多个变量(y):

Note that multivariate regression is distinct from multivariable regression, which has only one dependent variable.

( source )

关于math - 多元线性回归本质上如何是线性的?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46863111/

相关文章:

python - 如何使用 matplotlib 绘制导数?

javascript - Rails 从一个变量中减去另一个变量

algorithm - 如何生成具有函数模式的矩阵?

python - Tensorflow Precision、Recall、F1 - 多标签分类

java - 哪个是 Java 中计量经济学的最佳软件包?

来自 1 :1 line 的残差

java - 在不使用数组或循环的情况下找到五个给定数字中第三大的最快方法?

python - 我将如何进行图像标记/分类?

machine-learning - 什么是机器学习中的学习曲线?

python - 如何在 x 轴上绘制带有日期时间的线性回归