mlrl.testbed.experiments.output.data module¶
Author Michael Rapp (michael.rapp.ml@gmail.com)
Provides classes for representing output data.
- class mlrl.testbed.experiments.output.data.DatasetOutputData(properties: Properties, context: Context = Context(include_dataset_type=True, include_prediction_scope=True, include_fold=True))¶
Bases:
TextualOutputData,ABCAn abstract base class for all classes that represent output data that can be converted into a textual representation, as well as a dataset.
- class mlrl.testbed.experiments.output.data.ObjectOutputData(properties: Properties, context: Context = Context(include_dataset_type=True, include_prediction_scope=True, include_fold=True))¶
Bases:
OutputData,ABCAn abstract base class for all classes that represent output data that can be converted into a Python object.
- class mlrl.testbed.experiments.output.data.OutputData(properties: Properties, context: Context = Context(include_dataset_type=True, include_prediction_scope=True, include_fold=True))¶
Bases:
ABCAn abstract class for all classes that represent output data.
- class mlrl.testbed.experiments.output.data.OutputValue(option_key: str, name: str, percentage: bool = False)¶
Bases:
objectRepresents a numeric value that is part of output data.
- static filter_values(values: Iterable[OutputValue], options: Options) List[OutputValue]¶
Allows to filter given output values based on given options.
- Parameters:
values – The output values to be filtered
options – Options that should be used for filtering
- Returns:
A list that contains the filtered output values
- class mlrl.testbed.experiments.output.data.StructuralOutputData(properties: Properties, context: Context = Context(include_dataset_type=True, include_prediction_scope=True, include_fold=True))¶
Bases:
OutputData,ABCAn abstract base class for all classes that represent output data that can be converted into a structural representation, e.g., YAML or JSON.
- class mlrl.testbed.experiments.output.data.TabularOutputData(properties: Properties, context: Context = Context(include_dataset_type=True, include_prediction_scope=True, include_fold=True))¶
Bases:
TextualOutputData,ABCAn abstract class for all classes that represent output data that can be converted into a textual, as well as a tabular, representation.
- class mlrl.testbed.experiments.output.data.TextualOutputData(properties: Properties, context: Context = Context(include_dataset_type=True, include_prediction_scope=True, include_fold=True))¶
Bases:
OutputData,ABCAn abstract class for all classes that represent output data that can be converted into a textual representation.