Skip to content

Conversation

@Rushi1696
Copy link

What does this PR do?

Adds explicit input validation for predictions and references in the accuracy metric.

Why?

This improves robustness by providing clearer error messages and preventing unexpected behavior when inputs are invalid.

Tests

No new tests added. Existing tests cover expected behavior.

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