predict.class_model_fit | R Documentation |
This function predicts class labels and probabilities for new data using a fitted model.
## S3 method for class 'class_model_fit'
predict(object, newdata, sub_indices = NULL, ...)
object |
A fitted model object of class |
newdata |
New data to predict on, either as a |
sub_indices |
The subset of row indices to compute predictions on (optional). |
... |
Additional arguments to be passed to the underlying prediction function. |
A list containing class predictions and probabilities with class attributes "classification_prediction", "prediction", and "list".
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.