Description Usage Arguments Value Examples
Returns a binaryResultList with binary classificaiton metrics.
1 | BinClassMetrics(Y, Y_hat, MetricsNames = BinClassMetricsNames())
|
Y |
Ground truth numeric vector. |
Y_hat |
Predicted Labels numeric vector. |
MetricsNames |
can be found at BinClassMetricsNames() |
A binaryResultList with results
1 2 3 | Y = sample(x = c(1,2), size = 10, replace = TRUE)
Y_hat = sample(x = c(1,2), size = 10, replace = TRUE)
BinClassMetrics(Y = Y, Y_hat = Y_hat, MetricsNames = BinClassMetricsNames())
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.