Constructs a classifier for a multiblock bi-projector model that can generate predictions for new data points.
# S3 method for multiblock_biprojector
classifier(
x,
colind = NULL,
labels,
new_data = NULL,
block = NULL,
knn = 1,
...
)
A multiblock classifier object.
A fitted multiblock bi-projector model object.
An optional vector of column indices used for prediction (default: NULL).
A factor or vector of class labels for the training data.
An optional data matrix for which to generate predictions (default: NULL).
An optional block index for prediction (default: NULL).
The number of nearest neighbors to consider in the classifier (default: 1).
Additional arguments to be passed to the specific model implementation of classifier
.
Other classifier:
classifier.projector()