-
Notifications
You must be signed in to change notification settings - Fork 53
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 StypeWiseFeatureEncoder
#16
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In general LGTM. Left some comments.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great. Love the einsum
usage on the Linear
layer part :)
Would personally prefer to rename Stype
back to lower-case, but this is certainly personal preference.
This PR adds
StypeWiseFeatureEncoder
that encode feature in stype-wise manner, e.g., useEmbeddingEncoder
for categorical stype, useLinearEncoder
for numerical stype etc.Somehow I screw up the commit. Not sure why
FT-Transformer
model is also included in this PR (col_stats
also includesFT-Transformer
PR, so really not sure what's happening here.)