Predicts the label of instances according to the setred
model.
# S3 method for setred
predict(object, x, ...)
SETRED model built with the setred
function.
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.
This parameter is included for compatibility reasons.
Vector with the labels assigned.
For additional help see setred
examples.