numpy¶
NumPy implementation of Metrics.
Functions¶
Compute top-1 classification accuracy for NumPy arrays. |
|
Compute area under a curve using the trapezoid rule. |
|
Compute average precision for NumPy arrays. |
|
Compute accuracy for a categorical distribution via its class probabilities. |
|
Compute the classwise ECE for a categorical distribution via its class probabilities. |
|
Compute the confidence ECE for a categorical distribution via its class probabilities. |
|
Compute the classwise expected calibration error for NumPy arrays. |
|
Compute the confidence expected calibration error for NumPy arrays. |
|
Compute the false negative rate for NumPy arrays. |
|
Compute the false positive rate for NumPy arrays. |
|
Compute precision-recall curve along the last axis. |
|
Compute area under the ROC curve for NumPy arrays. |
|
Compute ROC curve along the last axis. |