Learn R Programming

ssc (version 1.0)

predict.snnrce: Model Predictions

Description

Predicts the label of instances according to SNNRCE model.

Usage

"predict"(object, x, ...)

Arguments

object
SNNRCE model object built with snnrce function.
x
A object that can be coerced as matrix. Depending on how was the model built, x is interpreted as a matrix with the distances between the unseen instances and the selected training instances, or a matrix of instances.
...
Additional objects that can be coerced as matrix. Depending on how was the model built, this objects are used or ignored. This objects are interpreted as matrices of distances between the unseen instances and the selected training instances.

Value

Vector with labels of instances.

Details

For additional help see snnrce examples.