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

Support missForest() imputation method #1247

Open
joeycouse opened this issue Oct 20, 2023 · 1 comment
Open

Support missForest() imputation method #1247

joeycouse opened this issue Oct 20, 2023 · 1 comment

Comments

@joeycouse
Copy link

It would be really cool if recipes could support missing variable imputation with the missForest package

Good example here: https://rpubs.com/lmorgan95/MissForest#:~:text=MissForest%20is%20a%20random%20forest,then%20predicts%20the%20missing%20part.

On another note, I'm wondering if there would be value in a general step_impute() API with user supplied "method" e.g. mean, median, mode, knn, bag_tree, mice, linear, etc. Similar to how parsnip handles different engine arguments. Outside the scope of this issue but food for thought.

If you'd be interesting in a step_impute_missForest() function let me know and I can try to work on a PR. Thanks!

@EmilHvitfeldt
Copy link
Member

On another note, I'm wondering if there would be value in a general step_impute() API with user supplied "method" e.g. mean, median, mode, knn, bag_tree, mice, linear, etc. Similar to how parsnip handles different engine arguments. Outside the scope of this issue but food for thought.

I already have that idea listed here: EmilHvitfeldt/extrasteps#66 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants