| metric_accuracy | R Documentation |
Creates an accuracy metric object for classification tasks.
metric_accuracy()
An object of class "met_metric".
metric <- metric_accuracy()
metric$fn(c(0, 1, 1), c(0, 1, 0))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.