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