__init__.py 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. """
  2. The :mod:`sklearn.decomposition` module includes matrix decomposition
  3. algorithms, including among others PCA, NMF or ICA. Most of the algorithms of
  4. this module can be regarded as dimensionality reduction techniques.
  5. """
  6. from ..utils.extmath import randomized_svd
  7. from ._dict_learning import (
  8. DictionaryLearning,
  9. MiniBatchDictionaryLearning,
  10. SparseCoder,
  11. dict_learning,
  12. dict_learning_online,
  13. sparse_encode,
  14. )
  15. from ._factor_analysis import FactorAnalysis
  16. from ._fastica import FastICA, fastica
  17. from ._incremental_pca import IncrementalPCA
  18. from ._kernel_pca import KernelPCA
  19. from ._lda import LatentDirichletAllocation
  20. from ._nmf import (
  21. NMF,
  22. MiniBatchNMF,
  23. non_negative_factorization,
  24. )
  25. from ._pca import PCA
  26. from ._sparse_pca import MiniBatchSparsePCA, SparsePCA
  27. from ._truncated_svd import TruncatedSVD
  28. __all__ = [
  29. "DictionaryLearning",
  30. "FastICA",
  31. "IncrementalPCA",
  32. "KernelPCA",
  33. "MiniBatchDictionaryLearning",
  34. "MiniBatchNMF",
  35. "MiniBatchSparsePCA",
  36. "NMF",
  37. "PCA",
  38. "SparseCoder",
  39. "SparsePCA",
  40. "dict_learning",
  41. "dict_learning_online",
  42. "fastica",
  43. "non_negative_factorization",
  44. "randomized_svd",
  45. "sparse_encode",
  46. "FactorAnalysis",
  47. "TruncatedSVD",
  48. "LatentDirichletAllocation",
  49. ]