rpart icon indicating copy to clipboard operation
rpart copied to clipboard

Recursive Partitioning and Regression Trees

Results 43 rpart issues
Sort by recently updated
recently updated
newest added

what is the cost sensitive algorithm? https://www.rdocumentation.org/packages/rpart/versions/4.1.19/topics/rpart ![image](https://user-images.githubusercontent.com/5112397/201233505-145c7954-eb9c-49c1-a731-8a194c324d3f.png)

help wanted

The 'xerror' is related to the PRESS statistic [https://cran.r-project.org/web/packages/rpart/vignettes/longintro.pdf](p 34). ![ Examples of **_xpred.rpart_** ](https://user-images.githubusercontent.com/12681562/189079593-40926092-2ecf-431e-99fa-5134103b83e6.png) The PRESS is achivied by `apply(xerr, 2, sum)` . It is obvious that PRESS of...

help wanted

In xgboost, there are several importance types, including weight’, ‘gain’, ‘cover’, ‘total_gain’, and ‘total_cover’. I wonder how rpart calculates importance score.

help wanted

Hello there! Thanks for this very nice package. I know similar questions have been asked multiple times, but I was not able to get a 100% clear answers from what...

help wanted

Hello, I am trying to grow a tree to a maxdepth of 12. I used the rpart.control (maxdepth=12) option, but the tree only grows up to 6 and then stops....

help wanted

library(mice) library(rpart) md.pattern(iris) #Missing value survey mytree

help wanted

Hi, I am fitting survival trees with rpart but I have some doubts concerning the resulting outcome. I understood that the node outcome (yval) should be a measure of relative...

https://stat.ethz.ch/R-manual/R-devel/library/rpart/html/plotcp.htm ![Snipaste_2021-10-05_09-57-44](https://user-images.githubusercontent.com/5112397/135948365-bea0d507-2213-4276-9f87-6f92458950ab.png) l