Makes predictions on new data using the trained model.
# S3 method for fastml_model
predict(object, newdata, type = "auto", ...)
A vector or data frame of predictions.
An object of class fastml_model
.
A data frame containing new data for prediction.
Type of prediction. Default is "auto"
, which returns class labels for classification and numeric predictions for regression.
Other options include "prob"
for class probabilities (classification only).
Additional arguments (not used).