机器学习基石 - Linear Regression
机器学习基石上 (Machine Learning Foundations)—Mathematical Foundations
Hsuan-Tien Lin, 林轩田,副教授 (Associate Professor),资讯工程学系 (Computer Science and Information Engineering)
Linear Regression Problem
- hypothesis:
- find lines/hyperplanes with small residuals
Linear Regression Algorithm
-
Matrix Form of
-
find such that
-
伪逆矩阵 pseudo-inverse
矩阵的平方展开、求导,抓住一个或一行的例子,纵观计算过程,推倒式子
Generalization Issue
hat matrix ,
-
Geometric View of Hat Matrix
将投影到
-
The Learning Curve
(平均情况)
Linear Regression for Binary Classification
- 可以用回归的方法解决分类的问题