Skip to content

Latest commit

 

History

History
39 lines (26 loc) · 992 Bytes

basic.rst

File metadata and controls

39 lines (26 loc) · 992 Bytes

Basic and Utility Algorithms

lenskit.algorithms.basic

The :pylenskit.algorithms.basic module contains baseline and utility algorithms for nonpersonalized recommendation and testing.

Personalized Mean Rating Prediction

Bias

BiasModel

Fallback Predictor

The Fallback rating predictor is a simple hybrid that takes a list of composite algorithms, and uses the first one to return a result to predict the rating for each item.

A common case is to fill in with :pyBias when a primary predictor cannot score an item.

Fallback

Memorized Predictor

The Memorized recommender is primarily useful for test cases. It memorizes a set of rating predictions and returns them.

Memorized