RecTools
RecTools copied to clipboard
RecTools - library to build Recommendation Systems easier and faster than ever before
поменял в примере 3 вложенных for на один itertools.product правда скипнул настройку окружения, тесты и пр ))
Item coverage and num retrieved
rectools.metrics.calc_metrics method does not work when trying to run it i got empty result. code that i tried to run : from rectools import Columns from rectools.metrics import Accuracy, NDCG...
Implemented roc-curve and auc, but have some questions: 1) It seems that roc for k extends plot linearly and connect with (1, 1) like: [https://wiki.epfl.ch/edicpublic/documents/Candidacy%20exam/Evaluation.pdf] But usually it is implemented...
added sar model
Implemented a ranking metric PFound@k: $$pFound@K = \sum_{i=1}^{k} pLook[i]\ pRel[i]$$ $$pLook[1] = 1$$ $$pLook[i] = pLook[i-1]\ (1 - pRel[i-1])\ (1 - pBreak)$$ $$pBreak = 0.15$$ 1. Implemented the calculation of...
# Reproducible example With pandas==0.25.3 ```python import pandas as pd from rectools.dataset import IdMap user_id_map = IdMap.from_values(pd.array([1, 2], dtype=pd.Int32Dtype())) user_id_map.size # AttributeError: 'IntegerArray' object has no attribute 'size' ``` #...
Ряд оберток моделей (LightFM, Implicit) не работает с float32, им необходим float64 В [этой](https://github.com/MobileTeleSystems/RecTools/blob/82351c21b9b9c9e0db607f37def8770a682069a8/rectools/dataset/interactions.py#L147) строчке sparse матрица переводится во float32. Варианты решения: * Переводить матрицу взаимодействия в классе Interactions во...
## Description Add a Plotly scatterplot widget for metrics visualization, enabling support for visualizing data per fold or their average values. Closes #93 ## Type of change - [ ]...
## Description Added extended tutorial for baselines Closes https://github.com/MobileTeleSystems/RecTools/issues/137