Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
e5c4ce8
added pauc to ranking
May 5, 2024
5a919ce
added naive insufficient recs check
May 9, 2024
dc523f9
changed insufficient logic
May 9, 2024
f697fd5
calc test passing
May 9, 2024
7d152cd
prepared pAUC with tests first version
May 15, 2024
759fb07
moved pauc to separate module
May 15, 2024
55426bb
fixed print
May 16, 2024
b4e82d7
pap prototype added
May 19, 2024
3725107
finished pap tests
May 19, 2024
7657acc
introduced auc fitted
May 27, 2024
de507ec
added _calc_partial_roc_auc to _AUCMetric
May 27, 2024
5a16ab4
cleaned methods
May 27, 2024
721d081
enum and docstrings
May 28, 2024
0209aff
changed copy logic
May 28, 2024
6554a0b
linters and docs
May 28, 2024
95bed7d
fixed docstrings
May 28, 2024
ea75dbd
added pauc and pap description and articles
May 28, 2024
870bb43
fixed typo
May 28, 2024
6e2958a
added math to docstrings
May 29, 2024
297d651
added parameters to docstrings
May 29, 2024
e8af902
added examples
May 29, 2024
5d8cd50
format examples
May 29, 2024
e2fb4a7
fixed examples
May 29, 2024
9ff55bb
docs render fixes
May 29, 2024
c165a91
added scroting test
May 30, 2024
df2275a
small docs fix
May 30, 2024
850908a
small fixes
Jun 3, 2024
3f50551
pylint max statements
Jun 3, 2024
e5c8038
Merge branch 'main' of https://github.com/MobileTeleSystems/RecTools …
Jun 3, 2024
7937e7b
small refactor
Jun 3, 2024
87d42e3
fixed groupby
Jun 3, 2024
23fc302
optimized merge
Jun 4, 2024
a9a8256
small refactors
Jun 14, 2024
08f3f68
Merge branch 'main' of https://github.com/MobileTeleSystems/RecTools …
Jun 14, 2024
4ae5e12
fixed joning in _calc_roc_auc
Jun 14, 2024
0f0beb1
fixed groupby
Jun 14, 2024
d32a9a4
renamed PAUC to PartialAUC
Jun 14, 2024
999a48c
updated changelog
Jun 16, 2024
64e532f
removed optional
Jun 17, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Extended Theory&Practice RecSys baselines tutorial ([#139](https://github.com/MobileTeleSystems/RecTools/pull/139))
- `MetricsApp` to create plotly scatterplot widgets for metric-to-metric trade-off analysis ([#140](https://github.com/MobileTeleSystems/RecTools/pull/140))
- `Intersection` metric ([#148](https://github.com/MobileTeleSystems/RecTools/pull/148))
- `PartialAUC` and `PAP` metrics ([#149](https://github.com/MobileTeleSystems/RecTools/pull/149))
- New params (`tol`, `maxiter`, `random_state`) to the `PureSVD` model ([#130](https://github.com/MobileTeleSystems/RecTools/pull/130))

### Fixed
Expand Down
13 changes: 9 additions & 4 deletions rectools/metrics/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,19 @@
-------
`metrics.Precision`
`metrics.Recall`
`metrics.F1Beta`
`metrics.Accuracy`
`metrics.MCC`
`metrics.MAP`
`metrics.NDCG`
`metrics.MRR`
`metrics.HitRate`
`metrics.PartialAUC`
`metrics.PAP`
`metrics.F1Beta`
`metrics.Accuracy`
`metrics.MCC`
`metrics.MeanInvUserFreq`
`metrics.IntraListDiversity`
`metrics.AvgRecPopularity`
`metrics.Serendipity`
`metrics.HitRate`
`metrics.Intersection`

Tools
Expand All @@ -44,6 +46,7 @@
`metrics.SparsePairwiseHammingDistanceCalculator`
"""

from .auc import PAP, PartialAUC
from .classification import MCC, Accuracy, F1Beta, HitRate, Precision, Recall
from .distances import (
PairwiseDistanceCalculator,
Expand All @@ -67,6 +70,8 @@
"HitRate",
"MAP",
"NDCG",
"PartialAUC",
"PAP",
"MRR",
"MeanInvUserFreq",
"IntraListDiversity",
Expand Down
Loading