Add PyTorch backend for MF (#546)
* add PyTorch backend for MF
* update example
---------
Co-authored-by:
tqtg <tuantq.vnu@gmail.com>
Showing
- cornac/models/mf/__init__.py 1 addition, 1 deletioncornac/models/mf/__init__.py
- cornac/models/mf/backend_cpu.pyx 94 additions, 0 deletionscornac/models/mf/backend_cpu.pyx
- cornac/models/mf/backend_pt.py 106 additions, 0 deletionscornac/models/mf/backend_pt.py
- cornac/models/mf/recom_mf.py 148 additions, 121 deletionscornac/models/mf/recom_mf.py
- examples/biased_mf.py 22 additions, 3 deletionsexamples/biased_mf.py
- setup.py 2 additions, 2 deletionssetup.py
cornac/models/mf/backend_cpu.pyx
0 → 100644
cornac/models/mf/backend_pt.py
0 → 100644
Please register or sign in to comment