Yep, it’s bad practice... but to reduce a little the number of parameters passed around, the FLinK architecture makes use of some global values. Global configuration options have been kept to a minimum, and are only used for non-critical aspects of the architecture, such as the verbosity of the output produced by the functions in flink.utils.logging.
The default values of these configuration properties are stored in the flink.config module. Programs can access and change property values by means of the API provided in flink.utils.props.
Verbosity of flink.utils.logging messages.
Possible values are:
- only print error messages
- also print warning messages
- also print result messages
- also print information messages [default]
- also print debugging statements
Used by flink.pytk to decide whether to use the native C layer for learning and classification, instead of invoking svm_learn and svm_classify executables. Defaults to False.