Description Usage Arguments Value Author(s) See Also Examples
A function to calculate the apparent error rate of two classification vectors, i.e., the proportion of observed cases incorrectly predicted. It can be useful for evaluating discriminant analysis or other classification systems.
aer = \frac{1}{n} ∑_{i=1}^{n} I(y_i \neq \hat{y}_i)
1 |
obs |
a vector containing the observed classes. |
predict |
a vector with the same length of |
The apparent error rate, a number between 0 (no agreement) and 1 (thorough agreement).
Anderson Rodrigo da Silva <anderson.agro@hotmail.com>
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.