gamboviol / bpr

Bayesian Personalized Ranking
212 stars 87 forks source link

Calling sample_negative_item() issue #2

Open ruzihao opened 8 years ago

ruzihao commented 8 years ago

Thanks for creating this useful project!

After I tested the program, I found one issue in bpr.py file: At line 204 and 220, sample_negative_item(self.data[u]) ==> sample_negative_item(self.data[u].indices), which is similar to line 172.

leoanghelescu commented 5 years ago

Just hit the same issue myself. Thanks for pointing this out!!