Skip to content

Future-based parallel over parameter grid #32

@nanxstats

Description

@nanxstats
  • My goal is to maximize CPU utilization as only increasing n_threads doesn't seem to make that happen.
  • The idea is to refactor the for-loop with foreach + %dofuture% loops to parallel over the parameter grid.
  • Remove the seed argument to let users set.seed() outside.
  • Let users configure the future parallel backend outside (or not, to use sequential).
  • Use progressr (%dofuture% compatible) to display progress bar.
  • Would probably recommend to set n_threads to 1 when using this parallel.
  • A vignette to explain these would be nice.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions