lenskit.batch.recommend#

lenskit.batch.recommend(pipeline, queries, n=None, *, n_jobs=None, profiler=None, users=None)#

Convenience function to batch-generate recommendations from a pipeline. This is a batch version of lenskit.recommend(), and is a convenience wrapper around using a BatchPipelineRunner() to generate recommendations.

See also

BatchPipelineRunner.run() for details on the arguments, and Batch Queries for details on the valid inputs for queries.

Parameters:
Stability:
Caller (see Stability Levels).
Return type:

ItemListCollection[UserIDKey]