Description Usage Arguments Value Examples
Compute predictive accuracy of response variable with binary outcome. The function takes observed and predicted binary responses as input and computes proportion of observations classified in same group.
1 | compute.acc(response, predictions, prob_cutoff = 0.5)
|
response |
A vector of binary outcome. |
predictions |
A matrix of predicted probabilities (logit model) for out-of-bag observations for each tree. |
prob_cutoff |
The threshold for predicting 1's & 0's. |
Predictive accuracy estimate ranging between 0 and 1.
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.