-
Notifications
You must be signed in to change notification settings - Fork 3k
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
DF2LibFFM #605
DF2LibFFM #605
Conversation
@yexing99 this is complementary to your ongoing work for the libffm converter. As discussed offline, personally I think it might make sense to decouple a generic converter with the data-specific wrapper for "Single Responsibility" reason. NOTE I did not branch the PR from yours. Instead, I did it from |
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.
LGTM
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.
this will be handy! some questions and suggestions though
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.
Nice to have this util! Have few comments along with some likes to other reviewers' comment!
Especially, take a look at creating the string-feature dictionary part. Regarding this, I think you should also include the test case where some samples have the same string features. Currently all the features are unique across the samples.
Talked with @yexing99 and base the PR on the |
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.
As requested by @yueguoguo, stopping this for merging while we are merging staging to master #623
Description
A generic function that converts Pandas DataFrame to LibFFM format.
Related Issues
#604
Checklist: