powered by
train
resampleHist(object, type = "density", ...)
trellis
histogram
densityplot
data(iris) TrainData <- iris[,1:4] TrainClasses <- iris[,5] knnFit <- train(TrainData, TrainClasses, "knn") resampleHist(knnFit)
Run the code above in your browser using DataLab