Description Usage Arguments Value Examples
View source: R/Classification.R
Compute the precision score of multi-class problem using the "macro" formula but weighted averaged, similarly to Weka. details: https://sebastianraschka.com/faq/docs/multiclass-metric.html
| 1 | Precision_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. | 
Precision (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.