Learn R Programming

fdm2id (version 0.9.9)

dataset-class: Training set and test set

Description

This class contains a dataset divided into four parts: the training set and test set, description and class labels.

Arguments

Slots

train.x

the training set (description), as a data.frame or a matrix.

train.y

the training set (target), as a vector or a factor.

test.x

the training set (description), as a data.frame or a matrix.

test.y

the training set (target), as a vector or a factor.

See Also

splitdata