-
Notifications
You must be signed in to change notification settings - Fork 11
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
NA's returned by recommendHPR #9
Comments
If minimum = 0, you are telling the package to consider 0 as a rating, and your rating scale varies from 0 to 5. As a results the package will understand that all items are rated by all users, and will not be able to recommend any item that the user has never interacted before. If you set minimum = 1, you should be set! |
So if I have a matrix where NA's are unrated itens, there is no problem setting |
Sure.
NA might appear only where there are less than topN =3 unrated items. |
Ok, I'll try. |
👍 |
I'm trying to reproduce
recommendHPR
example:But myratings matrix has 0 as minimun value, so I've included
minimum = 0
atdefineData
function. In this case,recommendHPR
returns a list of NA's. Have I done something wrong?The text was updated successfully, but these errors were encountered: