daviddalpiaz / r4sl

:chart_with_upwards_trend: Machine Learning from the perspective of a Statistician using R
https://daviddalpiaz.github.io/r4sl/
72 stars 62 forks source link

ntrees -> ntree #21

Closed gburtini closed 3 years ago

gburtini commented 3 years ago

From: https://www.rdocumentation.org/packages/randomForest/versions/4.6-14/topics/randomForest

ntree: Number of trees to grow. This should not be set to too small a number, to ensure that every input row gets predicted at least a few times.

I believe ntrees was just being silently ignored, although perhaps the argument name has changed in a version of the randomForest package.

daviddalpiaz commented 3 years ago

Ah, thanks. I'm merging this now, but I'll need to fix the CI issues before it goes live.