resampleHist

0th

Percentile

Plot the resampling distribution of the model statistics

Create a lattice histogram or densityplot from the resampled outcomes from a train object.

Keywords
hplot
Usage
resampleHist(object, type = "density", ...)
Arguments
object
an object resulting form a call to train
type
a character string. Either "hist" or "density"
...
options to pass to histogram or densityplot
Details

All the metrics from the object are plotted.

Value

  • a object of class trellis

See Also

train, histogram, densityplot

Aliases
  • resampleHist
Examples
data(iris)
TrainData <- iris[,1:4]
TrainClasses <- iris[,5]

knnFit <- train(TrainData, TrainClasses, "knn")

resampleHist(knnFit)
Documentation reproduced from package caret, version 3.08, License: GPL-2

Community examples

Looks like there are no examples yet.