Home | Trees | Indices | Help |
|
---|
|
Provide information about optional dependencies.
This class should not be instantiated, it serves as a namespace
for dependency information. This information is encoded as a
series of attributes called has_<dependency>
.
Dependency parameters are object which have a a boolean value
(True
if the dependency is available). If False, they contain an
error string which will be used in mdp.config.info() output. If
True
, they contain information about the available version of
the dependency. Those objects should be created by using the helper
class methods ExternalDepFound and ExternalDepFailed.
>>> bool(config.has_python) True
Dependency parameters are numbered in the order of creation, so the output is predictable.
The selection of the numerical backend (numpy
or scipy
) can be
forced by setting the environment variable MDPNUMX. The loading
of an optional dependency can be inhibited by setting the
environment variables MDP_DISABLE_<DEPNAME>
to a non-empty
value.
MDPNUMX
numpy
or scipy
. By default the latter is used
if available.MDP_DISABLE_PARALLEL_PYTHON
pp
)MDP_DISABLE_SHOGUN
MDP_DISABLE_LIBSVM
MDP_DISABLE_JOBLIB
joblib
module and mdp.cachingMDP_DISABLE_SKLEARN
sklearn
moduleMDPNSDEBUG
MDP_PP_SECRET
MDP_DISABLE_MONKEYPATCH_PP
|
|||
_ExternalDep |
|
|||
Inherited from Inherited from |
|
|||
|
|||
|
|||
|
|
|||
_HAS_NUMBER = 9
|
|||
has_joblib = 0.11
|
|||
has_libsvm = NOT AVAILABLE: No module named libsvm
|
|||
has_mdp = 3.6
|
|||
has_numx = scipy 0.17.0
|
|||
has_parallel_python = 1.6.5
|
|||
has_python = 2.7.12.final.0
|
|||
has_shogun = NOT AVAILABLE: No module named shogun
|
|||
has_sklearn = 0.8.1
|
|||
has_symeig = scipy.linalg.eigh
|
|
|||
Inherited from |
|
Inform that an optional dependency was not found. A new _ExternalDep object will be created and stored in config.
|
Inform that an optional dependency was found. A new _ExternalDep object will be created and stored in config.
|
Return nicely formatted info about MDP. >>> print mdp.config.info() # doctest: +SKIP python: 2.7.2.final.0 mdp: 3.3, MDP-3.2-9-g4bc7356+ parallel python: 1.6.1-monkey-patched shogun: v1.1.0_02ce3cd_2011-12-12_08:17_ libsvm: libsvm.so.3 joblib: 0.5.4 sklearn: 0.9 numx: scipy 0.9.0 symeig: scipy.linalg.eigh This function is used to provide the pytest report header and footer. |
|
_HAS_NUMBER
|
has_joblib
|
has_libsvm
|
has_mdp
|
has_numx
|
has_parallel_python
|
has_python
|
has_shogun
|
has_sklearn
|
has_symeig
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1-MDP on Mon Apr 27 21:56:16 2020 | http://epydoc.sourceforge.net |