lenskit.batch.predict#

lenskit.batch.predict(pipeline, test, *, n_jobs=None, **kwargs)#

Convenience function to batch-generate rating predictions (or other per-item scores) from a pipeline. This is a batch version of lenskit.predict().

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

ItemListCollection[tuple[int | str | bytes | integer[Any] | str_ | bytes_ | object_, …]]