cellmil.interfaces.EvaluationExternalValidatorConfig¶
Classes
|
Enumeration of available aggregation methods for external validation. |
|
|
|
An enumeration. |
- class cellmil.interfaces.EvaluationExternalValidatorConfig.AggregationMethod(value)[source]¶
-
Enumeration of available aggregation methods for external validation.
- mean = 'mean'¶
- median = 'median'¶
- majority = 'majority'¶
- everything = 'everything'¶
- _generate_next_value_(start, count, last_values)¶
Generate the next value when not given.
name: the name of the member start: the initial start value or None count: the number of existing members last_value: the last value assigned or None
- class cellmil.interfaces.EvaluationExternalValidatorConfig.FinalModel(value)[source]¶
-
An enumeration.
- final = 'final'¶
- ensemble = 'ensemble'¶
- _generate_next_value_(start, count, last_values)¶
Generate the next value when not given.
name: the name of the member start: the initial start value or None count: the number of existing members last_value: the last value assigned or None
- class cellmil.interfaces.EvaluationExternalValidatorConfig.EvaluationExternalValidatorConfig(*, metrics: list[cellmil.interfaces.EvaluationReporterConfig.Metrics], output_dir: Path = PosixPath('evaluation_reports'), models_dir: Path, final_model: FinalModel = FinalModel.final, aggregation_method: AggregationMethod = AggregationMethod.mean, dataset_dir: Path, root_dir: Path, dp_metadata_file: Path)[source]¶
Bases:
BaseModel- final_model: FinalModel¶
- aggregation_method: AggregationMethod¶
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].