Description Usage Arguments Value See Also Examples
View source: R/classification.R
Calculate the number of the false positives.
1 | false_positive(y_true, y_pred)
|
y_true |
Ground truth (correct) target values. |
y_pred |
Estimated target values. |
A numeric vector of length one.
Other classification metrics: accuracy_score,
accuracy, condition_negative,
condition_positive,
diagnostic_odds_ratio,
f1_score,
false_discovery_rate,
false_negative_rate,
false_negative,
false_omission_rate,
false_positive_rate,
matthews_corrcoef,
negative_likelihood_ratio,
negative_predictive_value,
positive_likelihood_ratio,
positive_predictive_value,
precision,
predicted_condition_negative,
predicted_condition_positive,
prevalence, recall,
sensitivity, specificity,
total_population,
true_negative_rate,
true_negative,
true_positive_rate,
true_positive
1 | false_positive(c(1, 1, 0, 0), c(1, 0, 1, 0))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.