jax¶
JAX implementation of Metrics.
Note
There is no JaxSingletonCredalSet or JaxDiscreteCredalSet in
probly.representation.credal_set.jax; for those semantics, use the
numpy-side NumpySingletonCredalSet / NumpyDiscreteCredalSet types.
The remaining jax credal sets (Convex, DistanceBased, ProbabilityIntervals,
DirichletLevelSet) all use the interval-dominance rule via their
lower() / upper() envelopes.
Functions¶
Compute top-1 classification accuracy for JAX arrays. |
|
Compute area under a curve using the trapezoid rule. |
|
Compute average precision for JAX arrays. |
|
Compute the classwise expected calibration error for JAX arrays. |
|
Compute the confidence expected calibration error for JAX arrays. |
|
Compute the false negative rate for JAX arrays. |
|
Compute the false positive rate for JAX arrays. |
|
Compute precision-recall curve along the last axis. |
|
Compute area under the ROC curve for JAX arrays. |
|
Compute ROC curve along the last axis. |