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

get_roc_curve_data

Extract the underlying data from an ROC curve (as returned by roc_curve)


Description

The data is returned as a list with two keys: auc giving the area-under-the-curve, and coords containing a vector of lists representing each point on the curve, each with keys fpr (the false positive rate), tpr (the true positive rate) and threshold (the threshold).

Usage

get_roc_curve_data(curve)

Arguments

curve

The curve to query.

Details

Julia Equivalent: IAI.get_roc_curve_data

IAI Compatibility

Requires IAI version 2.1 or higher.

Examples

## Not run: iai::get_roc_curve_data(curve)

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.