pyFM
pyFM copied to clipboard
Factorization machines in python
I tried to build and load the module under python3 (with respective `print` corrections). Upon `import pylibfm` I got: ``` ImportError: /home/dima/data/external/pyFM/pyfm_fast.so: undefined symbol: _Py_ZeroStruct ``` [Running following command](http://stackoverflow.com/questions/29235917/linking-metis-to-wrapped-c-module-using-cython) fixed...
Py3
Some tiny changes to make the code work in both Python 2 and 3 - basically just brackets for a bunch of prints!
This is the line of projection return self.eigenvectors[:,:k].T @ (self.A @ func) If I understand correctly, the basis itself is orthogonal, and are the solution to lambda*L@x = A@x, where...