print.train

0th

Percentile

Print Method for the train Class

Print the results of a train object.

Keywords
print
Usage
## S3 method for class 'train':
print(x, 
      digits = min(3, getOption("digits") - 3), 
      printCall = FALSE, 
      details = FALSE, 
      selectCol = FALSE,
      ...)
Details

The table of complexity parameters used, their resampled performance and a flag for which rows are optimal.

Value

  • A data frame with the complexity parameter(s) and performance (invisibly).

See Also

train

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

library(klaR)
rdaFit <- train(TrainData, TrainClasses, "rda",
   control = trainControl(method = "cv"))
print(rdaFit)
Documentation reproduced from package caret, version 5.07-001, License: GPL-2

Community examples

Looks like there are no examples yet.