egenn/rtemis

resampler != "loocv"

Closed this issue · 2 comments

Not thinking, I updated my installation today, which has resulted in the following error in previously working code. I'm using elevate() to run RANGER, GBM, and so on.

Error in if (resampler != "loocv") { : argument is of length zero

Tomorrow, I'll try to reproduce the error by running tutorial examples. Posting now in the event there is a quick solution.

egenn commented

Hi, thanks for posting.
elevate() has been replaced by train() (https://rtemis.lambdamd.org/Train.html)
Check out its usage, some arguments have been renamed for clarity, e.g. alg to choose algorithm and train.params to define hyperparameters.

Thank you.