TP-based metrics fail to compute correct values with duplicates in interactions

オープン
#164 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
python

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

bug
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
Снимок экрана 2024-07-17 в 14 36 39
Operating System

macOS Big Sur 11.6 (Apple M1)

Python Version

any

RecTools version

0.6.0

主要言語
Python
スター
457
フォーク
55
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

MTSWebServices/RecTools のほかの issue

MTSWebServices/RecTools の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。