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
I think I am having an issue with the doParallel portion of the assign.kfold() and assign.MC() functions. When I was running the scripts I made a issue so killed the run to start over and when I tried again I got the following error "Error in summary.connection(connection) : invalid connection"
the output I got was:
7 cores/threads of CPU will be used for analysis...
Error in summary.connection(connection) : invalid connection
through some searching I found that I think it has something to do with stopCluster(), but was have not been able to fix it and get anything to run in parallel (the multiprocesses=FALSE method works just fine).
Thanks for your help!
Peter
The text was updated successfully, but these errors were encountered:
Thank you for reporting this issue. It looks like there is a for-loop issue in my codes, and therefore it doesn't allow you to run multiple sets of K-fold (e.g., k.fold=c(3,4,5) ) with parallel computing. At this point, you can only set one k-fold at a time (e.g., k.fold=c(3) ) in order to run in parallel.
I will see if I can fix this bug in the next few days, and let you know.
I updated the function assign.kfold, and now it should run multiple sets of K-fold in parallel. Please update or reinstall your library to v.1.1.6 and see if it works.
On Jun 10, 2019, at 8:09 AM, Alex Chen ***@***.***> wrote:
Hi Peter,
I updated the function assign.kfold, and now it should run multiple sets of K-fold in parallel. Please update or reinstall your library to v.1.1.6 and see if it works.
Thanks.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
Hi Alex,
I think I am having an issue with the doParallel portion of the assign.kfold() and assign.MC() functions. When I was running the scripts I made a issue so killed the run to start over and when I tried again I got the following error "Error in summary.connection(connection) : invalid connection"
my script was:
the output I got was:
7 cores/threads of CPU will be used for analysis...
Error in summary.connection(connection) : invalid connection
through some searching I found that I think it has something to do with stopCluster(), but was have not been able to fix it and get anything to run in parallel (the multiprocesses=FALSE method works just fine).
Thanks for your help!
Peter
The text was updated successfully, but these errors were encountered: