Skip to content
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 & progress bars #31

Closed
joannawolthuis opened this issue May 17, 2021 · 2 comments
Closed

Parallel & progress bars #31

joannawolthuis opened this issue May 17, 2021 · 2 comments

Comments

@joannawolthuis
Copy link

Hi there! I was wondering if there was any way to adapt your algorithm to work in parallel , similarly to missForest. Secondly, I was wondering if there is a way to have some kind of progress bar per iteration (as in percentual rather than the dots). Thanks for your work on this package :)

Cheers,
Joanna

@mayer79
Copy link
Owner

mayer79 commented May 19, 2021

missRanger() uses the ranger package to fit random forests. ranger is fully parallelized, so this cannot be optimized additionally. If you feel that the algorithm is too slow, you can play with different parameters. E.g. you can reduce the numbers of trees from the default of 500 to num.trees = 100 (-> check the arguments of ranger()). missForest() uses 100 trees per default.

Good idea to use standard progress bars, thank you for this input. I am working on this right now and will soon have it on github.

@mayer79
Copy link
Owner

mayer79 commented May 19, 2021

If you find time, you can test the new progress bar with

devtools::install_github("mayer79/missRanger", subdir = "release/missRanger", ref = "progressbar")

@mayer79 mayer79 mentioned this issue May 19, 2021
@mayer79 mayer79 closed this as completed May 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants