mcSettings-class: Class "mcSettings"

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

Description

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

Objects from the Class

Objects can be created by calls of the form mcSettings(...). These objects contain information on the number of repetitions of the experiments, the data used for training the models on each repetition, the data used for testing these models, and the random number generator seed.

Slots

mcReps:

Object of class "numeric" indicating the number of repetitions of the monte carlo experiment (defaulting to 10).

mcTrain:

Object of class "numeric". If it is a value between 0 and 1 it is interpreted as a percentage of the available data set, otherwise it is interpreted as the number of cases to use. It defaults to 0.25.

mcTest:

Object of class "numeric" If it is a value between 0 and 1 it is interpreted as a percentage of the available data set, otherwise it is interpreted as the number of cases to use. It defaults to 0.25.

mcSeed:

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

Extends

Class "expSettings", directly.

Methods

show

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

mcRun, cvSettings, loocvSettings, hldSettings,bootSettings, expSettings

Examples

1
showClass("mcSettings")

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