Skip to content

Add BinaryCalibrationError metric to Metrax. - #168

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

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

Conversation

@copybara-service

Copy link
Copy Markdown

Add BinaryCalibrationError metric to Metrax.

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

@copybara-service
copybara-service Bot force-pushed the test_1009280767 branch 3 times, most recently from b378430 to 7713b23 Compare November 20, 2026 18:43
Implements `BinaryCalibrationError` in `metrax.classification_metrics` and its NNX wrapper in `metrax.nnx`, following the TorchMetrics `BinaryCalibrationError` specification (`n_bins`, `norm` in `'l1'`, `'l2'`, `'max'`, and automatic sigmoid normalization for logits).

PiperOrigin-RevId: 1026595411
@copybara-service
copybara-service Bot merged commit 8b0c86b into main Nov 20, 2026
4 checks passed
@copybara-service
copybara-service Bot deleted the test_1009280767 branch November 20, 2026 18:49
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