lenskit.batch.predict#
- lenskit.batch.predict(pipeline, test, *, n_jobs=None)#
Convenience function to batch-generate rating predictions (or other per-item scores) from a pipeline. This is a batch version of
lenskit.predict()
.Note
If
test
is just a sequence of IDs, this method will still work, but it will score _all candidate items_ for each of the IDs.