roc_curve.default {iai} | R Documentation |
Construct an ROC curve from predicted probabilities and true labels
Description
Julia Equivalent:
IAI.ROCCurve
Usage
## Default S3 method:
roc_curve(obj, y, positive_label = stop("`positive_label` is required"), ...)
Arguments
obj |
The predicted probabilities for each point in the data. |
y |
The true labels of the data. |
positive_label |
The label for which probability is being predicted. |
... |
Additional arguments (unused) |
IAI Compatibility
Requires IAI version 2.0 or higher.
Examples
## Not run: iai::roc_curve(probs, y, positive_label=positive_label)
[Package iai version 1.10.1 Index]