posterior
posterior copied to clipboard
Explicit trainControl blocking parallel rstar
trafficstars
I was looking at what would be necessary to add parallelism to the computation of rstar, and thought this would work:
library(doMC)
registerDoMC(4)
rstar(x,uncertainty=T,trControl=caret::trainControl(allowParallel=T))
But I see that the call to caret::train inside rstar defines trControl explicitly itself, blocking the user from toggling parallelism. Was this intentional and is there another way to achieve parallelism?
Tagging @ben18785 as he is the main author of the rstar function.