Description Usage Arguments Value Author(s)
Calculates the confussion matrix
1 | getConfusion(score, response, 0.5)
|
score |
prediction scores or probabilities to evaluate. |
response |
Boolean vector of real values. |
asMatric |
Should the function return a matrix object? otherwise will be a dataframe. |
unbral |
should confussion matrix be retourned as percentages. |
RReturns the conffusin matrix
Daniel Fischer
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.