lenskit.basic.history.KnownRatingConfig ======================================= .. py:class:: lenskit.basic.history.KnownRatingConfig Bases: :py:obj:`LookupConfig` .. py:attribute:: score :type: Literal['rating', 'indicator'] | None :value: None The field name to use to score items, or ``"indicator"`` to score with 0/1 based on presence in the training data. The default, ``None``, uses ratings if available, and otherwise scores with ` for interacted items and leaves un-interacted items unscored. .. py:attribute:: source :type: Literal['training', 'query'] :value: 'training' Whether to get the known ratings from the training data or from the query.