scikit-learn 1 · Evaluation and tuning
See which features matter
Read how much each feature contributed to a random forest.
importances = clf.feature_importances_
Official scikit-learn 1 documentation
More evaluation and tuning commands
- Measure accuracy
- Get precision, recall and F1
- See where the model is wrong
- Evaluate a regression model
- Cross-validate
- Tune hyperparameters
All evaluation and tuning commands · scikit-learn 1 cheatsheet