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

Binary recommendation #412

Open
VishnuBhaarath opened this issue Jun 22, 2022 · 1 comment
Open

Binary recommendation #412

VishnuBhaarath opened this issue Jun 22, 2022 · 1 comment

Comments

@VishnuBhaarath
Copy link

Hi,
I am working on a binary recommendation system I want to predict whether an user buys a product or not, 0 fornot buying a product and 1 for buying it. I have gone through the (surprise) documentation and have set up the reader class with a rating_scale of 0 to 1 Reader(rating_scale=(0,1)), I have trained it using SVD and for the corresponding user id and product id I get a value between 0 and 1, so is it advisable to set some threshold like 0.5 or something(values less than it are consider as 0 and above or considered as 1)?Or is their any other method to approach this problem.
Thanks in advance.

@NicolasHug
Copy link
Owner

Hi @VishnuBhaarath , surprise isn't really suited for binary recommendation, you might want to check out https://github.com/benfred/implicit instead

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

2 participants