View source: R/auxiliary_functions.R
classify | R Documentation |
Function classifying an observation.
classify(y, C, t = 0, b = 0)
y |
A matrix of predicted classes. |
C |
A vector of class names corresponding to the columns of |
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'). |
A vector of class predictions.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.