Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

roc_curve.default

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)

iai

Interface to 'Interpretable AI' Modules

v1.5.0
MIT + file LICENSE
Authors
Jack Dunn [aut, cre], Ying Zhuo [aut], Interpretable AI LLC [cph]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.