Description Usage Arguments Examples
This function takes predicted probabilities (for out of bag cases) obtained through logistic regression-based tree models and converts them into binary classes (based on specified probability threshold). The predicted classifications are then compared to actual binary response.
1 | logistic.acc(response, predicted, prob_thresh = 0.5)
|
response |
A vector of binary classes of out-of-cases for a given tree. |
predicted |
A vector of predicted probabilities of out-of-cases using same tree. |
prob_thresh |
Probability threshold for classification (default = .5). |
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.