| get_roc_curve_data {iai} | R Documentation |
Extract the underlying data from an ROC curve
Description
ROC curves are returned by roc_curve, e.g.
roc_curve.classification_learner
Usage
get_roc_curve_data(curve)
Arguments
curve |
The curve to query. |
Details
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).
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)
[Package iai version 1.10.1 Index]