lenskit.hpf.HPFConfig ===================== .. py:class:: lenskit.hpf.HPFConfig Bases: :py:obj:`pydantic.BaseModel` Configuration class for :class:`HPFScorer`. Only a couple of configuration options are directly defined here. Other options are taken from the :class:`hpfrec.HPF` constructor's keyword arguments. .. py:attribute:: __pydantic_extra__ :type: dict[str, pydantic.JsonValue] .. py:attribute:: count_attribute :type: str | None :value: 'count' The attribute from which to get user-item interaction counts. If ``None``, uses indicator variables as a count of 1. .. py:attribute:: embedding_size :type: int The dimension of user and item embeddings (number of latent features to learn).