Skip to content

Commit

Permalink
修改第8章文档中的一个小错误
Browse files Browse the repository at this point in the history
  • Loading branch information
chenyyx committed Nov 30, 2017
1 parent 380201b commit ae21c4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/8.预测数值型数据:回归.md
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@ def abaloneTest():

#### 4.1、岭回归

简单来说,岭回归就是在矩阵 ![矩阵_1](../images/8.Regression/LinearR_9.png) 上加一个 λI 从而使得矩阵非奇异,进而能对 ![矩阵_2](../images/8.Regression/LinearR_10.png ) 求逆。其中矩阵I是一个 m * m 的单位矩阵,
简单来说,岭回归就是在矩阵 ![矩阵_1](../images/8.Regression/LinearR_9.png) 上加一个 λI 从而使得矩阵非奇异,进而能对 ![矩阵_2](../images/8.Regression/LinearR_10.png ) 求逆。其中矩阵I是一个 n * n (等于列数) 的单位矩阵,
对角线上元素全为1,其他元素全为0。而λ是一个用户定义的数值,后面会做介绍。在这种情况下,回归系数的计算公式将变成:

![岭回归的回归系数计算](../images/8.Regression/LinearR_11.png )
Expand Down

0 comments on commit ae21c4d

Please sign in to comment.