predict.snnrce: Predictions of the SNNRCE method

Description Usage Arguments Details Value

View source: R/SNNRCE.R

Description

Predicts the label of instances according to the snnrce model.

Usage

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

Arguments

object

SNNRCE model built with the 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.

...

This parameter is included for compatibility reasons.

Details

For additional help see snnrce examples.

Value

Vector with the labels assigned.


mabelc/SSC documentation built on Dec. 27, 2019, 11:28 a.m.