Class "hldSettings"

Share:

Description

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

Objects from the Class

Objects can be created by calls of the form hldSettings(...). The objects contain information on the number of repetitions of the hold out experiment, the percentage of the given data to set as hold out test set, the random number generator seed and information on whether stratified sampling should be used.

Slots

hldReps:

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

hldSz:

Object of class "numeric" with the percentage (a number between 0 and 1) of cases to use as hold out (defaulting to 0.3).

hldSeed:

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 stratefied (defaulting to F).

Extends

Class "expSettings", directly.

Methods

show

signature(object = "hldSettings"): method used to show the contents of a hldSettings 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

hldRun, mcSettings, loocvSettings, cvSettings,bootSettings, expSettings

Examples

1
showClass("hldSettings")

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