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.
|
|||
_ExternalDep |
|
|||
Inherited from Inherited from |
|
|||
|
|||
|
|||
|
|
|||
_HAS_NUMBER = 9
|
|||
has_joblib = 0.9.4
|
|||
has_libsvm = libsvm.so.3
|
|||
has_mdp = 3.5, MDP-3.4-11-g7391ee8+
|
|||
has_numx = scipy 0.17.0
|
|||
has_parallel_python = 1.6.4
|
|||
has_python = 2.7.11.final.0
|
|||
has_shogun = NOT AVAILABLE: only shogun v1 is supported
|
|||
has_sklearn = 0.17.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 py.test 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 on Tue Mar 8 12:39:48 2016 | http://epydoc.sourceforge.net |