Random Forest#
In this project we solve the banknote classification task with a random forest.
Load Data Set#
Task: Load the banknotes data set (cf. Detecting Forgery with k-NN). Drop the entropy column.
# your solution
Random Forest#
Task: Train and evaluate a random forest with 50 trees. Use fixed depth to restrict tree sizes. Choose the depth by hyperparameter optimization.
Solution:
# your solution
Decision Surface#
Task: Train a second forest based on variance and skewness only. Plot the decision surface (the surface separating the classes) with Matplotlib’s contour or contourf.
Solution:
# your solution