
Last chance! 50% off unlimited learning
Sale ends in
pamFit <- train(Species ~ .,
data = iris,
"pam",
tuneLength = 15)
plot(pamFit, scales = list(x = list(rot = 90)))
library(klaR)
rdaFit <- train(Species ~ .,
data = iris,
"rda",
control = trainControl(method = "cv"))
plot(rdaFit, plotType = "line")
plot(rdaFit, plotType = "level")
Run the code above in your browser using DataLab