"Weak" decision tree
In the previous exercise you built two decision trees. Which one is fine-tuned and which one is "weak"?
Decision tree "A":
min_samples_leaf = 3
andmin_samples_split = 9
- F1-Score: ~58%
Decision tree "B":
max_depth = 4
andmax_features = 2
- F1-Score: ~53%
Both classifiers are available for you as clf_A
and clf_B
.
This exercise is part of the course
Ensemble Methods in Python
Hands-on interactive exercise
Turn theory into action with one of our interactive exercises
