Skip to content

Add MulticlassCalibrationError metric to Metrax. - #170

Merged
copybara-service[bot] merged 1 commit into
mainfrom
test_1009283984
Nov 20, 2026
Merged

copybara-service[bot] merged 1 commit into
mainfrom
test_1009283984

Conversation

@copybara-service

Copy link
Copy Markdown

Add MulticlassCalibrationError metric to Metrax.

Implements MulticlassCalibrationError in metrax.classification_metrics and its NNX wrapper in metrax.nnx, following the TorchMetrics MulticlassCalibrationError specification (n_bins, norm in 'l1', 'l2', 'max', and automatic softmax normalization for logits).

@copybara-service
copybara-service Bot force-pushed the test_1009283984 branch 3 times, most recently from 5348a84 to 0e1776f Compare November 20, 2026 23:16
Implements `MulticlassCalibrationError` in `metrax.classification_metrics` and its NNX wrapper in `metrax.nnx`, following the TorchMetrics `MulticlassCalibrationError` specification (`n_bins`, `norm` in `'l1'`, `'l2'`, `'max'`, and automatic softmax normalization for logits).

PiperOrigin-RevId: 1026792710
@copybara-service
copybara-service Bot merged commit fee58f4 into main Nov 20, 2026
4 checks passed
@copybara-service
copybara-service Bot deleted the test_1009283984 branch November 20, 2026 23:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant