Print Method for the train Class
Print the results of a
## S3 method for class 'train': print(x, printCall = FALSE, details = FALSE, selectCol = FALSE, ...)
- an object of class
- a logical to print the call at the top of the output
- a logical to show print or summary methods for the
final model. In some cases (such as
lvq, naive Bayes and bagged tree models), no information will be printed even if
details = TRUE
- a logical to a column with a star next to the final model
- options passed to
The table of complexity parameters used, their resampled performance and a flag for which rows are optimal.
- A data frame with the complexity parameter(s) and performance (invisibly).
data(iris) TrainData <- iris[,1:4] TrainClasses <- iris[,5] library(klaR) rdaFit <- train(TrainData, TrainClasses, method = "rda", control = trainControl(method = "cv")) print(rdaFit)
Looks like there are no examples yet.