Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@bilalaws
Copy link
Contributor

Description of changes:
Prior to this PR, we strip the text when computing f1_score but not when computing precision and recall. This PR makes the stripping functionality uniform across all three metrics.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

franluca
franluca previously approved these changes Jan 17, 2024
polaschwoebel
polaschwoebel previously approved these changes Jan 17, 2024
Copy link
Contributor

@polaschwoebel polaschwoebel left a comment

Choose a reason for hiding this comment

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

Approved for now, we need to refactor this later to not have repetition of the strip and normalize code for every single evaluation.

@bilalaws bilalaws dismissed stale reviews from polaschwoebel and franluca via adcf661 January 17, 2024 14:20
@bilalaws bilalaws merged commit 460f398 into aws:main Jan 17, 2024
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.

3 participants