-
Notifications
You must be signed in to change notification settings - Fork 157
Closed
Description
Description
I am utilizing the BPR model for my recommender system.
I have experimented with the same class BPR
across different versions while training the models on identical datasets. The results showed that:
- Using the library version
<=1.15.4
, the process rate is approximately3it/s
- With the library version
>=1.16.0
, the process rate is around100s/it
In which platform does it happen?
$ cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 11 (bullseye)"
NAME="Debian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
How do we replicate the issue?
My script runs in a venv with python3.9
from cornac.data import Dataset
from cornac.models import BPR
train_set = Dataset.from_uir(...)
model = BPR(k=128, max_iter=500, learning_rate=0.05, lambda_reg=0.001, verbose=True)
model.fit(train_set)
Expected behavior
The fitting time for the same model in the later versions should not be longer than the fitting time in the earlier versions.
Metadata
Metadata
Assignees
Labels
No labels