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
Inference at test time? #5
Comments
So you are considering a pure matrix factorization (i.e., only features are user id and item ids) model, right? |
Thanks for getting back to me! Yes, pure matrix factorization model. No reason right now, but yes I am worried that it may be expensive to train a new model every time I want to give a new recommendation but I guess that is necessary. Just to recap, I have n items and m < n ratings. I should pass in a table like this:
Where I have n-m rows for all unrated items (obviously they wont all be in order) |
Thank you for clarifying the setting! For refefence, in a recent article (though it is for implicit-feedback setting) https://arxiv.org/abs/1911.07698 , |
How should the FM be used to make predictions? For example, say I train this model on 1000 user movie pairs. I want to make a prediction for an unseen user, which is a vector where the values are predicted ratings for all possible movies. However, in the examples it looks like the same users get used for training and testing. ie. for user A the model trains on 80% of the known movie ratings and then tries to predict the remaining 20%. How should we call the model when we want to predict 80% of ratings for an unseen user ie. one not in the training set?
In other words I would like to take a vector of length n where I have m known ratings and infer the remaining n-m? Would I have to include the m known ratings in the training set?
The text was updated successfully, but these errors were encountered: