Description Usage Arguments Value See Also Examples
Plot the selected metrics.
1 2 | draw_metrics(data, metric = c("Accuracy", "Precision", "Recall",
"Specificity", "NPV", "F1"), threshold = "threshold")
|
data |
A dataframe or a list of dataframes with the metrics computed. |
metric |
A string or a vector of string. The metric(s) to plot. |
threshold |
A string (default = "threshold"). The column's name of the threshold. |
A ggplot2 object.
compute_predict_class
, compute_metrics
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.