LOOCV-class: Class "LOOCV"

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

Description

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

Objects from the Class

Objects can be created by calls of the form LOOCV(...) providing the values for the class slots. These objects contain infoprmation on the random number generator seed and also whether the execution of the experiments should be verbose.

Slots

seed:

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

dataSplits:

Object of class list containing the data splits to use on each repetition of a leave one out cross validation experiment (defaulting to NULL). This list should contain as many elements as there are cases in the task data set. Each element should be the row id of the test case of the respective iteration. On all these iterations the training set will be formed by the remaining ids.

Extends

Class EstCommon, directly. Class EstimationMethod, directly.

Methods

show

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

Author(s)

Luis Torgo ltorgo@dcc.fc.up.pt

References

Torgo, L. (2014) An Infra-Structure for Performance Estimation and Experimental Comparison of Predictive Models in R. arXiv:1412.0436 [cs.MS] http://arxiv.org/abs/1412.0436

See Also

MonteCarlo, CV, Bootstrap, Holdout, EstimationMethod, EstimationTask

Examples

1
2
3
4
showClass("LOOCV")

s <- LOOCV()
s

performanceEstimation documentation built on May 2, 2019, 6:01 a.m.