Learn R Programming

TDMR (version 2.2)

dsetTrnVa.TDMdata: Return train-validation data of TDMdata object

Description

Return the train-validation part of a TDMdata object containing the task data.

Usage

# S3 method for TDMdata
dsetTrnVa(x, ...)

Arguments

x

return value from a prior call to tdmReadAndSplit, an object of class TDMdata.

...

may contain nExp, experiment number, needed only if x$tdm$umode=="SP_T": add nExp to seed when randomly splitting in train and test data [default: nExp=0]

Value

dset, a data frame with all train-validation records

See Also

dsetTest.TDMdata tdmReadAndSplit