powered by
train
resampleHist(object, type = "density", ...)
trellis
histogram.train
densityplot.train
xyplot.train
stripplot.train
For the the plot to be made, the returnResamp argument in trainControl should be either "final" or "all".
returnResamp
trainControl
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