Learn R Programming

iai (version 1.4.0)

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.

IAI Compatibility

Requires IAI version 2.1 or higher.

Details

Julia Equivalent: IAI.get_roc_curve_data

Examples

Run this code
# NOT RUN {
iai::get_roc_curve_data(curve)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab