A Library for Factorization Machines
Project description
Welcome to fastfm v2
NB: This is still in early development. Use v1 unless you want to contribute to the next version of fastai
To learn more about the library, read our introduction in the paper presenting it.
Note that c++ dependencies are in a submodule, so to clone with all dependencies included, you should use:
git clone --recurse-submodules https://github.com/palaimon/fastfm2
Installing
We infrequently push wheels to pypi that you can install with pip install fastfm2
.
Source Install
You can build the latest version from source (requires cmake>=3.12
) by first compiling the c++ library from the project root directory:
make
then install fastfm2 python lib locally:
User install
pip install .
Also you can build python wheels:
macos
:
pip wheel . --no-deps -w wheelhouse
delocate-wheel -w fixed_macos_whls wheelhouse/fastfm*.whl
linux
:
pip wheel . --no-deps -w wheelhouse
auditwheel repair wheelhouse/fastfm-*.whl
(auditwheel
used instead delocate
).
Dev install
For development we use poetry as dependency managmer:
poetry install
and wheels:
poetry build
Tests
To run the tests launch:
pytest
For the tests to run, you'll need to install the following optional dependency:
pip install pytest
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
File details
Details for the file fastfm2-0.4.3-cp38-cp38-win_amd64.whl
.
File metadata
- Download URL: fastfm2-0.4.3-cp38-cp38-win_amd64.whl
- Upload date:
- Size: 176.8 kB
- Tags: CPython 3.8, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | aef633b93ccef7680e18a8453c6f5dd5427223faf064160defd8b787a4c56ebd |
|
MD5 | 39d7ec44aacf6abed28fd3521e7852bf |
|
BLAKE2b-256 | d82fba28f93db605bc771012e174bb35222e16f910e7133d35afe8232a84f6ff |
File details
Details for the file fastfm2-0.4.3-cp38-cp38-win32.whl
.
File metadata
- Download URL: fastfm2-0.4.3-cp38-cp38-win32.whl
- Upload date:
- Size: 166.9 kB
- Tags: CPython 3.8, Windows x86
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fc815160363ef9982509a3443041648b31da610990a57b7785a482706ca94792 |
|
MD5 | ec8c27e8f7679d65715b87f3bed5375b |
|
BLAKE2b-256 | d6c53a28abd3f66ab1d01e7f16415c0b329a7fe02c9efd1e9e5df5540eb6ac60 |
File details
Details for the file fastfm2-0.4.3-cp38-cp38-manylinux2010_x86_64.whl
.
File metadata
- Download URL: fastfm2-0.4.3-cp38-cp38-manylinux2010_x86_64.whl
- Upload date:
- Size: 524.8 kB
- Tags: CPython 3.8, manylinux: glibc 2.12+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 88c2e708cef22bb2acd1d958c23758de0aef6cc662d9bee49472031c6d61e537 |
|
MD5 | c8a82b2549b4896f1f6b749c9734d75b |
|
BLAKE2b-256 | 45b77723c3271106224b892234746c3f2d7ac4c8301102f9171c169085ff178a |
File details
Details for the file fastfm2-0.4.3-cp38-cp38-manylinux2010_i686.whl
.
File metadata
- Download URL: fastfm2-0.4.3-cp38-cp38-manylinux2010_i686.whl
- Upload date:
- Size: 524.5 kB
- Tags: CPython 3.8, manylinux: glibc 2.12+ i686
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 481fba53ea5b049fb0b49f8c61ea2f937568d9142578b89bc72bb8438ada553e |
|
MD5 | e898b985595cbd9d5edcfe01b8888e16 |
|
BLAKE2b-256 | 95d01ba2a05452a5eadfa80a42b09143ff6482fe7afb95125ba9a65262d40213 |
File details
Details for the file fastfm2-0.4.3-cp38-cp38-macosx_10_15_x86_64.whl
.
File metadata
- Download URL: fastfm2-0.4.3-cp38-cp38-macosx_10_15_x86_64.whl
- Upload date:
- Size: 232.2 kB
- Tags: CPython 3.8, macOS 10.15+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1a0964b1253ef48b4807b3537f835e5927604cf79628e5aa621b6037f12ec71c |
|
MD5 | 689cf03e57ae5ff4458b13128a4fc0c0 |
|
BLAKE2b-256 | 9c704c6dfd6e1f52c053dcc8c2cc4afee0beffcbd9051a5325e4890d1dc38f95 |
File details
Details for the file fastfm2-0.4.3-cp37-cp37m-win_amd64.whl
.
File metadata
- Download URL: fastfm2-0.4.3-cp37-cp37m-win_amd64.whl
- Upload date:
- Size: 175.4 kB
- Tags: CPython 3.7m, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 56a83de5b937c0b881a8685f1acb7bc462175108388368893fe8d548e5946b60 |
|
MD5 | ecf9d56e6e5022e73c52f751b091d321 |
|
BLAKE2b-256 | 96cb9ab070ed24abc2f86b01f05a9ca14996def2d9ba6f78bc759100200d24f1 |
File details
Details for the file fastfm2-0.4.3-cp37-cp37m-win32.whl
.
File metadata
- Download URL: fastfm2-0.4.3-cp37-cp37m-win32.whl
- Upload date:
- Size: 165.8 kB
- Tags: CPython 3.7m, Windows x86
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c4f1b60b0406ef1dd0d55c982d6a14ae7c646ee890d709b9143073798c7740e8 |
|
MD5 | 9145e2dc784d03970d1020254015fb44 |
|
BLAKE2b-256 | c1941bfd342f759b99b87d3c834494391b174f952d73f38862b45c6fef2b8e7b |
File details
Details for the file fastfm2-0.4.3-cp37-cp37m-manylinux2010_x86_64.whl
.
File metadata
- Download URL: fastfm2-0.4.3-cp37-cp37m-manylinux2010_x86_64.whl
- Upload date:
- Size: 498.1 kB
- Tags: CPython 3.7m, manylinux: glibc 2.12+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 00aba8f87f2e69bc1c48cfab82929f26ebdf58d816cc8e93c05f292f38b7cfbd |
|
MD5 | d4b7da8a306d4da36b08fa897a432a98 |
|
BLAKE2b-256 | b25864455cbea01efc5760552d4a418e2111eb59b9058d3b7003e501d917707e |
File details
Details for the file fastfm2-0.4.3-cp37-cp37m-manylinux2010_i686.whl
.
File metadata
- Download URL: fastfm2-0.4.3-cp37-cp37m-manylinux2010_i686.whl
- Upload date:
- Size: 497.6 kB
- Tags: CPython 3.7m, manylinux: glibc 2.12+ i686
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 968a74a9f33a826174ed58f662f0905765bcb81bfe96483fa6a4fbb93c49cf12 |
|
MD5 | 5cf264ade70272eb1826227a515610d7 |
|
BLAKE2b-256 | 83894b4ea6fff4923aad6cbb31e29d1aad7b8ec14fc7c5186c1b870e08a7b0d8 |
File details
Details for the file fastfm2-0.4.3-cp37-cp37m-macosx_10_15_x86_64.whl
.
File metadata
- Download URL: fastfm2-0.4.3-cp37-cp37m-macosx_10_15_x86_64.whl
- Upload date:
- Size: 232.7 kB
- Tags: CPython 3.7m, macOS 10.15+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6cd2c512db887ecfcf75a7e99d40b0b05b40dfe5d803f8d6efe5e8c8fd59c596 |
|
MD5 | 96a858496d0672b22f7e497043821d93 |
|
BLAKE2b-256 | 7bbd76954641308c8e819c9c649b883acb2b2f890bdb0759031c981a706d2edd |
File details
Details for the file fastfm2-0.4.3-cp36-cp36m-manylinux2010_x86_64.whl
.
File metadata
- Download URL: fastfm2-0.4.3-cp36-cp36m-manylinux2010_x86_64.whl
- Upload date:
- Size: 494.4 kB
- Tags: CPython 3.6m, manylinux: glibc 2.12+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 547c66ceac9779fce0e26ea138fcb10521fdf95896c450f6ee7e4f7558986151 |
|
MD5 | 7f468ee27998776edd0dd418edef9fec |
|
BLAKE2b-256 | 58e8e6be4aa2e260d8a7cff6f6f36813dba1b1c22bcdd5987ade254ce2bacd78 |
File details
Details for the file fastfm2-0.4.3-cp36-cp36m-manylinux2010_i686.whl
.
File metadata
- Download URL: fastfm2-0.4.3-cp36-cp36m-manylinux2010_i686.whl
- Upload date:
- Size: 495.1 kB
- Tags: CPython 3.6m, manylinux: glibc 2.12+ i686
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 857e518e2768e1e6a6dcd81c482867c85f25f55c44715276eca9ea8965703069 |
|
MD5 | c2a4b89b29d81e587190d956495ab107 |
|
BLAKE2b-256 | 816efa4c9e01f05510bfe4552b3e9dd44f100585e8bdb011b991026703e268e8 |
File details
Details for the file fastfm2-0.4.3-cp36-cp36m-macosx_10_15_x86_64.whl
.
File metadata
- Download URL: fastfm2-0.4.3-cp36-cp36m-macosx_10_15_x86_64.whl
- Upload date:
- Size: 232.4 kB
- Tags: CPython 3.6m, macOS 10.15+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d3a2379e78e65017b921d4df9805f7e00498e594670395548a8ad20b90705969 |
|
MD5 | a740dc4afd2a976340092a6278990cdd |
|
BLAKE2b-256 | 61622d5a840cf6f7b299991bf0657eb3651764825f8cb73e8f8a3b3b975faaad |