-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
RippleNet using Wikidata and Movielens #1014
base: staging
Are you sure you want to change the base?
Conversation
@almudenasanz, this is the error I got:
|
@miguelgfierro |
@almudenasanz I fixed the error, now everything computes correctly, however, the metrics looks too high, we should take a look |
so it looks that the problem is that we are scoring items that are already seen, that's why p@k and r@k are so high. In other algos, we have what we call Almudena, can you please take a look at the remove seen example? |
hey @almudenasanz, @loomlike found out that in the function
but in movielens, there are no zeros, it goes from 1 to 5. So there has to be some error there |
In introduced new parameters for two functionalities:
I think we can run it with 1M and it would be ready |
hey @almudenasanz I rerun with 100k movielens, still there is an error in the ranking metrics. Please take a look |
hey @almudenasanz, this PR has been active since December. I think we should split this PR to have the AUC and accuracy that matches the paper and merge it. Later, on a different PR, we can take a look at the ranking metrics that are not providing good results. |
Hi @miguelgfierro I agree, I would just remove the cells with the precision_at_k and recall_at_k and reproduce with 1M |
Hey @miguelgfierro! Do we plan to release the Ripple-Net without the Thanks Edits -> I wish the src was in PyTorch rather than tf 🤐 . Secondly, How to get access to Wiki's KG? |
hey @AdityaSoni19031997, answering your questions:
that sounds good
This notebook was done years ago when we were using TF1, now we are using TF2. You could either use TF2 or if you want, implement it in PyTorch (there is an implementation https://github.com/qibinc/RippleNet-PyTorch). In general, we prefer PyTorch over TF.
The KG is generated from this notebook https://github.com/microsoft/recommenders/blob/ad0bc93142586dd1b856f9bb8629c89947c93235/notebooks/01_prepare_data/wikidata_knowledge_graph.ipynb
|
Description
Notebook showcasing RippleNet https://github.com/hwwang55/RippleNet and related files
Uses Movielens dataset and Wikidata as the KG
Reproduces results of https://arxiv.org/abs/1803.03467 for Movielens 1M using Wikidata instead of Microsoft Satori as the KG
Need to update tests
Related Issues
Checklist: