lightfm 1.17


LightFM recommendation model

LightFM recommendation model

Stars: 4390, Watchers: 4390, Forks: 672, Open Issues: 144

The lyst/lightfm repo was created 8 years ago and the last code push was 3 weeks ago.
The project is very popular with an impressive 4390 github stars!

How to Install lightfm

You can install lightfm using pip

pip install lightfm

or add it to a project with poetry

poetry add lightfm

Package Details

Lyst Ltd (Maciej Kula)
GitHub Repo


  • Scientific/Engineering/Artificial Intelligence
No  lightfm  pypi packages just yet.


A list of common lightfm errors.

Code Examples

Here are some lightfm code examples and snippets.

GitHub Issues

The lightfm package has 144 open issues on GitHub

  • Evaluating lightfm models for some items only
  • Provide access to average loss values from each epoch
  • Broken installation from pip on Mac M1 (with miniconda)
  • Data Splitting Strategies besides Random Split
  • Cannot run predictions in batches
  • Item id 5863.0 not in item id mapping. Make sure you call the fit method
  • What's a good way to "weight" the importance of item/user features in LightFM?

See more issues on GitHub

Related Packages & Articles

kornia 0.6.12

Open Source Differentiable Computer Vision Library for PyTorch

kedro 0.18.11

Kedro helps you build production-ready data and analytics pipelines

huggingface-hub 0.16.4

Client library to download and publish models, datasets and other repos on the hub