Skip to content
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

Add a popularity metric #622

Merged
merged 5 commits into from
Feb 4, 2025
Merged

Conversation

mdekstrand
Copy link
Member

This adds the MeanPopRank metric for computing the popularity or obscurity of recommended items.

@mdekstrand mdekstrand added this to the 2025.1 milestone Feb 4, 2025
Copy link

codecov bot commented Feb 4, 2025

Codecov Report

Attention: Patch coverage is 95.34884% with 2 lines in your changes missing coverage. Please review.

Project coverage is 90.25%. Comparing base (d6e8c80) to head (aab732f).
Report is 8 commits behind head on main.

Files with missing lines Patch % Lines
lenskit/lenskit/metrics/ranking/_pop.py 93.33% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #622      +/-   ##
==========================================
+ Coverage   90.23%   90.25%   +0.02%     
==========================================
  Files         111      112       +1     
  Lines        7769     7809      +40     
==========================================
+ Hits         7010     7048      +38     
- Misses        759      761       +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@mdekstrand mdekstrand merged commit bcd0e78 into lenskit:main Feb 4, 2025
47 checks passed
@mdekstrand mdekstrand deleted the feature/pop-metric branch February 4, 2025 17:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant