Description Usage Arguments Value Author(s) See Also
For a given observation and prediction this function computes the accuracy of the prediction.
1 | accuracy.me(obs, predict, thres = 0.5)
|
obs |
The observations |
predict |
The predictions for the observations |
thres |
A threshold up to which a prediction is class 0 or 1. A value from 0 to 1. |
Returns a 1 x 3 matrix with the percentage of observations with class zero, with class one and last the accuracy of the prediction.
Georg Steinbuss
confusion
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.