lenskit.batch.InvocationSpec#
- class lenskit.batch.InvocationSpec(name, components, items=None, extra_inputs=<factory>)#
Bases:
object
Specification for a single pipeline invocation, to record one or more pipeline component outputs for a test user.
- Parameters:
- __init__(name, components, items=None, extra_inputs=<factory>)#
Methods
__init__
(name, components[, items, extra_inputs])Attributes
The target or candidate items (if any) to provide to the recommender.
A name for this invocation.
The names of pipeline components to measure and return, mapped to their output names.
Additional inputs to pass to the pipeline.
- components: dict[str, str]#
The names of pipeline components to measure and return, mapped to their output names.