classifier: Construct a Classifier

View source: R/all_generic.R

classifierR Documentation

Construct a Classifier

Description

Create a classifier from a given model object (e.g., projector). This classifier can generate predictions for new data points.

Usage

classifier(x, colind, ...)

Arguments

x

A model object, such as a projector, that has been fit to a training dataset.

colind

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.

Value

A classifier function that can be used to make predictions on new data points.


bbuchsbaum/multivarious documentation built on April 15, 2024, 3:33 a.m.