lenskit.batch.BatchResults ========================== .. py:class:: lenskit.batch.BatchResults(key) :canonical: lenskit.batch._results.BatchResults Results 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 query. :Stability: Caller .. py:property:: outputs :type: list[str] Get the list of output names in these results. .. py:method:: output(name) Get the item lists for a particular output component. :param name: The output name. This may or may not be the same as the component name. .. py:method:: add_result(name, key, result) Add a single result for one of the outputs. :param name: The output name in which to save this result. :param user: The user identifier for this result. :param result: The result object to save.