Merge pull request #220 from 1mrliu/master

房价预测文档更新
This commit is contained in:
liudong 2018-05-19 20:03:49 +08:00 committed by GitHub
commit 97eabca8d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -1827,7 +1827,7 @@ plt.show()
![png](/static/images/competitions/getting-started/house-price/output_53_0.png)
```python
# 模型选择
## LASSO Regression :
lasso = make_pipeline(RobustScaler(), Lasso(alpha=0.0005, random_state=1))
@ -1890,7 +1890,7 @@ score = rmsle_cv(model_xgb)
print("Xgboost score: {:.4f} ({:.4f})\n".format(score.mean(), score.std()))
score = rmsle_cv(model_lgb)
print("LGBM score: {:.4f} ({:.4f})\n".format(score.mean(), score.std()))
```
```python