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

Small error in code for Chapter 6.4 #189

Open
marcelbaumgartner opened this issue Sep 24, 2024 · 0 comments
Open

Small error in code for Chapter 6.4 #189

marcelbaumgartner opened this issue Sep 24, 2024 · 0 comments

Comments

@marcelbaumgartner
Copy link

Hello, I am using your amazing book for my teaching. Using R 4.4.1 and the latest library, I had to replace this code list(snowball = snowball_rs, smart = smart_rs, stopwords-iso = stopwords_iso_rs) %>% map_dfr(show_best, "rmse", .id = "name") %>%

by

list(snowball = snowball_rs, smart = smart_rs, stopwords-iso = stopwords_iso_rs) %>% map_dfr(show_best, metric = "rmse", .id = "name") %>%

The function map_dfr now needs clarification regarding the metric used in show_best().

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