lenskit.basic.history.KnownRatingConfig#
- classlenskit.basic.history.KnownRatingConfig#
Bases:
LookupConfig- score:Literal['rating','indicator']|None =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.
- source:Literal['training','query']='training'#
Whether to get the known ratings from the training data or from the query.