2 Comments

Great post, got me thinking and taking various notes. Thank you for sharing!

Tow feedback points:

The current default for max_features is sqrt, but yes, it used to be auto. https://scikit-learn.org/stable/modules/generated/sklearn.ensemble.RandomForestClassifier.html

I think the post could benefit from a more obvious explaination of what that max_features hyperparameter actually does.

Expand full comment
author

Thanks for the feedback.

max_features is sqrt per default for RandomForestClassifier, but it's 1.0 (all features) for RandomForestRegressor: https://scikit-learn.org/stable/modules/generated/sklearn.ensemble.RandomForestRegressor.html

Expand full comment