Does multicore computing using R's doParallel package use more memory?

后端 未结 2 471
生来不讨喜
生来不讨喜 2021-02-10 17:18

I just tested an elastic net with and without a parallel backend. The call is:

enetGrid <- data.frame(.lambda=0,.fraction=c(.005))
ctrl <- trainControl( m         


        
2条回答
  •  Happy的楠姐
    2021-02-10 18:13

    There is a minimum number of characters elsewise I would simply have typed: 1) Yes. 2) No, er, maybe. There are packages that use a "shared memory" model for parallel computation, but R's more thoroughly tested packages don't use it.

    http://www.stat.berkeley.edu/scf/paciorek-parallelWorkshop.pdf

    http://heather.cs.ucdavis.edu/~matloff/158/PLN/ParProcBook.pdf

    http://heather.cs.ucdavis.edu/Rdsm/BARUGSlides.pdf

提交回复
热议问题