Description Usage Arguments Value Examples
View source: R/Classification.R
Compute the F1 Score of multi-class problem using the "macro" average. details: https://sebastianraschka.com/faq/docs/multiclass-metric.html
1 | F1_Score_macro_weighted(y_true, y_pred, labels = NULL)
|
y_true |
Ground truth (correct) labels vector |
y_pred |
Predicted labels vector, as returned by a classifier |
labels |
An optional vector containing the list of the existent (unique) labels. |
F1 Score (macro weighted average)
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.