Accuracy | R Documentation |
Accuracy is defined as the proportion of correct labels
Accuracy(y, yHat, dig = 8)
y |
vector of categorical/nominal values |
yHat |
prediction/estimate |
dig |
number of digits |
Accuracy defined as proportion of values equal to majority
Markus Loecher <Markus.Loecher@gmail.com>
Accuracy(c(rep(0,9),1), 1) Accuracy(c(rep(0,9),1), 0)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.