cellmil.interfaces.EvaluationReporterConfig

Classes

EvaluationReporterConfig(*, metrics, team, ...)

Configuration for generating evaluation reports

Metrics(value)

Enumeration of available metrics for metrics report.

class cellmil.interfaces.EvaluationReporterConfig.Metrics(value)[source]

Bases: str, Enum

Enumeration of available metrics for metrics report.

accuracy = 'accuracy'
precision = 'precision'
recall = 'recall'
f1 = 'f1'
auroc = 'auroc'
c_index = 'c_index'
classmethod values()[source]
_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: BaseModel

Configuration for generating evaluation reports

metrics: list[cellmil.interfaces.EvaluationReporterConfig.Metrics]
team: str
projects: list[str]
output_dir: Path
class Config[source]

Bases: object

arbitrary_types_allowed = True
model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].