TestData | R Documentation |
This class implements TestData object to be predicted. A TestData object can only exist as a component of a TestLayer or a TestMetaLayer object.
fuseMLR::Data
-> TestData
new()
Initialize a new object from the current class.
TestData$new(id, data_frame, new_layer)
id
character
Object ID.
data_frame
data.frame
data.frame
containing data.
new_layer
TestLayer
Layer where to store the current object.
ind_col
character
Column name containing individual IDs.
print()
Printer
TestData$print(...)
...
any
getData()
Getter of the current data.frame
wihtout individual
ID variable.
TestData$getData()
The data.frame
without individual ID nor target variables is returned.
getTestLayer()
Getter of the current layer.
TestData$getTestLayer()
The layer (from class TestLayer) on which the current train data are stored is returned.
clone()
The objects of this class are cloneable with this method.
TestData$clone(deep = FALSE)
deep
Whether to make a deep clone.
TrainData
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.