Re:A Practical Guide to Tree-Based Learning Algorithms
by sadanand4singh on Sunday July 23, 2017 @05:53PM
(#14834616)
Thanks for pointing. Yes it should be lower value to prevent over-fitting.
Re:A Practical Guide to Tree-Based Learning Algorithms
by Bishonen88 on Sunday July 23, 2017 @07:53PM
(#14835003)
df_train_set.Income.value_counts() should be df_test_set probably in the part where it's comparing both.
> Maximum depth of tree (vertical depth) The maximum depth of trees. It is used to control over-fitting, higher values prevent a model from learning relations which might be highly specific to the particular sample.
Shouldn't it be lower values, i.e., shallower trees, that control over-fitting?