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 fastfm
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.5.2-cp38-cp38-win_amd64.whl
.
File metadata
- Download URL: fastfm2-0.5.2-cp38-cp38-win_amd64.whl
- Upload date:
- Size: 175.2 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/53.0.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 84f9db933773395fff6da4fa59e3f10d14f986921f0fa4cf64037d965793e481 |
|
MD5 | 1dacefb92a1438fa58920b3c1e8c81fb |
|
BLAKE2b-256 | ef780ba3892ad1039fb82c035a52b8eafca8da2fa8b5d7fbe56106b2aeef2c57 |
File details
Details for the file fastfm2-0.5.2-cp38-cp38-win32.whl
.
File metadata
- Download URL: fastfm2-0.5.2-cp38-cp38-win32.whl
- Upload date:
- Size: 165.8 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/53.0.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7ee19bc42905083d620a1630b484ae2ec0e6480ce0b3833152e57b7937ecba52 |
|
MD5 | 295316fc44701b56a6842b26e67b4d5b |
|
BLAKE2b-256 | f36ea2bfd87a6e6698b0b53db5e5e18463f2ba63300cb4773bc66acbfaa53190 |
File details
Details for the file fastfm2-0.5.2-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
.
File metadata
- Download URL: fastfm2-0.5.2-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
- Upload date:
- Size: 523.6 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/53.0.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ab7d64ae228cea0842f29163c968e4f676e607a6b003d0e639dc99333431c59d |
|
MD5 | 6485bba58c306ae4c255c6939ca17adf |
|
BLAKE2b-256 | 37bc2e3ab4348c1a83df8ccae9577daae88ea7b56c20f34b279c02930bf91464 |
File details
Details for the file fastfm2-0.5.2-cp38-cp38-manylinux2010_i686.manylinux_2_12_i686.whl
.
File metadata
- Download URL: fastfm2-0.5.2-cp38-cp38-manylinux2010_i686.manylinux_2_12_i686.whl
- Upload date:
- Size: 523.8 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/53.0.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d42e19a3d19b4bb789f334b299eba1dc63f201b62f816610c04b25ed9deedef9 |
|
MD5 | 2877df8b258f6bdce8c4dd52b3dc7105 |
|
BLAKE2b-256 | f415b4a8729277a1deebcf962a7c607edb23ed5b2564ec0eddf6eceefbb2a83f |
File details
Details for the file fastfm2-0.5.2-cp38-cp38-macosx_10_15_x86_64.whl
.
File metadata
- Download URL: fastfm2-0.5.2-cp38-cp38-macosx_10_15_x86_64.whl
- Upload date:
- Size: 230.8 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/53.0.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | eb0e0abf1c3f013d9a2828ff696a48cc76eee2afa21bce9d5d151bc66d03aa9d |
|
MD5 | 4a30c63df177b8bf0b1e3a7c097ab0cf |
|
BLAKE2b-256 | 5cd132d946102a512c64f86e0344686b9602c91a2ee843be91a21e3ca21426f4 |
File details
Details for the file fastfm2-0.5.2-cp37-cp37m-win_amd64.whl
.
File metadata
- Download URL: fastfm2-0.5.2-cp37-cp37m-win_amd64.whl
- Upload date:
- Size: 174.3 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/53.0.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bf350277c22c093254050e60364d8ee7bcbc4fffc46a2d5e89114dbd9804a907 |
|
MD5 | e45ee13146fce4e2bbb6239dc627a199 |
|
BLAKE2b-256 | fa051eb56b4d9c4b283b4da44ca4bdaad65835f3ab016e4bf9d669164ac3292a |
File details
Details for the file fastfm2-0.5.2-cp37-cp37m-win32.whl
.
File metadata
- Download URL: fastfm2-0.5.2-cp37-cp37m-win32.whl
- Upload date:
- Size: 164.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/53.0.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a128bc6937225b1dd512f49f037a8d34b63a581bae2f91344cd4d568c8d5cf60 |
|
MD5 | 08cdbe84062b5af05e279fd8b5131cc1 |
|
BLAKE2b-256 | 502f3c32ab22738f4a77c4df40a2c5060af6de3cdb7d022883d026e10ab4d2d4 |
File details
Details for the file fastfm2-0.5.2-cp37-cp37m-manylinux_2_12_i686.manylinux2010_i686.whl
.
File metadata
- Download URL: fastfm2-0.5.2-cp37-cp37m-manylinux_2_12_i686.manylinux2010_i686.whl
- Upload date:
- Size: 496.9 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/53.0.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5b88dfcf6e97605d12f2866d68a83e4639ecb20e51aeab92b8bfd2df5ce10974 |
|
MD5 | e60cb48d56e28689247147b5b502c72a |
|
BLAKE2b-256 | 31fc604bf6c83ebb8d8b51f70394fae1a6351156b1d81035fa847975fe6608a0 |
File details
Details for the file fastfm2-0.5.2-cp37-cp37m-manylinux2010_x86_64.manylinux_2_12_x86_64.whl
.
File metadata
- Download URL: fastfm2-0.5.2-cp37-cp37m-manylinux2010_x86_64.manylinux_2_12_x86_64.whl
- Upload date:
- Size: 496.7 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/53.0.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 063d6f36316626df0b653329cdaf0cf8c36686a3a3e64fe2b26a20c619a72a7b |
|
MD5 | 22e6a77b5df34e64016b19c179bc3d79 |
|
BLAKE2b-256 | 25b32e437cf2c0525025602c30701430bc52736cd2a9ba0cf5f81a69b4f26fd9 |
File details
Details for the file fastfm2-0.5.2-cp37-cp37m-macosx_10_15_x86_64.whl
.
File metadata
- Download URL: fastfm2-0.5.2-cp37-cp37m-macosx_10_15_x86_64.whl
- Upload date:
- Size: 231.4 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/53.0.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2e3496dcc2cb707230de14e3a7a38ab5500c6c7ef53e0110d75242f9c48ce92f |
|
MD5 | ac61669e941d84b0732cf4e91fb37eb1 |
|
BLAKE2b-256 | befdecc77a60199ca1edbd4a0497350a507663705581525fe6a2ade6efdb73d5 |
File details
Details for the file fastfm2-0.5.2-cp36-cp36m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
.
File metadata
- Download URL: fastfm2-0.5.2-cp36-cp36m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
- Upload date:
- Size: 494.7 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/53.0.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dfe8237b92fb9c9ac54532c87df5ad7ddb634718df158d29b90d4c0300a5b2db |
|
MD5 | f15bd874289d40842e1df05464c77277 |
|
BLAKE2b-256 | 41cd6d2de4c5c5c976f6156b8e4480a83b255a06d111955032baeccf93abecee |
File details
Details for the file fastfm2-0.5.2-cp36-cp36m-manylinux_2_12_i686.manylinux2010_i686.whl
.
File metadata
- Download URL: fastfm2-0.5.2-cp36-cp36m-manylinux_2_12_i686.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/53.0.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 44bbf6ac289b4c36dc2faf3e80df7ca8daafde0243fb2bb990dd7d9bd04eb766 |
|
MD5 | cb9a9f84c1ddf2ce228eabad45f00559 |
|
BLAKE2b-256 | f78256aeaa50576df0999bf26d4efc7e27638c97bdb4ff1f7b34212d40be7c7a |
File details
Details for the file fastfm2-0.5.2-cp36-cp36m-macosx_10_15_x86_64.whl
.
File metadata
- Download URL: fastfm2-0.5.2-cp36-cp36m-macosx_10_15_x86_64.whl
- Upload date:
- Size: 231.3 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/53.0.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 379207a950e06b9eccba1887891ff405386585f469a78a3087e3d84de67c26c4 |
|
MD5 | 50355da4bd28896a7bb6a8c6be635354 |
|
BLAKE2b-256 | 73f1ef63f990d9b0730c61cfbe9aafb4b578b07a408a631609c178e7ed91c8eb |