cxflow.constants

cxflow module containing various constants.

Variables

cxflow.constants.CXF_LOG_FORMAT

General logging format.

'%(asctime)s.%(msecs)03d: %(levelname)-8s@%(module)-12s: %(message)s'
cxflow.constants.CXF_LOG_DATE_FORMAT

Date format used in logging.

'%Y-%m-%d %H:%M:%S'
cxflow.constants.CXF_FULL_DATE_FORMAT

Full date format.

'%Y-%m-%d %H:%M:%S.%f'
cxflow.constants.CXF_HOOKS_MODULE

Module with standard cxflow hooks (as would be used in import).

'cxflow.hooks'
cxflow.constants.CXF_CONFIG_FILE

Configuration file name (dumped in the output directory).

'config.yaml'
cxflow.constants.CXF_LOG_FILE

Log file (dumped in the output directory).

'train.log'
cxflow.constants.CXF_TRACE_FILE

Training trace filename.

'trace.yaml'
cxflow.constants.CXF_PREDICT_STREAM

Predict stream name.

'predict'
cxflow.constants.CXF_DEFAULT_LOG_DIR

Default log directory.

'./log'
cxflow.constants.CXF_NA_STR

N/A string for pretty printing.

'N/A'
cxflow.constants.CXF_BUFFER_SLEEP

The duration for which the buffer sleeps before it starts to process the next batch.

0.02