Skip to content

Conversation

@copybara-service
Copy link

[MetraxAudit] Audit fixes for FBetaScore and Dice metrics.

Classification Metrics:

  • Fix NameError in FBetaScore.compute() (beta -> self.beta).
  • Improve numerical stability in FBetaScore using divide_no_nan.

Image Metrics:

  • Improve numerical stability in Dice metric using divide_no_nan.
  • Update tests to reflect stability improvements.

@copybara-service copybara-service bot force-pushed the test_864705338 branch 3 times, most recently from 358d898 to 4d2bbe7 Compare February 3, 2026 19:36
Classification Metrics:
- Fix NameError in FBetaScore.compute() (beta -> self.beta).
- Improve numerical stability in FBetaScore using divide_no_nan.

Image Metrics:
- Improve numerical stability in Dice metric using divide_no_nan.
- Update tests to reflect stability improvements.

PiperOrigin-RevId: 864974700
@copybara-service copybara-service bot merged commit 862d090 into main Feb 3, 2026
@copybara-service copybara-service bot deleted the test_864705338 branch February 3, 2026 19:41
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