Metrics (rojak.turbulence.metrics)#

Functions

area_under_curve(x_values, y_values)

Area under the curve

binary_classification_curve(sorted_truth, ...)

Binary classification curve

binary_classification_rate_from_cumsum(...)

Binary classification curve with cumulative sum on labels

received_operating_characteristic(...[, ...])

Received operating characteristic or ROC curve

true_skill_score(roc_curve)

True Skill Score (TSS) statistic

Classes

BinaryClassificationRateFromLabels(...)

Create new instance of BinaryClassificationRateFromLabels(true_positives_rate, false_positives_rate)

BinaryClassificationResult(false_positives, ...)

Create new instance of BinaryClassificationResult(false_positives, true_positives, thresholds)