Learn R Programming

RWNN (version 0.4)

classify: Classifier

Description

Function classifying an observation.

Usage

classify(y, C, t = NULL, b = NULL)

Value

A vector of class predictions.

Arguments

y

A matrix of predicted classes.

C

A vector of class names corresponding to the columns of y.

t

The decision threshold which the predictions have to exceed (defaults to '0').

b

A buffer which the largest prediction has to exceed when compared to the second largest prediction (defaults to '0').