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

what does the <bucket_size> param used for in feature_column.py? #46

Open
pengyuan opened this issue Jan 4, 2021 · 1 comment
Open
Labels
question Further information is requested

Comments

@pengyuan
Copy link

pengyuan commented Jan 4, 2021

https://github.com/Qihoo360/tensornet/blob/master/tensornet/feature_column/category_column.py
what does the <bucket_size> param used for in feature_column.py?

i cannot find any hash function or other usage...

  1. category_column only accept slot/int/ID features
  2. or support string categorical feature to be hashed by bucket_size?
@pengyuan pengyuan changed the title what does the <bucket_size> param in feature_column.py use for? what does the <bucket_size> param used for in feature_column.py? Jan 4, 2021
@zhangys-lucky zhangys-lucky added the question Further information is requested label Jan 4, 2021
@zhangys-lucky
Copy link
Collaborator

please convert all features into uint64 first, you can choose hash function like murmurhash do that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants