Skip to content

Conversation

@angelsevillamol
Copy link
Collaborator

What does this implement/fix? Explain your changes

Fix shape mismatch and division errors in AMAE and MMAE when y_true lacks one or more classes. Ensures confusion matrix and cost matrix remain aligned.

@angelsevillamol angelsevillamol requested a review from dguijo July 9, 2025 10:17
@angelsevillamol angelsevillamol added bug Something isn't working module:metrics labels Jul 9, 2025
Copy link
Member

@dguijo dguijo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@dguijo dguijo merged commit ceb47e1 into main Jul 9, 2025
9 checks passed
@angelsevillamol angelsevillamol deleted the bug-missing-classes branch July 9, 2025 10:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working module:metrics

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants