print (iris.rp$cptable,digit=2)
CP nsplit rel error xerror xstd
1 0.50 0 1.00 1.18 0.050
2 0.44 1 0.50 0.70 0.061
3 0.01 2 0.06 0.07 0.026
>
想问一下那个cp 也就是complexity parameter是做什么的?
另外用Rpart做决策树都应该关注哪些指标呢?谢谢。


雷达卡



京公网安备 11010802022788号







