sharky
sharky

Reputation: 31

Parallelize rfcv() function for feature selection in randomForest package

I wonder if anyone knows how to parallelize rfcv() function implemented in R-package 'randomForest'. Sorry if the question sounds very basic, but I tried to do this using 'foreach' without any results.

Upvotes: 2

Views: 1304

Answers (1)

Dirk is no longer here
Dirk is no longer here

Reputation: 368201

Have a look at the caret package and its documentation.

It not only is more general (allowing for more models than "just" random forests) but also integrates pre- and post-processing --- while also giving you parallel execution where feasible, particularly for evaluation and cross-validation which is an "embarassingly parallel" problem.

Upvotes: 1

Related Questions