You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Its extremely slow. glm or pls run in 0.5 seconds (parallel).
dont try sequential, only finishes in ages.
caret_6.0-70
method<- c( "bridge")
# -------------------------------------------------------------------------# FIRST sequential code (not parallel one CPU core):# -------------------------------------------------------------------------
require(caret); data(BloodBrain); set.seed(123)
#fit1 <- train(bbbDescr, logBBB, method); fit1# ------------------------------------------------------------------------- # SECOND parallel register 4 cores (no worries if you only have 2)# train the caret model in parallel # -------------------------------------------------------------------------
library(doParallel); cl<- makeCluster(4); registerDoParallel(cl)
require(caret); data(BloodBrain); set.seed(123)
fit1<- train(bbbDescr, logBBB, method); fit1
stopCluster(cl); registerDoSEQ();
### END
The text was updated successfully, but these errors were encountered:
Its extremely slow. glm or pls run in 0.5 seconds (parallel).
dont try sequential, only finishes in ages.
caret_6.0-70
The text was updated successfully, but these errors were encountered: