lenskit.flexmf#

Flexible PyTorch matrix factorization models for LensKit.

The components in this package implement several matrix factorization models for LensKit, and also serve as an example for practical PyTorch recommender training.

Stability: Internal

This API is at the internal or experimental stability level: it may change at any time, and breaking changes will not necessarily be described in the release notes. See Stability Levels for details. FlexMF is provided as a preview release, and may change in the next months as we gain more experience with it.

as we gain more experience with it.

Classes#

FlexMFConfigBase

Common configuration for all FlexMF scoring components.

FlexMFScorerBase

Base class for the FlexMF scorers, providing common Torch support.

FlexMFExplicitConfig

Configuration for FlexMFExplicitScorer. This class overrides

FlexMFExplicitScorer

Explicit-feedback rating prediction with FlexMF. This realizes a biased

FlexMFImplicitConfig

Configuration for FlexMFImplicitScorer. It inherits base model

FlexMFImplicitScorer

Implicit-feedback rating prediction with FlexMF. This is capable of