bethatkinson / rpart

Recursive Partitioning and Regression Trees
50 stars 25 forks source link

How is the complexity parameter calculated in the package? #42

Closed JiaqiHu2021 closed 2 years ago

JiaqiHu2021 commented 2 years ago

I build a regression tree and there is a column complexity in the frame data frame, it is a little different from (SS_parent - SSL - SSR)/SS, I wander how is complexity parameter calculated. Thanks for your answer!

JiaqiHu2021 commented 2 years ago

Thank you very much!