1 file was added to this release more than 14 days after its initial publication. Inspect the release files before installing.
pyfms
A Theano-based Python implementation of factorization machines, based on the model presented in Factorization Machines (Rendle 2010).
Features
Sample weighting
For binary classification, this implementation uses a logit function combined with a cross entropy loss function.
Extensibility of algorithms for: regularization, loss function optimization, and the error function
Support for sparse data
Requirements
pyfms supports Python 2.7 and Python 3.x.
Linux and Mac are supported.
Windows is supported with Theano properly installed. The recommended way to install Theano on Windows is using Anaconda.
> conda install theano
Other operating systems may be compatible if Theano can be properly installed.
Installation
pyfms is available on PyPI, the Python Package Index.
$ pip install pyfms
Documentation
See documentation.md.
Example Usage
See example.py.
scikit-learn>=0.18 is required to run the example code.
Tests
Tests are in tests/.
# Run tests $ python -m unittest discover tests -v
License
pyfms has an MIT License.
See LICENSE.
Acknowledgments
RMSprop code is from Newmu/Theano-Tutorials.
Adam code is from Newmu/dcgan_code.
References
Rendle, S. 2010. “Factorization Machines.” In 2010 IEEE 10th International Conference on Data Mining (ICDM), 995–1000. doi:10.1109/ICDM.2010.127.
Metadata
Release files for pyfms 0.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
File added late
1 file was uploaded more than 14 days after the first file in this release.
While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.
We recommend inspecting the release files before installing.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pyfms-0.4.0.tar.gz | 10.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pyfms-0.4.0-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 18.5 kB
Release files / pyfms-0.4.0.tar.gz
| Download URL | pyfms-0.4.0.tar.gz |
|---|---|
| Size | 10.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
50b2795075c4b7bd435b4ad5269e3e344dce30d77cd68eafa96b3d414803efa8
|
|
BLAKE2b-256 checksum How to use checksums |
011b93e2988e2ba482bdbef13f22e63cf316929d1e741437ec79d3ae4c3e6edf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.5
|
Release files / pyfms-0.4.0-py2.py3-none-any.whl
File added late
This file was uploaded more than 14 days after the first file in this release.
While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.
We recommend inspecting the release file before installing.
| Download URL | pyfms-0.4.0-py2.py3-none-any.whl |
|---|---|
| Size | 8.4 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
1803933a619920226949e2184083a809febe762b7a90b7111bfe13e41eb090c8
|
|
BLAKE2b-256 checksum How to use checksums |
69f62bde671dd46f8981827ab3fa0666a5c3feb28e7ecb4d3ce5ed4928b9e647
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.2
|