NDCG tutorial notebook - #94
steaphenai wants to merge 5 commits into
Conversation
|
@steaphenai For the case for calculating the ideal dcg we can just call the function and send It wll have 2 benefits:
currently you are writing 2 loops for doing same thing twice, and the loop style in both case is different . |
Yes, I Refactored into a single |
|
looks fine, but I think sorting of scores could be included in dcg method itself, @vfdev-5 thoughts? Other than that it looks good to me. |
|
@vfdev-5 It looks good to me |
Docs: #93
Description
This PR adds the step-by-step Jupyter notebook tutorial for the NDCG metric.
It creates the
ndcg-metric-tutorial.ipynbfile in thetutorials/intermediate/directory, as discussed with @vfdev-5. This notebook demonstrates how to effectively use the metric for ranking evaluations and will serve as the destination link for the docstring update in the mainpytorch-igniterepository.Type of Change
Checklist