Aluode/PerceptionLabPortable
0
1"""Matrix decomposition algorithms.
2
3These include PCA, NMF, ICA, and more. Most of the algorithms of this module can be
4regarded as dimensionality reduction techniques.
5"""
6
7# Authors: The scikit-learn developers
8# SPDX-License-Identifier: BSD-3-Clause
9
10from ..utils.extmath import randomized_svd
11from ._dict_learning import (
12 DictionaryLearning,
13 MiniBatchDictionaryLearning,
14 SparseCoder,
15 dict_learning,
16 dict_learning_online,
17 sparse_encode,
18)
19from ._factor_analysis import FactorAnalysis
20from ._fastica import FastICA, fastica
21from ._incremental_pca import IncrementalPCA
22from ._kernel_pca import KernelPCA
23from ._lda import LatentDirichletAllocation
24from ._nmf import (
25 NMF,
26 MiniBatchNMF,
27 non_negative_factorization,
28)
29from ._pca import PCA
30from ._sparse_pca import MiniBatchSparsePCA, SparsePCA
31from ._truncated_svd import TruncatedSVD
32
33__all__ = [
34 "NMF",
35 "PCA",
36 "DictionaryLearning",
37 "FactorAnalysis",
38 "FastICA",
39 "IncrementalPCA",
40 "KernelPCA",
41 "LatentDirichletAllocation",
42 "MiniBatchDictionaryLearning",
43 "MiniBatchNMF",
44 "MiniBatchSparsePCA",
45 "SparseCoder",
46 "SparsePCA",
47 "TruncatedSVD",
48 "dict_learning",
49 "dict_learning_online",
50 "fastica",
51 "non_negative_factorization",
52 "randomized_svd",
53 "sparse_encode",
54]
55 