Closed BrianMiner closed 1 year ago
OK I think I know the issue. The documentation of the library seems to be very inconsistent. I googled and found https://implicit.readthedocs.io/en/latest/models.html
where fit calls for item_user which I created above. Instead, it seems to be that a user_item matrix is needed. Making this changed created a model on par with other libs.
@BrianMiner - the RTD docs site isn't being used anymore and is out of date. Up to date docs are at https://benfred.github.io/implicit/
Thanks for bringing this up - I've removed the site at https://implicit.readthedocs.io/ so that other people won't hit the same issue you had
I have run a toy example using movie lenses with both Implicit and lightfm (and a couple other methods). The performance of Implicit is so relatively poor that I think I must be doing something wrong. Here is the self contained code for both libraries:
READ AND PREPARE DATA
IMPLICIT
Hit Rate: 0.016216216216216217 Recall Rate: 0.005363577863577863
LIGHT FM
Hit Rate: 0.19864864864864865 Recall Rate: 0.08021610896610895