scikit-learn/sklearn/decomposition/__init__.py

42 lines
1.5 KiB
Python
Raw Normal View History

2011-04-04 06:42:29 +08:00
"""
The :mod:`sklearn.decomposition` module includes matrix decomposition
algorithms, including among others PCA, NMF or ICA. Most of the algorithms of
this module can be regarded as dimensionality reduction techniques.
2011-04-04 06:42:29 +08:00
"""
from .nmf import NMF, ProjectedGradientNMF, non_negative_factorization
2014-07-22 21:44:27 +08:00
from .pca import PCA, RandomizedPCA
2014-06-18 00:55:52 +08:00
from .incremental_pca import IncrementalPCA
2011-07-17 22:22:23 +08:00
from .kernel_pca import KernelPCA
from .sparse_pca import SparsePCA, MiniBatchSparsePCA
from .truncated_svd import TruncatedSVD
2011-04-07 21:44:02 +08:00
from .fastica_ import FastICA, fastica
2012-12-22 20:02:50 +08:00
from .dict_learning import (dict_learning, dict_learning_online, sparse_encode,
DictionaryLearning, MiniBatchDictionaryLearning,
SparseCoder)
from .factor_analysis import FactorAnalysis
from ..utils.extmath import randomized_svd
from .online_lda import LatentDirichletAllocation
2012-08-23 05:20:49 +08:00
__all__ = ['DictionaryLearning',
'FastICA',
2014-06-18 00:55:52 +08:00
'IncrementalPCA',
2012-08-23 05:20:49 +08:00
'KernelPCA',
'MiniBatchDictionaryLearning',
'MiniBatchSparsePCA',
'NMF',
'PCA',
'ProjectedGradientNMF',
'RandomizedPCA',
'SparseCoder',
'SparsePCA',
'dict_learning',
'dict_learning_online',
'fastica',
'non_negative_factorization',
'randomized_svd',
'sparse_encode',
2013-07-23 21:17:32 +08:00
'FactorAnalysis',
2014-09-13 05:42:50 +08:00
'TruncatedSVD',
'LatentDirichletAllocation']