{"action":"created","issue":{"url":"https://api.github.com/repos/topepo/caret/issues/585","repository_url":"https://api.github.com/repos/topepo/caret","labels_url":"https://api.github.com/repos/topepo/caret/issues/585/labels{/name}","comments_url":"https://api.github.com/repos/topepo/caret/issues/585/comments","events_url":"https://api.github.com/repos/topepo/caret/issues/585/events","html_url":"https://github.com/topepo/caret/issues/585","id":204388168,"number":585,"title":"How to deal with reproducibility when using parallel processing?","user":{"login":"diugalde","id":5900828,"avatar_url":"https://avatars.githubusercontent.com/u/5900828?v=3","gravatar_id":"","url":"https://api.github.com/users/diugalde","html_url":"https://github.com/diugalde","followers_url":"https://api.github.com/users/diugalde/followers","following_url":"https://api.github.com/users/diugalde/following{/other_user}","gists_url":"https://api.github.com/users/diugalde/gists{/gist_id}","starred_url":"https://api.github.com/users/diugalde/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diugalde/subscriptions","organizations_url":"https://api.github.com/users/diugalde/orgs","repos_url":"https://api.github.com/users/diugalde/repos","events_url":"https://api.github.com/users/diugalde/events{/privacy}","received_events_url":"https://api.github.com/users/diugalde/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2017-01-31T18:47:21Z","updated_at":"2017-02-20T23:09:11Z","closed_at":null,"body":"Hi, I followed this thread http://stackoverflow.com/questions/13403427/fully-reproducible-parallel-models-using-caret#13844664 and added the seeds parameter to trainControl. However, each run is throwing different results.\r\n\r\nWhat is the correct way to use parallel and obtain the same results every time?\r\n\r\nI'm training 3 models, 2 of them are parRF and the other one is glmnet."},"comment":{"url":"https://api.github.com/repos/topepo/caret/issues/comments/281202774","html_url":"https://github.com/topepo/caret/issues/585#issuecomment-281202774","issue_url":"https://api.github.com/repos/topepo/caret/issues/585","id":281202774,"user":{"login":"topepo","id":5731043,"avatar_url":"https://avatars.githubusercontent.com/u/5731043?v=3","gravatar_id":"","url":"https://api.github.com/users/topepo","html_url":"https://github.com/topepo","followers_url":"https://api.github.com/users/topepo/followers","following_url":"https://api.github.com/users/topepo/following{/other_user}","gists_url":"https://api.github.com/users/topepo/gists{/gist_id}","starred_url":"https://api.github.com/users/topepo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/topepo/subscriptions","organizations_url":"https://api.github.com/users/topepo/orgs","repos_url":"https://api.github.com/users/topepo/repos","events_url":"https://api.github.com/users/topepo/events{/privacy}","received_events_url":"https://api.github.com/users/topepo/received_events","type":"User","site_admin":false},"created_at":"2017-02-20T23:09:11Z","updated_at":"2017-02-20T23:09:11Z","body":"It could be that `doParallel`does not have the same issues. That don't have to mean that it is a bug but they can use different technologies that work in different ways. I've had more crashes and issues with `doParallel` than `doMC` but if it works for you then go with it. \r\n\r\nYou should use this newer version of `parRF` though (for the bug fixes)"}}
{"actor":{"display_login":"topepo"}}