peal.sparse_dictionaries.singular_value_decomposition.SVDDictionaryConfig

class peal.sparse_dictionaries.singular_value_decomposition.SVDDictionaryConfig[source]

Bases: SparseDictionaryConfig

Config for SVDDictionary.

Parameters:
  • n_components (int or None, optional) – Number of singular vectors to keep; None keeps all. Default 10.

  • sparse_dictionaries_type (str) – Factory key, fixed to "SVDDictionary".

  • ending (str) – File ending used for the saved weights. Default ".npz".

Methods

Attributes

n_components: int | None = 10
sparse_dictionaries_type: str = 'SVDDictionary'
ending: str = '.npz'