Closed kickbox closed 4 years ago
I know in caret if I have to enable multi-core support for cross-validation one has to enable multicore through
library(doSNOW) cl <- makeCluster(ncores) registerDoSNOW(cl) my_control <- trainControl( ... allowParallel = T, ... )
If I wanted to enable multi-core for supporting Models, one has to mention nthread=ncores in train().
nthread=ncores
train()
Is this the same in caretEnsemble too?
Yup, that should work!
I know in caret if I have to enable multi-core support for cross-validation one has to enable multicore through
If I wanted to enable multi-core for supporting Models, one has to mention
nthread=ncores
intrain()
.Is this the same in caretEnsemble too?