classifier.multiblock_biprojector: Multiblock Bi-Projector Classifier

View source: R/classifier.R

classifier.multiblock_biprojectorR Documentation

Multiblock Bi-Projector Classifier

Description

Constructs a classifier for a multiblock bi-projector model that can generate predictions for new data points.

Usage

## S3 method for class 'multiblock_biprojector'
classifier(
  x,
  colind = NULL,
  labels,
  new_data = NULL,
  block = NULL,
  knn = 1,
  ...
)

Arguments

x

A fitted multiblock bi-projector model object.

colind

An optional vector of column indices used for prediction (default: NULL).

labels

A factor or vector of class labels for the training data.

new_data

An optional data matrix for which to generate predictions (default: NULL).

block

An optional block index for prediction (default: NULL).

knn

The number of nearest neighbors to consider in the classifier (default: 1).

...

Additional arguments to be passed to the specific model implementation of classifier.

Value

A multiblock classifier object.

See Also

Other classifier: classifier.projector()


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