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
Running vi_permute() with parallel=TRUE is not reproducible when using set.seed prior to running the function (have not tried other functions in the vip package but it'll probably also apply to them).
It seems set.seed() gets ignored while using parallel processing. Like my previous post, this also seems to be related to foreach. A fix I've found to work for now is to use the package doRNG instead of the set.seed() function e.g.: registerDoRNG(seed = 123) and then run vi_permute() with parallel=TRUE
This might be something to note in the documentation for when parallelization is used?
The text was updated successfully, but these errors were encountered:
Running
vi_permute()
with parallel=TRUE is not reproducible when usingset.seed
prior to running the function (have not tried other functions in the vip package but it'll probably also apply to them).It seems
set.seed()
gets ignored while using parallel processing. Like my previous post, this also seems to be related to foreach. A fix I've found to work for now is to use the packagedoRNG
instead of theset.seed()
function e.g.:registerDoRNG(seed = 123)
and then runvi_permute()
with parallel=TRUEThis might be something to note in the documentation for when parallelization is used?
The text was updated successfully, but these errors were encountered: