I want to give a recommendation to a new user using lightfm.
Hi, I've got model, interactions, item_features. The new user is not in interactions and the only information of the new user is their ratings.(list of book_id and rating pairs)
I tried to use predict() or predict_rank(), but I failed to figure out how. Could you please give me some advice?
Below is my screenshot which raised ValueError..
I was having the same problem, What I did was
Created a user_features matrix (based on their preferences) using Dataset class
Provide it during training along with interaction CSR
Create user_feature matrix for new-user using their preference ( in my case genres )
Now predict item rankings with new_user feature
This gives a pretty decent result for new users but is not as good as the pure CF model.
This is how I implemented it.