-
Notifications
You must be signed in to change notification settings - Fork 106
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Parallel wrapper function for mice #104
Conversation
|
As m is system dependent. I am not sure if adding a test on m would be useful.
However, I am not sure if getting the same output is something we would desire to achieve. As opposed to
@RianneSchouten Can you give your 2 cents on whether it is possible/desirable to have
|
Thanks Gerko.
|
I'll make the commits. |
For 2, a solution like this seems nice. We add an argument mice.seed = NA.
I have made a pull request to Gerko's github. |
Thanks. That's nifty. Perhaps its nicer to make seed consistent and use I'll update the code. |
Regarding 1) |
|
New function. Highlight of new/improved functionality:
The new function yields the following results on machine with 8 logical cores [max 7 used by
|
over 3 times faster:
over 4 times faster:
|
nice with the match.cluster!
2018-06-18 23:23 GMT+02:00 Gerko Vink <notifications@github.com>:
… over 3 times faster:
> system.time(mice(nhanes, m = 500, print = FALSE))
user system elapsed
13.336 0.040 13.393
> system.time(parlmice(nhanes, m = 500, cl.type = "FORK"))
user system elapsed
15.488 0.892 4.194
over 4 times faster:
> system.time(mice(boys, m = 70, print = FALSE))
user system elapsed
64.443 0.892 65.543
> system.time(parlmice(boys, m = 70, cl.type = "FORK"))
user system elapsed
28.854 1.078 15.505
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#104 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AVQqe6Mhy9And5Mv_zEFdvg6Ip1MSIl-ks5t-BpAgaJpZM4Un2Ki>
.
|
One addition:
parlmice()
: runsmice
in parallelOne fix:
ibind()
: Empty list was created based on numeric input and extended based on character input. Resulted in twice the length and half empty. Hence, the resultingmids
object could not be parsed tomice::complete()
Version bumped to
3.0.11