LensKit#

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

LensKit for Python (also known as LKPY) is the successor to the Java-basedLensKit 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 ofEkstrand and Konstan [EK19].

Changed in version 2025.1:The LensKit documentation is now split apart for easier readability, withthetopical user guide andAPI reference inseparate sections.

There have been significant incompatible changes in LensKit 2025.1. See therelease notes andmigration guide.

Resources#

Acknowledgements#

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