Implicit#

This module provides a LensKit bridge to Ben Frederickson’s implicit library implementing some implicit-feedback recommender algorithms, with an emphasis on matrix factorization.

It can be installed with the lenskit-implicit package:

pip install lenskit-implicit
conda install -c conda-forge lenskit-implicit\

Note

This package is not necessary for working with implicit-feedback data, it is only for running the models from the implicit` library with LensKit.

class lenskit.implicit.ALS(*args, weight=40.0, **kwargs)#

Bases: BaseRec

LensKit interface to implicit.cpu.als (or GPU version).

Parameters:

weight (float)

class lenskit.implicit.BPR(*args, **kwargs)#

Bases: BaseRec

LensKit interface to implicit.cpu.bpr (or GPU version).