A Random Forest for House Prices
A Random Forest for House Prices#
In this project we solve the house price prediction problem from Worked Example: House Prices II with a random forest. Read Bagging before you start.
Task: 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.
# your solution
Task: Show feature importances based on RandomForestRegressor.feature_importances_
.
# your solution
Task: Visualize one of the trees in the forest. Only show the first few depth levels.
# your solution