lenskit.flexmf.FlexMFExplicitScorer =================================== .. py:class:: lenskit.flexmf.FlexMFExplicitScorer(config = None, **kwargs) :canonical: lenskit.flexmf._explicit.FlexMFExplicitScorer Bases: :py:obj:`lenskit.flexmf._base.FlexMFScorerBase` Explicit-feedback rating prediction with FlexMF. This realizes a biased matrix factorization model (similar to :class:`lenskit.als.BiasedMF`) trained with PyTorch. :Stability: Experimental .. py:attribute:: global_bias :type: float .. py:attribute:: config :type: FlexMFExplicitConfig 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. .. py:method:: create_trainer(data, options) Create a model trainer to train this model. .. py:method:: score_items(users, items) Score for users and items, after resolivng them and limiting to known users and items.