Rdocumentation
powered by
Learn R Programming
Laurae (version 0.0.0.9001)
plotting.max_specificity: Maximum Specificity (True Negative Rate) plotting
Description
This function allows to use a custom thresholding method to maximize the Specificity (True Negative Rate). A data.table of values is returned.
Usage
plotting.max_specificity(preds, labels, plots = TRUE, ...)
Arguments
preds
Type: numeric. The predictions.
labels
Type: numeric. The labels (0, 1).
plots
Type: numeric. Whether to plot the data immediately or not.
...
Other arguments to pass to
plot
.
Value
A data.table containing the probabilities and their Specificity (True Negative Rate).