Crate classifier_measures [] [src]

Measure classifier's performance using Receiver Operating Characteristic (ROC) and Precision-Recall (PR) curves.

The curves themselves can be computed as well as trapezoidal areas under the curves.

Functions

pr

Computes a PR curve of a given classifier.

pr_auc

Computes the area under a PR curve of a given classifier.

pr_auc_mut

Computes the area under a PR curve of a given classifier sorting pairs in-place.

pr_mut

Computes a PR curve of a given classifier sorting pairs in-place.

roc

Computes a ROC curve of a given classifier.

roc_auc

Computes the area under a ROC curve of a given classifier.

roc_auc_mut

Computes the area under a ROC curve of a given classifier sorting pairs in-place.

roc_mut

Computes a ROC curve of a given classifier sorting pairs in-place.