House Price Regression Process:Stacked Regressions

房屋销售价格回归预测的项目有很多人公开了其Kernel, 其中Serigne的“Stacked Regressions to predict House Prices”为多数人所阅读。读者可以在Kaggle网站上直接浏览。本文做了一些总结,把主要的流程步骤列表如下,读者可以厘清思路。

Stacked Regressions to predict House Prices. 0

Data Processing. 5

Outliers. 5

Note : 5

Target Variable¶. 5

Log-transformation of the target variable. 7

Features engineering. 8

Missing Data. 8

Data Correlation. 8

Imputing missing values. 8

More features engeneering¶. 9

Transforming

some numerical variables that are really categorical 9

Label Encoding some categorical variables

that may contain information in their ordering set 9

Adding one

more important feature. 9

Skewed

features. 9

Getting

dummy categorical features Getting the new train and test sets. 10

Modelling. 10

Import librairies. 10

Define a cross validation strategy. 10

Base models  10

StackedRegressions  to predict House Prices. 0

Data Processing. 5

Outliers. 5

Note : 5

Target Variable¶. 5

Log-transformation of the target variable. 7

Features engineering. 8

Missing Data. 8

Data Correlation. 8

Imputing missing values. 8

More features engeneering . 9

Transforming some numerical variables that are really categorical 9

Label Encoding some

categorical variables that may contain information in their ordering set 9

Adding one more important feature. 9

Skewed features. 9

Getting dummy categorical features Getting the new train and test sets. 10

Modelling. 10

Import librairies. 10

Define a cross validation strategy. 10

Base models. 10

LASSO Regression : 10

Elastic Net Regression : 11

Kernel Ridge Regression : 11

Gradient Boosting Regression : 11

XGBoost 11

·       LightGBM.. 11

Base models scores. 11

Stacking models. 11

Simplest Stacking approach : Averaging base models. 11

Averaged base models class. 11

Averaged base models score. 11

Less simple Stacking : Adding a

Meta-model 12

Stacking averaged Models Class. 13

Stacking Averaged models Score. 13

Ensembling StackedRegressor, XGBoost and LightGBM.. 13

Final Training and Prediction. 13

Stacked Regressor: 13

XGBoost: 14

Ensemble prediction: 15

Submission. 15

Comments. 16

Leader Board Ranking: 17

RMSLE score on train data: 0.07658856703780222  18

©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

相关阅读更多精彩内容

  • 仿佛有一种暗示在闪烁 好奇的人百变揣测 它是白天的谜底 刚要捕捉又窜入这浩瀚星空 它不会轻易束手就擒
    黄花菜不凉阅读 184评论 0赞 2
  • 1、感恩老公今早给宝宝穿衣服。 2、感恩今早做了不辣的豆瓣酱豆腐,好吃! 3、感恩一大早姐姐上来,把儿子带到妈妈家...
    与真我合一之路阅读 250评论 0赞 0

友情链接更多精彩内容