-
Notifications
You must be signed in to change notification settings - Fork 64
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
(Feature) Recommend top N items given a user #9
Comments
Great point @BrandonKMLee! We could either implement a new |
Another problem: identifying pre-rated items, to prevent bad recommendations. |
Can you elaborate more on this, e.g. wdym by pre-rated items? |
@gbolmier when the rated items are in the dataset, recommendations should promote new unrated items over older viewed items (depends on the use case tho). |
I was thinking of passing a list of the items' ids in parameter, so that it's easy to use as a mask on the item latent factor matrix |
Between masking the latent factors and masking the output, which is better? |
If we mask the item latent factor matrix we'll only compute the estimated ratings of interest, which will save time compared to computing all the estimated ratings and then mask the ones we aren’t interested about. |
This would be more optimized! |
Querying every item on the table would be inefficient. There could be a way to make this process simpler by multiplying a user's vector with the whole item matrix.
Guessing:
np.dot(self.pu_[u_ix], self.qi_) + self.bi_+ self.bu_[u_ix]
The text was updated successfully, but these errors were encountered: