LensKit#

LensKit is a set of Python tools for experimenting with and studying recommender systems. It provides support for training, running, and evaluating recommender algorithms in a flexible fashion suitable for research and education.

LensKit for Python (also known as LKPY) is the successor to the Java-based LensKit toolkit and a part of the LensKit project.

If you use LensKit in published research, cite [LKPY].

[LKPY]

Michael D. Ekstrand. 2020. LensKit for Python: Next-Generation Software for Recommender Systems Experiments. In <cite>Proceedings of the 29th ACM International Conference on Information and Knowledge Management</cite> (CIKM ‘20). DOI:10.1145/3340531.3412778. arXiv:1809.03125 [cs.IR].

Throughout this documentation, we use the notation of Ekstrand and Konstan [EK19].

Changed in version 2025.1: The LensKit documentation is now split apart for easier readability, with the topical user guide and API reference in separate sections.

There have been significant incompatible changes in LensKit 2025.1. See the release notes and migration guide.

Resources#

Acknowledgements#

This material is based upon work supported by the National Science Foundation under Grant No. IIS 17-51278. Any opinions, findings, and conclusions or recommendations expressed in this material are those of the author(s) and do not necessarily reflect the views of the National Science Foundation.