Recommenders is a collection of examples and best practices for building recommendation systems, provided as Jupyter notebooks. It is aimed at researchers, developers and enthusiasts who want to prototype, experiment with and bring recommendation systems to production. It covers preparing data, building models, evaluating algorithms, tuning hyperparameters and operationalizing models, with utilities for loading datasets, evaluating outputs and splitting data.
Install & use
Install
uv pip install recommenders
Usage
examples/00_quick_start/sar_movielens.ipynb
recommenders-team/recommenders is a third-party open-source project, listed here from public GitHub data. ImuTechz did not write it and has not reviewed or security-audited its code. Read the source and its permissions before you install or run it.
Features
Jupyter notebooks covering five key tasks: prepare data, model, evaluate, model select and optimize, operationalize
Utilities for loading datasets, evaluating model outputs and splitting training/test data
Implementations of classic and deep learning algorithms such as ALS and xDeepFM
Optional extras for GPU, Spark, development and experimental features
Setup guidance for Linux/WSL, Windows and macOS
Best for
Learning recommendation system workflows through notebooks
Prototyping and experimenting with recommendation algorithms
Evaluating and tuning recommendation models offline
Studying best practices before production deployment
Pros
Provides examples and best practices as runnable Jupyter notebooks
Includes utilities for common tasks like dataset loading and evaluation
Offers several algorithm implementations for self-study and customization
Cons
GPU models require the [gpu] extra
Spark models require the [spark] extra
Experimental models may not be thoroughly tested or may need additional installation steps