cellmil.interfaces.EvaluationReporterConfig¶
Classes
|
Configuration for generating evaluation reports |
|
Enumeration of available metrics for metrics report. |
- class cellmil.interfaces.EvaluationReporterConfig.Metrics(value)[source]¶
-
Enumeration of available metrics for metrics report.
- accuracy = 'accuracy'¶
- precision = 'precision'¶
- recall = 'recall'¶
- f1 = 'f1'¶
- auroc = 'auroc'¶
- c_index = 'c_index'¶
- _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.EvaluationReporterConfig.EvaluationReporterConfig(*, metrics: list[cellmil.interfaces.EvaluationReporterConfig.Metrics], team: str, projects: list[str], output_dir: Path = PosixPath('evaluation_reports'))[source]¶
Bases:
BaseModelConfiguration for generating evaluation reports
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].