lenskit.implicit.ALS#

class lenskit.implicit.ALS(config=None, **kwargs)#

Bases: BaseRec

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

Stability:
Caller (see Stability Levels).
Parameters:
  • config (object | None)

  • kwargs (Any)

config: ImplicitALSConfig#

The component configuration object. Component classes that support configuration must redefine this attribute with their specific configuration class type, which can be a Python dataclass or a Pydantic model class.

property weight#