lenskit.graphs.lightgcn.PairwiseLightGCNTrainer =============================================== .. py:class:: lenskit.graphs.lightgcn.PairwiseLightGCNTrainer(scorer, data, options) Bases: :py:obj:`LightGCNTrainer` Protocol implemented by iterative trainers for models. Models that implement :class:`UsesTrainer` will return an object implementing this protocol from their :meth:`~UsesTrainer.create_trainer` method. .. This protocol only defines the core aspects of training a model. Trainers should also implement :class:`~lenskit.state.ParameterContainer` to allow training to be checkpointed and resumed. It is also a good idea for the trainer to be pickleable, but the parameter container interface is the primary mechanism for checkpointing. :Stability: Full .. py:method:: batch_loss(mb_edges, scores)