Description Usage Arguments Details Examples
View source: R/learner.stacked.R
Combines the parameter sets from the tuning of the basic learners to predict the final Saleprice using linear regression.
1 2 | learner.stacked(input_train = data_train_numeric_clean_imputed,
input_test = data_test_numeric_clean_imputed)
|
input_train |
Input data which is by default set to |
input_test |
Input data which is by default set to |
Uses the features_boruta
to select only features that are considered important by feature.boruta()
.
This stacked learner uses xgboost, lasso with the tuned parameters and deeplearning with 10 hidden layers each
containing 300 nodes as basic learners. At last linear regression is used to predict the Saleprice using
all three predictions. The result is stored in final_submission_stacked_learner.csv
and can be directly
uploaded to kaggle.
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.