Skip to content

Commit

Permalink
Add rank function for ComparER_sub and fix getting wrong uid in BPR n…
Browse files Browse the repository at this point in the history
…egative sampling for ComparER_sub and MTER (#515)

* Fixed changing sign if item j > item i, refactor code

* revert to numpy 1.20.3 for Py39

* Incorporate trade-off between rating and top aspect scores for ranking function

---------

Co-authored-by: lthoang <lthoang@apcs.vn>
Co-authored-by: tqtg <tuantq.vnu@gmail.com>
  • Loading branch information
3 people committed Jun 28, 2023
1 parent 3a7fe9c commit 95619ca
Show file tree
Hide file tree
Showing 6 changed files with 14,357 additions and 17,273 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:

- name: Install numpy for Python 3.9
if: matrix.python-version == '3.9'
run: python -m pip install numpy==1.21.6
run: python -m pip install numpy==1.20.3

- name: Install numpy for Python 3.10
if: matrix.python-version == '3.10'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:

- name: Install numpy for Python 3.9
if: matrix.python-version == '3.9'
run: python -m pip install numpy==1.21.6
run: python -m pip install numpy==1.20.3

- name: Install numpy for Python 3.10
if: matrix.python-version == '3.10'
Expand Down

0 comments on commit 95619ca

Please sign in to comment.