lenskit.sklearn.svd.BiasedSVDConfig =================================== .. py:class:: lenskit.sklearn.svd.BiasedSVDConfig Bases: :py:obj:`lenskit.config.common.EmbeddingSizeMixin`, :py:obj:`pydantic.BaseModel` 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: int The dimension of user and item embeddings (number of latent features to learn). .. py:attribute:: damping :type: lenskit.basic.Damping :value: 5 .. py:attribute:: algorithm :type: Literal['arpack', 'randomized'] :value: 'randomized' .. py:attribute:: n_iter :type: int :value: 5