Skip to content
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

API for custom actions and defining weights #23

Open
thelinuxlich opened this issue Nov 24, 2014 · 4 comments
Open

API for custom actions and defining weights #23

thelinuxlich opened this issue Nov 24, 2014 · 4 comments

Comments

@thelinuxlich
Copy link

So we can be more expressive and tailor the reccomendation for every need

@guymorita
Copy link
Owner

Can you give some examples? What's the use case? How would you like the
interface to look?
On Mon, Nov 24, 2014 at 1:00 PM Alisson Cavalcante Agiani <
notifications@github.com> wrote:

So we can be more expressive and tailor the reccomendation for every need


Reply to this email directly or view it on GitHub
#23.

@joernroeder
Copy link

I just sumbled over this issue while i'm researching if it's possible to weigth a specific event like so:

raccoon.liked('garyId', 'movieId1', 0.1)
raccoon.liked('garyId', 'movieId2', 0.9)

I saw that you're using redis sadd under the hood, therefore implementing weights would require some refactoring in the input and the algo as well. Weighted events would be a nice feature and would allow to add recurring events (like views) to the engine. what do you thing?

@guymorita
Copy link
Owner

Hi Jorn,

Thanks for reaching out. It's definitely possible. It would require a fair
amount of refactoring. Want to take a stab?

Can you walk me through the use case? Thanks!

On Wed, Aug 26, 2015 at 2:25 PM, Jörn Röder notifications@github.com
wrote:

I just sumbled over this issue while i'm researching if it's possible to
weigth a specific event like so:

raccoon.liked('garyId', 'movieId1', 0.1)
raccoon.liked('garyId', 'movieId2', 0.9)

I saw that you're using redis sadd
https://github.com/guymorita/recommendationRaccoon/blob/master/lib/input.js#L33
under the hood, therefore implementing weights would require some
refactoring in the algo as well. Weighted events would be a nice feature
and would allow to add recurring events (like views) to the engine. what do
you thing?


Reply to this email directly or view it on GitHub
#23 (comment)
.

Guy Morita

T 206.240.5846 l guymorita@gmail.com guymorita@gmail.com

LinkedIn http://www.linkedin.com/in/guymorita l Github
https://github.com/guymorita l Developer Blog
http://guymorita.tumblr.com l Svbtle http://alchemist.svbtle.com

@joernroeder
Copy link

hey, i was bussy doing other things but i had some spare time this week to look back into this old project.

a possible use case would be a user visiting a page multiple times and summing up the weights.

raccoon.liked('garyId', 'movieId1', 0.1)
raccoon.liked('garyId', 'movieId1', 0.1)

In this case garyId liked movieId1 with a score of 0.2. Another feature would be a custom function to increment/calulate the score.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants