APM_Exercises
APM_Exercises copied to clipboard
Exercises for the book Applied Predictive Modeling by Kuhn and Johnson (2013)
what is the meaning of rule 3? https://cran.r-project.org/web/packages/C50/Rule 3vignettes/C5.0.html  Where does it come from? the tree model of the same data is 
Just wondering whether the cost function on page 457 should read: if(any(pred == "VF" & obs == "L")) cost[pred == "VF" & obs == "L"]
This relates to figures 6.15 and 6.17 in the book which I have been unable to recreate. Would be great if the exercises showed how to create this. Thanks!.
https://topepo.github.io/caret/model-training-and-tuning.html#basic-parameter-tuning For a gradient boosting machine (GBM) model, there are three main tuning parameters: - ... - the minimum number of training set samples in a node to commence splitting...
> nbTraining
plot(nnetRoc, type = "s", add = TRUE, col = rgb(.2, .2, .2, .2), legacy.axes = TRUE) Error in plot.xy(xy.coords(x, y), type = type, ...) : plot.new has not been called...
hello @topepo topepo and the team. Just bought that wonderful book! I am just wondering, where are the solutions of the other exercises? say chapter 14 for instance? is there...
Hi, Notice that in Exercise 4, we have ``` > sampNum [1] 58 ``` However, the length of vectors created by `createDataPartition` does not equal to `sampNum`. ``` > length(oilSplits2$Resample01)...
Thanks for the great book on Applied Predictive Modeling. I am learning a lot reading and working through it. I am not sure if this is the right place to...