Description Usage Arguments Value Examples
Given a set of true values and their corresponding fitted probabilities, the function calculates the accuracy of the model defined by: 1- #wrong prediction/# of observations
1 |
p |
Vector of fitted probabilities for each Y. |
verb |
short for verbose, if TRUE, prints aditional information (logical) |
The accuracy of the model, given the fitted probabilities and new data
1 | (new_Y, fitted_probs_for_data)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.