Class "cvSettings"

Share:

Description

This class of objects contains the information describing a cross validation experiment, i.e. its settings.

Objects from the Class

Objects can be created by calls of the form cvSettings(...). These objects include information on the number of repetitions of the experiment, the number of folds, the random number generator seed and whether the sampling should or not be stratefied.

Slots

cvReps:

Object of class "numeric" indicating the number of repetitions of the N folds CV experiment (defaulting to 1).

cvFolds:

Object of class "numeric" with the number of folds on each CV experiment (defaulting to 10).

cvSeed:

Object of class "numeric" with the random number generator seed (defaulting to 1234).

strat:

Object of class "logical" indicating whether the sampling should or not be stratified (defaulting to F).

Extends

Class "expSettings", directly.

Methods

show

signature(object = "cvSettings"): method used to show the contents of a cvSettings object.

Author(s)

Luis Torgo ltorgo@dcc.fc.up.pt

References

Torgo, L. (2010) Data Mining using R: learning with case studies, CRC Press (ISBN: 9781439810187). http://www.dcc.fc.up.pt/~ltorgo/DataMiningWithR

See Also

cvRun, mcSettings, loocvSettings, hldSettings,bootSettings, expSettings

Examples

1
showClass("cvSettings")

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.