Displaying 1 result from an estimated 1 matches for "cnj_2".
Did you mean:
cnj2
2010 Oct 04
0
Syntax for Rmpi cf multicore
...h mpi.apply.
The function lr.gbm has variables trees, folds and minob which I use
with mclapply like this:
out <- mclapply(subsets, lr.gbm, mc.cores = 6, trees=trees, folds=folds,
minob=minob)
subsets is simply a vector that looks like this:
[1] "COB_2" "CNJ_2" "COB_3" "CNJ_3" "COB_4" "CNJ_4"
and that works more or less fine to produce a list of length 6 which
I've named with the elements of the subsets vector.
names(out) <- subsets
Now, when I use mpi.apply, I make the trees, folds and minob avai...