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

Add entity percentages to unstructured labeler profile #305

Merged
merged 3 commits into from
Jul 6, 2021

Conversation

andrew-yin
Copy link
Contributor

Pretty simple and short PR because entity percentages are already calculated. This just adds it to the profile.

entity_percentages={
'postprocess_char_level': defaultdict(int, {'UNKNOWN': 1.0}),
'true_char_level': defaultdict(int, {'UNKNOWN': 1.0}),
'word_level': defaultdict(int)
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we add more entities to this test so that there are several values for each dict?

@JGSweets JGSweets enabled auto-merge (squash) July 6, 2021 17:09
@JGSweets JGSweets merged commit 897eac6 into capitalone:main Jul 6, 2021
stevensecreti pushed a commit to stevensecreti/DataProfiler that referenced this pull request Jun 15, 2022
* Add entity percentages to unstructured labeler profile

* Update tests

* Add detailed test for entity percentages
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.

4 participants