/usr/lib/python2.7/dist-packages/mdp/nodes/__init__.py is in python-mdp 3.5-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 | # -*- coding:utf-8 -*-
__docformat__ = "restructuredtext en"
from .pca_nodes import WhiteningNode, PCANode
from .sfa_nodes import SFANode, SFA2Node
from .ica_nodes import ICANode, CuBICANode, FastICANode, TDSEPNode
from .neural_gas_nodes import GrowingNeuralGasNode, NeuralGasNode
from .expansion_nodes import (QuadraticExpansionNode, PolynomialExpansionNode,
RBFExpansionNode, GrowingNeuralGasExpansionNode,
GeneralExpansionNode)
from .fda_nodes import FDANode
from .em_nodes import FANode
from .misc_nodes import (IdentityNode, HitParadeNode, TimeFramesNode,
TimeDelayNode, TimeDelaySlidingWindowNode,
EtaComputerNode, NoiseNode, NormalNoiseNode,
CutoffNode, HistogramNode, AdaptiveCutoffNode)
from .isfa_nodes import ISFANode
from .rbm_nodes import RBMNode, RBMWithLabelsNode
from .regression_nodes import LinearRegressionNode
from .classifier_nodes import (SignumClassifier, PerceptronClassifier,
SimpleMarkovClassifier,
DiscreteHopfieldClassifier,
KMeansClassifier, GaussianClassifier,
NearestMeanClassifier, KNNClassifier)
from .jade import JADENode
from .nipals import NIPALSNode
from .lle_nodes import LLENode, HLLENode
from .xsfa_nodes import XSFANode, NormalizeNode
# import internals for use in test_suites
from .misc_nodes import OneDimensionalHitParade as _OneDimensionalHitParade
from .expansion_nodes import expanded_dim as _expanded_dim
__all__ = ['PCANode', 'WhiteningNode', 'NIPALSNode', 'FastICANode',
'CuBICANode', 'TDSEPNode', 'JADENode', 'SFANode', 'SFA2Node',
'ISFANode', 'XSFANode', 'FDANode', 'FANode', 'RBMNode',
'RBMWithLabelsNode', 'GrowingNeuralGasNode', 'LLENode', 'HLLENode',
'LinearRegressionNode', 'QuadraticExpansionNode',
'PolynomialExpansionNode', 'RBFExpansionNode','GeneralExpansionNode',
'GrowingNeuralGasExpansionNode', 'NeuralGasNode', '_expanded_dim',
'SignumClassifier',
'PerceptronClassifier', 'SimpleMarkovClassifier',
'DiscreteHopfieldClassifier', 'KMeansClassifier', 'NormalizeNode',
'GaussianClassifier', 'NearestMeanClassifier', 'KNNClassifier',
'EtaComputerNode', 'HitParadeNode', 'NoiseNode', 'NormalNoiseNode',
'TimeFramesNode', 'TimeDelayNode', 'TimeDelaySlidingWindowNode',
'CutoffNode', 'AdaptiveCutoffNode', 'HistogramNode',
'IdentityNode', '_OneDimensionalHitParade']
# nodes with external dependencies
from mdp import config, numx_description, MDPException
if numx_description == 'scipy':
from .convolution_nodes import Convolution2DNode
__all__ += ['Convolution2DNode']
if config.has_shogun:
from .shogun_svm_classifier import ShogunSVMClassifier
__all__ += ['ShogunSVMClassifier']
if config.has_libsvm:
from .libsvm_classifier import LibSVMClassifier
__all__ += ['LibSVMClassifier']
if config.has_sklearn:
from . import scikits_nodes
for name in scikits_nodes.DICT_:
if name.endswith('Node'):
globals()[name] = scikits_nodes.DICT_[name]
__all__.append(name)
del name
from mdp import utils
utils.fixup_namespace(__name__, __all__ + ['ICANode'],
('pca_nodes',
'sfa_nodes',
'ica_nodes',
'neural_gas_nodes',
'expansion_nodes',
'fda_nodes',
'em_nodes',
'misc_nodes',
'isfa_nodes',
'rbm_nodes',
'regression_nodes',
'classifier_nodes',
'jade',
'nipals',
'lle_nodes',
'xsfa_nodes',
'convolution_nodes',
'shogun_svm_classifier',
'svm_classifiers',
'libsvm_classifier',
'regression_nodes',
'classifier_nodes',
'utils',
'scikits_nodes',
'numx_description',
'config',
))
|