print.params: Print tuned method parameters

print.paramsR Documentation

Print tuned method parameters

Description

Prints the hyperparameters a method retained, or says that it has none.

Usage

## S3 method for class 'params'
print(x, ...)

Arguments

x

The parameters (object of class params-class, obtained by calling a classification method with tune = TRUE).

...

Other parameters.

See Also

params-class, performance

Examples

require (datasets)
data (iris)
# A small grid, so that the example stays fast; the defaults search a much larger one.
SVM (iris [, -5], iris [, 5], gamma = 2^(-2:0), cost = 2^(0:2), tune = TRUE)
# A method with nothing to tune says so.
NB (iris [, -5], iris [, 5], tune = TRUE)

fdm2id documentation built on Aug. 28, 2026, 9:07 a.m.