poprox_recommender.recommenders.load#
Functions and logic for loading recommender pipeline configurations.
Functions
Get the configured default pipeline. |
|
Discover the list of available pipeline configuration names. |
|
|
Get a built pipeline by name. |
|
Get a pipeline builder by name. |
|
Exceptions
Exception raised when a pipeline cannot be loaded or instantiated, to separate those errors from errors running the pipeline. |
- exception poprox_recommender.recommenders.load.PipelineLoadError#
Bases:
Exception
Exception raised when a pipeline cannot be loaded or instantiated, to separate those errors from errors running the pipeline.
- poprox_recommender.recommenders.load.discover_pipelines()#
Discover the list of available pipeline configuration names.
- poprox_recommender.recommenders.load.default_pipeline()#
Get the configured default pipeline.
This uses the
POPROX_DEFAULT_PIPELINE
environment variable, if it is set; otherwise, it returnspoprox_recommender.recommenders.configurations.DEFAULT_PIPELINE
.- Return type:
- poprox_recommender.recommenders.load.get_pipeline_builder(name, device=None, num_slots=10)#
Get a pipeline builder by name.
- Parameters:
- Return type: