If you are viewing this file in preview mode, some links won't work. Find the fully featured Jupyter Notebook file on the website of Prof. Jens Flemming at Zwickau University of Applied Sciences. This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

Project: House price prediction with random forests

Use the extended and preprocessed German housing data set to predict house prices. Train a random forest regressor with Scikit-Learn. Try to get similar or better prediction quality as for Ridge regression.

Show feature importances based on RandomForestRegressor.feature_importances_.

Visualize one of the trees in the forest. Only show the first few depth levels.

Solution

Zip the file, name the zip file forename_surname.zip, and send it to the lecturer.