2011-04-04 06:42:29 +08:00
|
|
|
"""
|
2011-11-30 17:30:13 +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
|
|
|
"""
|
|
|
|
|
|
2015-10-21 20:54:01 +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
|
2011-09-05 06:45:31 +08:00
|
|
|
from .sparse_pca import SparsePCA, MiniBatchSparsePCA
|
2013-01-05 22:06:32 +08:00
|
|
|
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)
|
2012-09-13 23:22:32 +08:00
|
|
|
from .factor_analysis import FactorAnalysis
|
2013-08-30 07:30:53 +08:00
|
|
|
from ..utils.extmath import randomized_svd
|
2014-09-13 10:58:28 +08:00
|
|
|
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',
|
2015-10-21 20:54:01 +08:00
|
|
|
'non_negative_factorization',
|
2013-08-30 07:30:53 +08:00
|
|
|
'randomized_svd',
|
2012-09-07 05:54:47 +08:00
|
|
|
'sparse_encode',
|
2013-07-23 21:17:32 +08:00
|
|
|
'FactorAnalysis',
|
2014-09-13 05:42:50 +08:00
|
|
|
'TruncatedSVD',
|
2014-09-13 10:58:28 +08:00
|
|
|
'LatentDirichletAllocation']
|