-
Notifications
You must be signed in to change notification settings - Fork 115
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
Support for item-based similarity #19
Comments
current_user.common_likes_with(friend)
#=> [#<Movie title: '2001: A Space Odyssey', year: 1968>] Similarly, you can do |
Oops, I jumped to conclusions and misread this. However, item.liked_by
#=> [user1, user3, user42, user89, …]
|
Sorry, I just now completely wrapped my head around what you were asking, and this is a good feature request. I can take a stab at this later, though I'd prefer to fix the issues that you and the other two are having first. I can look at it soon, or you could always take a stab at it as well and submit a pull request. |
No pressure :) Just wanted to put it on the docket. |
This would actually be, from what I can tell and as I think about it more, super easy to do and would be useful to boot. Thanks for suggesting! |
So I've been thinking about this for a while now, and I'm not sure that this is something I really want to include in the framework. Having recommendable handle both user-based and item-based similarities will really increase the memory footprint of Redis. I could perhaps implement it in a way where the user chooses one or the other (or if they really want to, both), but they'll have to be explicitly chosen. This may be a simpler task after I implement the callbacks feature that another user suggested. Until then, I'm putting this on the backlog. |
Hi @davidcelis, how is this going? |
@jinzhu See my previous comment |
I would love to see this. In the meantime, I may have to run this and recommendify in tandem to get both :) |
Would it be possible do to this by having the recommended model recommend itself? So, for example, when a user likes a product, you write a callback that has that product like the other products the user has liked. Then, would the product.recommended_products be the same relationship (or maybe product.similar_products)? |
i think what i'd rather do is, with version 3, implement a per-recommendable configuration. i.e. you can pass options to |
+1 item-based recommendations |
+1 Recommendify does item-based recommendations and we were getting great results from it, but were scared off from using it in production since the project is not really maintained anymore. I'd love to see that feature in this gem. |
@ddgromit I was in the same boat, and ended up going with https://github.com/Pathgather/predictor |
We have similar raters in the gem right now, but i would love to query similar recommendable items(Users who liked x also liked y)?
The text was updated successfully, but these errors were encountered: