lenskit.batch.BatchResults#
- class lenskit.batch.BatchResults(key)#
Bases:
objectResults from a batch recommendation run. Results consist of the outputs of various pipeline components for each of the test users. Results may be
None, if the pipeline produced no output for that user.- Stability:
- Caller (see Stability Levels).
- Parameters:
Methods
__init__(key)Construct a new set of batch results.
add_result(name, key, result)Add a single result for one of the outputs.
output(name)Get the item lists for a particular output component.
Attributes
Get the list of output names in these results.
- output(name)#
Get the item lists for a particular output component.
- add_result(name, key, result)#
Add a single result for one of the outputs.