topepo / caret

caret (Classification And Regression Training) R package that contains misc functions for training and plotting classification and regression models
http://topepo.github.io/caret/index.html
1.61k stars 632 forks source link

How is the support for different hyperparameters decided in Caret #1267

Open jttoivon opened 2 years ago

jttoivon commented 2 years ago

Caret allows optimizing the parameter min.node.size of ranger, but not the parameter nodesize of randomForest package. Is there some rationale for deciding which parameters are optimizable as hyperparameters in Caret?

topepo commented 2 years ago

Not especially. There are some inconsistencies since packages are released at different times and change some of what they expose to the user.

You're welcome to add a PR to make these two more consistent.

jttoivon commented 2 years ago

1268

I added a pull request here.