raredecay.meta_config module¶
Created on Fri Apr 1 15:32:17 2016
@author: Jonas Eschle “Mayou36”
This module provides the meta-configuration.
Mostly, you do not need to change this file or only some small parts of it.
Things you may want to change include whether to
- promt for a addition to the file name
- number of cores to use
- path for pickle-files
- default configuration for classifiers, figure saving and more
It contains furthermore:
- (package-)global default variables for all modules.
- Debug-options which change some implementation on a basic level like protocols.
- Global configurations like the endings of specific file-types etc.
The explanation to the variables is available as a comment behind each.
Variables:¶
- run_config:
- It provides the right config module depending on what was chosen in the run-methods. Should not be changed during the run, only once in the begining.
- SUPPRESS_WRONG_SKLEARN_VERSION:
- This package was built for sklearn 0.17. With 0.18 there are some module-name changes, which can cause a crash of the program.
-
raredecay.meta_config.
error_occured
(max_error_count=1000)[source]¶ Call this function every time a non-critical error (saving etc) occurs.
-
raredecay.meta_config.
get_n_cpu
(n_cpu=None)[source]¶ Return the number of cpus to use. None means all. Can be -1, -2...