cvSettings-class: Class "cvSettings"

Description Objects from the Class Slots Extends Methods Author(s) References See Also Examples

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")

DMwR documentation built on May 1, 2019, 9:17 p.m.