predict.coBC: Predictions of the coBC method

Description Usage Arguments Details Value

View source: R/CoBC.R

Description

Predicts the label of instances according to the coBC model.

Usage

1
2
## S3 method for class 'coBC'
predict(object, x, ...)

Arguments

object

coBC model built with the coBC function.

x

An object that can be coerced to a matrix. Depending on how the model was built, x is interpreted as a matrix with the distances between the unseen instances and the selected training instances, or a matrix of instances.

...

This parameter is included for compatibility reasons.

Details

For additional help see coBC examples.

Value

Vector with the labels assigned.


SSLR documentation built on July 22, 2021, 9:08 a.m.