Description Usage Arguments Value See Also Examples
Find the threshold(s) for a given objective and a given metric.
1 | objective_threshold(data, metric, objective)
|
data |
A dataframe with the metrics computed for different thresholds. |
metric |
A string. The metric to consider. One of: "Accuracy", "Precision", "Recall", "Specificity", "NPV" or "F1". |
objective |
A numeric value. The objective to reach. |
A dataframe with the optimal threshold(s).
compute_predict_class
, compute_metrics
,
compute_optimal_threshold
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.