Skip to main content

Timeline for Decision tree too small

Current License: CC BY-SA 4.0

2 events
when toggle format what by license comment
Apr 16, 2020 at 14:16 comment added Ben Reiniger That's the documentation for sklearn, not rpart; but the hyperparameter plays the same role, in rpart it is called maxdepth. To the last two points, you can see in the graphic how many samples of each class live in each leaf; with rpart's default minsplit=20, it should be able to split further. Maybe it's the cp parameter?
Apr 16, 2020 at 8:24 history answered Nico D'Alessandro CC BY-SA 4.0