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

Fix slicing buckets in WIT #2704

Merged
merged 1 commit into from Sep 28, 2019
Merged

Conversation

jameswex
Copy link
Contributor

  • Motivation for features / changes

Slicing by numeric features didn't always give the right result.

  • Technical description of changes

If number of buckets >= number of unique values, don't do ranges, slice by unique values.
In this case, make sure to delete bucket range information.

  • Detailed steps to verify changes work correctly (as executed by you)

Test in demo crossing the unique value threshold in both directions.

@jameswex jameswex merged commit 1d49a25 into tensorflow:master Sep 28, 2019
@jameswex jameswex deleted the fix_buckets branch September 28, 2019 00:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants