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

step_<xxx>impute are deprecated #68

Open
guidothekp opened this issue Apr 7, 2023 · 0 comments
Open

step_<xxx>impute are deprecated #68

guidothekp opened this issue Apr 7, 2023 · 0 comments

Comments

@guidothekp
Copy link

guidothekp commented Apr 7, 2023

In section 3.3.2.1, titled "Estimated statistic", the following code blocks result in errors:

  1. step_medianimpute:
ames_recipe %>% step_medianimpute(Gr_Liv_Area)
Error:
! `step_medianimpute()` was deprecated in recipes 0.1.16 and is now
  defunct.
ℹ Please use `step_impute_median()` instead.

  1. step_modeimpute:
ames_recipe %>% step_modeimpute(Pool_QC)
Error:
! `step_modeimpute()` was deprecated in recipes 0.1.16 and is now
  defunct.
ℹ Please use `step_impute_mode()` instead.
  1. step_knnimpute:
ames_recipe %>% step_knnimpute(all_predictors(), neighbors = 6)
Error:
! `step_knnimpute()` was deprecated in recipes 0.1.16 and is now
  defunct.
ℹ Please use `step_impute_knn()` instead.
@guidothekp guidothekp changed the title step_medianimpute is deprecated step_<xxx>impute are deprecated Apr 7, 2023
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

1 participant