-
Notifications
You must be signed in to change notification settings - Fork 610
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
Is there any plan to include offline-evaluation functionality? #101
Comments
Thanks! I have an initial version of calculating P@K here: https://github.com/benfred/implicit/compare/eval . I'm planning on extending this to MAP@K and NDCG@K and maybe MRR in the next couple of days. I'm using cython/openmp to parallelize this - but with the GIL the benefits of doings this are pretty limited. Most of the time is spend in the 'model.recommend' call which requires the GIL. The matrix factorization based models see a modest speedup (around 4-5x on a 8 core system), but the rest of the models seem to run faster when using a single thread. It would be much more efficient to let each model calculate recommendations for all users in parallel ( #72) and then score them here - but I thought it might make sense to get a slower version out first that requires less API changes. |
Wow! |
As a matter of providing more options, a comprehensive evaluation can be performed with the Polara framework. It has a straightforward support for implicit library (disclaimer: I'm the author). See examples here: |
@evfro: awesome! thanks for adding support. will check out soon |
Hi. I'm Hyunsung Lee and I'm using Implicit library for my project(and this library is very awesome!)
For now, there is no evaluation functions in this library so I am using my own evaluation functions evals such as Recall, Precision(thus also F-score), NDCG and (maybe) other metrics (mainly brought and slightly modified from @dawenl 's cofactor.
I can add these evaluation functions to this awesome library and it will be helpful for people who use this.
However, one problem is that I have no experience in programming with CUDA/C++ but only numerical python.
so, I'd like to ask these two question.
Sorry for that there's similar issue #30 but there are no new comments and seem no PR related to this for almost a year therefore I created new issue.
Thanks.
The text was updated successfully, but these errors were encountered: