mlrl.common.testbed.experiments.output.characteristics.model.characteristics module

Author: Michael Rapp (michael.rapp.ml@gmail.com)

Provides classes for representing characteristics of rule models that are part of output data.

class mlrl.common.testbed.experiments.output.characteristics.model.characteristics.RuleModelCharacteristics(statistics: RuleModelStatistics)

Bases: TabularOutputData

Represents characteristics of a rule model that are part of output data.

COLUMN_INDEX = 'Rule'
COLUMN_NUM_CONDITIONS = 'conditions'
COLUMN_NUM_CONDITIONS_NOMINAL_EQ = 'nominal == operator'
COLUMN_NUM_CONDITIONS_NOMINAL_NEQ = 'nominal != operator'
COLUMN_NUM_CONDITIONS_NUMERICAL = 'numerical conditions'
COLUMN_NUM_CONDITIONS_NUMERICAL_GR = 'numerical > operator'
COLUMN_NUM_CONDITIONS_NUMERICAL_LEQ = 'numerical <= operator'
COLUMN_NUM_CONDITIONS_ORDINAL = 'ordinal conditions'
COLUMN_NUM_CONDITIONS_ORDINAL_GR = 'ordinal > operator'
COLUMN_NUM_CONDITIONS_ORDINAL_LEQ = 'ordinal <= operator'
COLUMN_NUM_CONDITION_NOMINAL = 'nominal conditions'
COLUMN_NUM_PREDICTIONS = 'predictions'
COLUMN_NUM_PREDICTIONS_NEGATIVE = 'neg. predictions'
COLUMN_NUM_PREDICTIONS_POSITIVE = 'pos. predictions'
CONTEXT = Context(include_dataset_type=False, include_prediction_scope=True, include_fold=True)
PROPERTIES = TabularProperties(name='Model characteristics', file_name='model_characteristics', has_header=True)
to_table(options: Options, **_) Table | None

See mlrl.testbed.experiments.output.data.TabularOutputData.to_table()

to_text(options: Options, **_) str | None

See mlrl.testbed.experiments.output.data.TextualOutputData.to_text()