-
Notifications
You must be signed in to change notification settings - Fork 414
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
Factorization Machines Query #29
Comments
You can find the data format from Section 2 of libFM 1.4.2 manual. |
Thank you. yes, I did review the manual and was attempting to use the perl script for csv to libfm conversion I created a small csv file using 16 rows from movielens ratings dataset and the script produced ratings_small.csv.libfm. Output does not seem to match the input (or at-least I not able to interpret what the script did)
|
Please remove the first line in ratings_small.csv, and use the same command. You will get
In this case, |
Thank you very much. One more follow up question. Does this script also handle real valued features?
Output
|
I guess it doesn't support the real-valued features, so it will be better you write down your own transformation tool. If you have no idea how to handle it. Maybe you can try this python code: |
Thank you for the prompt response/clarification. Appreciate it. I will close this issue for now |
I have a very basic query; Is factorization machine designed to work only with binary fields? Do we need to one hot encode all features? How are real-valued featured handled?
Thank you!
The text was updated successfully, but these errors were encountered: