gunz_ml package

Subpackages

Submodules

gunz_ml.consts module

Defines project-wide constant enumerations.

This module contains enumerations used for configuration and for controlling the application’s execution mode. Using enums ensures that choices are consistent and type-safe.

class gunz_ml.consts.Mode(value)[source]

Bases: BaseStrEnum

Defines the primary execution modes for the application.

This enum is case-insensitive, so “OPTIMIZE” and “optimize” are treated as the same member.

ANALYZE = 'analyze'
CLEANUP = 'cleanup'
EXPORT = 'export'
INIT = 'init'
LOAD = 'load'
OPTIMIZE = 'optimize'
PLOT = 'plot'
RUN = 'run'
class gunz_ml.consts.OptunaType(value)[source]

Bases: BaseStrEnum

Defines the types of suggestion methods available in Optuna.

This enum uses string values for improved readability in configuration files. It also includes a converter to handle legacy or case-insensitive values.

CATEGORICAL = 'categorical'
FLOAT = 'float'
INT = 'int'
LOGARITHM = 'logarithm'

gunz_ml.main module