API Reference#
These pages contain the reference documentation for the LensKit modules, classes, etc.
Core Abstractions#
Data abstractions and data set access. |
|
LensKit pipeline abstraction. |
|
Warning and error classes and general LensKit diagnostic code. |
|
Top-level LensKit functions for recommender operations. |
|
Interfaces and support for model training. |
|
Support code for managing model state. |
|
LensKit general configuration |
Components and Models#
These packages provide various recommendation components and models provided as first-party implementations by LensKit.
LensKit ALS implementations. |
|
Basic and baseline pipeline components. |
|
Flexible PyTorch matrix factorization models for LensKit. |
|
FunkSVD (biased MF). |
|
Recommendation models using SciKit-Learn. |
|
Components for generating sochastic outputs in LensKit pipelines. |
Batch Inference and Evaluation#
These package provide evaluation metrics and analysis and batch-inference support. The evaluation code is not directly linked to the rest of LensKit and can be used to evaluate the output of any recommender system implementation.
Batch-run recommendation pipelines for evaluation. |
|
Metrics for evaluating recommender outputs. |
|
Splitting data for train-test evaluation. |
|
Tune parameters using Ray Tune. |
Add-On Components#
These packages contain component implementations that wrap other libraries.
Bridges to recommendation models from |
|
Hierarchical Poisson factorization from |
|
Implementation Helpers#
These modules provide various utilities and helpers used to implement LensKit, and may be useful in building new models and components for LensKit.
Types and functions for lazy values. These are used mostly for pipeline inputs. |
|
Logging, progress, and resource records. |
|
Mathematical helper routines. |
|
LensKit parallel computation support. |
|
Utilities to manage randomness in LensKit and LensKit experiments. |
|
LensKit statistical computations. |
|
LensKit test harnesses and utilities. |
|
PyTorch utility functions. |
|
|
Rust acceleration code. |