TP-based metrics fail to compute correct values with duplicates in interactions
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- python
- Domain
- machine-learning
Research direction
Start by locating the classification and ranking metrics that compute precision and inspect how they handle duplicate test interactions. Reproduce the reported case with duplicate interactions and compare the result with the expected value of 1/3. Done means the affected metrics return the correct values for this case; the issue names no files or tests to run.
Written by the indexing model from the issue text.
Description
What happened?
Precision (and other Calssification and Ranking metrics) is not correct when there are duplicates in test interactions. See screenshot
Expected behavior
I suppose that correct value should be 1/3 because 2/3 of reco lists are False Positives.
Relevant logs and/or screenshots
Operating System
macOS Big Sur 11.6 (Apple M1)
Python Version
any
RecTools version
0.6.0
- Dominant language
- Python
- Stars
- 457
- Forks
- 55
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from MTSWebServices/RecTools
-
good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
MTSWebServices/RecTools#330 ·
-
Is it not possible to `load` transformer model on cpu onlyPossibly taken @maxteneff claimed this 22 days ago. Openbug good first issue
Difficulty 3/5 1-2 days Newbie friendliness 35/100
MTSWebServices/RecTools#286 · 3 comments ·
-
bug good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 35/100
MTSWebServices/RecTools#269 · 4 comments ·
-
enhancement
Difficulty 5/5 Over a week Newbie friendliness 25/100
MTSWebServices/RecTools#249 ·
-
enhancement
Difficulty 5/5 Over a week Newbie friendliness 25/100
MTSWebServices/RecTools#243 ·
All issues in MTSWebServices/RecTools
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 87/100
Maintainers usually reply within 7 days
-
area: web priority: P1 story
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
nfiasco/Quant-Time-Machine#151 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
autowarefoundation/autoware_carla_scenario#2019 ·
Maintainers usually reply within 1 day
-
docs pydanty:is-working
Difficulty 1/5 1-3 hours Newbie friendliness 85/100
pydantic/pydantic-ai#12892 ·
Maintainers usually reply within 1 day