koalaverse / homlr

Supplementary material for Hands-On Machine Learning with R, an applied book covering the fundamentals of machine learning with R.
https://koalaverse.github.io/homlr
Creative Commons Attribution Share Alike 4.0 International
229 stars 88 forks source link

the code at the page 411 cannot run #59

Open panjunchang opened 2 years ago

panjunchang commented 2 years ago

at this page, when run the follwoing code <dim(ames_1hot_scaled)> it return
2930 241 not as the book <2930 240>

and when run the code

set.seed(123)
fviz_nbclust(
ames_1hot_scaled,
kmeans,
method = ”wss”,
k.max = 25,
verbose = FALSE
)

it return Error in do_one(nmeth)

Thank you for giving us feedback on the book! To help us as much as possible please follow these guidelines depending on the type of issue you are submitting and be sure to state the version of the book by referencing the date on the book's first page (under the title and authors).