Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug fix to handle final word in word level argmax #426

Merged
merged 8 commits into from
Nov 10, 2021

Conversation

lettergram
Copy link
Contributor

No description provided.

@lettergram lettergram added Bug Something isn't working Medium Priority Significant improvement or bug / feature reducing overall performance labels Oct 28, 2021
ksneab7
ksneab7 previously approved these changes Oct 28, 2021
@@ -825,8 +825,8 @@ def _word_level_argmax(self, data, predictions, label_mapping,
label_count = {label_mapping[default_label]: 0}
for idx in range(len(sample)):
Copy link

Choose a reason for hiding this comment

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

Would an enumerate not be cleaner?

Copy link
Contributor

Choose a reason for hiding this comment

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

agreed, but not going to block the PR if @lettergram doesn't get to it prior to merge

@JGSweets JGSweets merged commit ce509b5 into capitalone:main Nov 10, 2021
stevensecreti pushed a commit to stevensecreti/DataProfiler that referenced this pull request Jun 15, 2022
* Update CODEOWNERS

* Update data_processing.py

* Update data_processing.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Medium Priority Significant improvement or bug / feature reducing overall performance
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants