lenskit.config.common.EmbeddingSizeMixin ======================================== .. py:class:: lenskit.config.common.EmbeddingSizeMixin Mixin for configuring embedding sizes (# of latent dimensions). Component configuration classes can extend this class to inherit a standardized definition of an embedding size, along with useful behavior like configuring with base-2 logs. Example usage: .. code:: python class SVDConfig(EmbeddingSizeMixin, BaseModel): pass cfg = SVDConfig(embedding_size=32) .. py:attribute:: embedding_size :type: pydantic.PositiveInt The dimension of user and item embeddings (number of latent features to learn). .. py:method:: lkmv_embedding_size(data) :classmethod: