Description Usage Arguments Details Value See Also Examples
Returns the best threshold rule based on true positive rate, where the rule has a false positive rate not exceeding a user specified maximum.
1 | max_fp_threshold(x, group, pos_class, max_fp = 0.05)
|
x |
a numeric predictor. |
group |
binary grouping variable. |
pos_class |
group level for positive class. |
max_fp |
maximum false positive rate. Defaults to 0.05. |
Output quantities for false positive, true positive, and misclassification are percentages.
FP
false positive percentage.
TP
true positive percentage.
Misclass
misclassification percentage.
Direction
text summarizing threshold rule.
accuracy_threshold
, score_threshold
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.