lenskit.basic.candidates#
Classes
|
Candidate selector that selects all known items from the training data. |
|
Base class for candidate selectors using the training data. |
|
Candidate selector that selects all known items from the training data that do not appear in the request user's history ( |
- class lenskit.basic.candidates.TrainingCandidateSelectorBase(*args, **kwargs)#
-
Base class for candidate selectors using the training data.
- class lenskit.basic.candidates.AllTrainingItemsCandidateSelector(*args, **kwargs)#
Bases:
TrainingCandidateSelectorBase
Candidate selector that selects all known items from the training data.
- class lenskit.basic.candidates.UnratedTrainingItemsCandidateSelector(*args, **kwargs)#
Bases:
TrainingCandidateSelectorBase
Candidate selector that selects all known items from the training data that do not appear in the request user’s history (
RecQuery.user_items
). If no item history is available, then all training items are returned.In order to look up the user’s history in the training data, this needs to be combined with a component like
UserTrainingHistoryLookup
.