Description Usage Arguments Value Examples
Returns a multiClassResultList with multi class classificaiton metrics.
1 | MultClassMetrics(Y, Y_hat, MetricsNames)
|
Y |
Ground truth numeric vector. |
Y_hat |
Predicted Labels numeric vector. |
MetricsNames |
Metrics names, avilable can be found with MultiClassMetricsNames() . |
A multiClassResultList with results
1 2 3 | Y = sample(x = c(1,2, 3), size = 20, replace = TRUE)
Y_hat = sample(x = c(1, 2, 3), size = 20, replace = TRUE)
MultClassMetrics(Y = Y, Y_hat = Y_hat, MetricsNames = MultiClassMetricsNames())
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.