Create a classifier from a given model object (e.g., projector
). This classifier can generate predictions for new data points.
classifier(x, colind, ...)
A classifier function that can be used to make predictions on new data points.
A model object, such as a projector
, that has been fit to a training dataset.
Optional vector of column indices used for prediction. If not provided, all columns will be used.
Additional arguments to be passed to the specific model implementation of classifier
.