Question: Write code to train an AdaBoostRegressor for the scikit-learns Boston house prices dataset. Use the default (hyper)parameters of the AdaBoostRegressor, apply cross-validation, find and display

Write code to train an AdaBoostRegressor for the scikit-learns Boston house prices dataset. Use the default (hyper)parameters of the AdaBoostRegressor, apply cross-validation, find and display the test score of the model.

And Repeat it using SVR(C=100) as the base estimator of the AdaBoostRegressor. Do not scale the features for the SVR.

And Repeat again using a pipeline and scaling the features for the SVR base estimator. Compare the performances in part b and this part, and explain the difference.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!