torch¶
PyTorch implementation of Metrics.
Note
There is no TorchSingletonCredalSet or TorchDiscreteCredalSet in
probly.representation.credal_set.torch; for those semantics, use
the numpy-side ArraySingletonCredalSet / ArrayDiscreteCredalSet
types. The remaining torch credal sets (Convex, DistanceBased,
ProbabilityIntervals, DirichletLevelSet) all use the interval-dominance
rule via their lower() / upper() envelopes.
Functions¶
Compute area under a curve using the trapezoid rule. |
|
Compute average precision for PyTorch tensors. |
|
Compute precision-recall curve along the last axis. |
|
Compute area under the ROC curve for PyTorch tensors. |
|
Compute ROC curve along the last axis. |