Description Usage Arguments Value Author(s) Examples
mtr_ar
1 2 3 4 5 | mtr_ar(actual, predicted)
mtr_accuracy_ratio(actual, predicted)
mtr_gini_coef(actual, predicted)
|
actual |
|
predicted |
|
A numeric scalar output
An Chu
1 2 3 4 5 | set.seed(101)
pred <- runif(1000)
act <- round(pred)
pred[sample(1000, 500)] <- runif(500) # noise
mtr_accuracy_ratio(act, pred)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.