clinicadl.metrics.config.GeneralizedDiceScoreConfig¶
- clinicadl.metrics.config.GeneralizedDiceScoreConfig[source]¶
Config class for
monai.metrics.GeneralizedDiceScore.pred_keycorresponds to the key of the model output to evaluate in theDataPoint;label_keyis the key of the potential label to which the model output must be compared.Potential postprocessing to apply to the model output before computing the metric can be specified via
postprocessing. Accepted transforms are functions that take as input aDataPointand return aDataPoint, orconfiguration classes.-
parameter reduction:
Reduction= mean¶
-
parameter weight_type:
WeightType= square¶
- parameter pred_key: str = 'output'¶
- parameter label_key: Optional[str] = 'label'¶
- parameter postprocessing: Union[list[TransformOrConfig], PostprocessingHandler] = []¶
-
parameter reduction: