| Predictor | R Documentation |
This is the abstract superclass for predictor objects like PredictorMLR3 and PredictorCaret. A Predictor contains information about an ML model's prediction function and training data.
modelThe (trained) model, with the ability to predict on new data.
targetA character vector with the name of the target variable.
XA data.table with feature and target variables.
feature.namesA character vector with the names of the features in X.
feature.typesA character vector with the types (numerical or categorical) of the features in X.
new()Create a Predictor object
Predictor$new(...)
...Predictor cannot be initialized, only its subclasses
clone()The objects of this class are cloneable with this method.
Predictor$clone(deep = FALSE)
deepWhether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.