Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update 1.Liner Regression.md #38

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Machine Learning/Liner Regression/1.Liner Regression.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ L表示为图中的黑色圆形,随着梯度下降法的不断逼近,与圆

### 5.2 什么场景下用L2正则化

只要数据线性相关,用LinearRegression拟合的不是很好,**需要正则化**,可以考虑使用岭回归(L2), 如何输入特征的维度很高,而且是稀疏线性关系的话, 岭回归就不太合适,考虑使用Lasso回归。
只要数据线性相关,用LinearRegression拟合的不是很好,**需要正则化**,可以考虑使用岭回归(L2), 如果输入特征的维度很高,而且是稀疏线性关系的话, 岭回归就不太合适,考虑使用Lasso回归。

### 5.3 什么是L1正则化(Lasso回归)

Expand Down