Description Usage Arguments Value
This function allows to use a custom thresholding method to maximize the Maximum F1 Score (Precision with Sensitivity harmonic mean). A pair of values is returned.
1 | get.max_f1(preds, labels)
|
preds |
Type: numeric. The predictions. |
labels |
Type: numeric. The labels (0, 1). |
A two element vector containing the maximum Maximum F1 Score (Precision with Sensitivity harmonic mean) for binary data, and the threshold used.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.