rpart icon indicating copy to clipboard operation
rpart copied to clipboard

subsample columns

Open mayer79 opened this issue 4 years ago • 0 comments

Hello Beth

Awesome package.

There are very efficient random forest packages out there, but still I'd love to see the option "colsample = 1" in rpart.control. If set to a value below 1, then in each split, a random sample of size

1 <= ceiling(m * colsample) <= m

would be drawn among the $m$ predictors, like in a random forest.

There are two reasons for this:

  1. For teaching, it would be a fantastic way to program a simple random forest based on rpart.

  2. It would allow to make a random forest with Poisson split rule, something I am waiting for since long.

mayer79 avatar Mar 11 '20 20:03 mayer79