classify: Classifier

View source: R/auxiliary_functions.R

classifyR Documentation

Classifier

Description

Function classifying an observation.

Usage

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

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.0').

b

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

Value

A vector of class predictions.


svilsen/RWNN documentation built on Feb. 23, 2025, 3:17 p.m.