homlr icon indicating copy to clipboard operation
homlr copied to clipboard

Supplementary material for Hands-On Machine Learning with R, an applied book covering the fundamentals of machine learning with R.

Results 42 homlr issues
Sort by recently updated
recently updated
newest added

The following code: ``` set.seed(123) fviz_nbclust( ames_1hot_scaled, kmeans, method = "wss", k.max = 25, verbose = FALSE ) ``` Returns: `Error in do_one(nmeth) : NA/NaN/Inf in foreign function call (arg...

at this page, when run the follwoing code `` it return `2930 241` not as the book `` and when run the code ``` set.seed(123) fviz_nbclust( ames_1hot_scaled, kmeans, method =...

The following code:isn't running- # How many PCs required to explain at least 75% of total variability min(which(ve$CVE >= 0.75)) ## [1] 27 Might be an issue with variable 've'...

Dear authors, Thanks a lot for this amazing book which helped me a lot to start learning Machine Learning with R. I am not sure if I am right or...

https://bradleyboehmke.github.io/HOML/random-forest.html what is the meaning of "respect.unordered.factors = "order"? ![image](https://user-images.githubusercontent.com/5112397/143195046-e430d678-c466-4948-aaec-1271239ba726.png)

Issue relates to printed book and electronic version 2020-02-01 Section 16.8.1, Algorithm 7: https://bradleyboehmke.github.io/HOML/iml.html#shapley-values ``` | b1 = x, but all the features in perm that appear after | feature...

../homlr/notebooks/08-knn.nb.html Header Measuring similarity Figure 8.1 Issue: The `index` selects `k-1` for any observation that the ID is >`home`. Using `index` to define `knn_homes` from `ames_train` the correct items are...

I attempted to use the read_mnist() function from dslabs and it returned this error: ``` Error in readBin(conn, "integer", n = prod(dim), size = 1, signed = FALSE) : cannot...

This line of code: `df % mutate_if(is.ordered, factor, ordered = FALSE)` no longer works because the `attrition` dataset has been moved to the `modeldata` package. Add `data("attrition")` before that line...

The code for Figure 4.4 no longer works because `broom::augment` does not add a `.resid` variable. If `.resid` is replaced with `.std.resid` the figure is produced.