Pipeline API#
This page documents the LensKit pipeline API, exposed in the
lenskit.pipeline module.
Pipeline Classes#
LensKit recommendation pipeline. |
|
Builder for LensKit recommendation pipelines. |
|
Full results of running a pipeline. |
|
Representation of a single node in a |
|
Type for accepting lazy inputs from the pipeline runner. |
|
A cache to share components between pipelines. |
Component Interface#
These are the interfaces and classes you need to reference when building new LensKit components.
Base class for pipeline component objects. |
Standard Pipelines#
Builder to help assemble common pipeline patterns. |
|
Create a pipeline that produces top-N recommendations using a scoring model. |
|
Create a pipeline that predicts ratings, but does not include any ranking capabilities. |
Serialized Configurations#
Most code will not need to directly use the configuration classes, but they define the schema of pipeline configuration files.
Pydantic models for pipeline configuration and serialization support. |
Hook Interfaces#
Inspect or process data as it passes to a component's input. |
Nodes#
The pipeline directly exposes its nodes, but most code will not need to use them.