Learn R Programming

ssc (version 1.0)

predict.setred: Model Predictions

Description

Predicts the label of instances according to SETRED model.

Usage

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

Arguments

object
SETRED model object built with setred 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 setred examples.