Skip to main content

A Library for Factorization Machines

Project description

Welcome to fastfm v2

CI-Badge

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

fastfm2-0.5.2-cp38-cp38-win_amd64.whl (175.2 kB view hashes)

Uploaded CPython 3.8 Windows x86-64

fastfm2-0.5.2-cp38-cp38-win32.whl (165.8 kB view hashes)

Uploaded CPython 3.8 Windows x86

fastfm2-0.5.2-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (523.6 kB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.12+ x86-64

fastfm2-0.5.2-cp38-cp38-manylinux2010_i686.manylinux_2_12_i686.whl (523.8 kB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.12+ i686

fastfm2-0.5.2-cp38-cp38-macosx_10_15_x86_64.whl (230.8 kB view hashes)

Uploaded CPython 3.8 macOS 10.15+ x86-64

fastfm2-0.5.2-cp37-cp37m-win_amd64.whl (174.3 kB view hashes)

Uploaded CPython 3.7m Windows x86-64

fastfm2-0.5.2-cp37-cp37m-win32.whl (164.8 kB view hashes)

Uploaded CPython 3.7m Windows x86

fastfm2-0.5.2-cp37-cp37m-manylinux_2_12_i686.manylinux2010_i686.whl (496.9 kB view hashes)

Uploaded CPython 3.7m manylinux: glibc 2.12+ i686

fastfm2-0.5.2-cp37-cp37m-manylinux2010_x86_64.manylinux_2_12_x86_64.whl (496.7 kB view hashes)

Uploaded CPython 3.7m manylinux: glibc 2.12+ x86-64

fastfm2-0.5.2-cp37-cp37m-macosx_10_15_x86_64.whl (231.4 kB view hashes)

Uploaded CPython 3.7m macOS 10.15+ x86-64

fastfm2-0.5.2-cp36-cp36m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (494.7 kB view hashes)

Uploaded CPython 3.6m manylinux: glibc 2.12+ x86-64

fastfm2-0.5.2-cp36-cp36m-manylinux_2_12_i686.manylinux2010_i686.whl (495.1 kB view hashes)

Uploaded CPython 3.6m manylinux: glibc 2.12+ i686

fastfm2-0.5.2-cp36-cp36m-macosx_10_15_x86_64.whl (231.3 kB view hashes)

Uploaded CPython 3.6m macOS 10.15+ x86-64

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page