Skip to content

Latest commit

 

History

History
46 lines (34 loc) · 1.86 KB

pymia.evaluation.rst

File metadata and controls

46 lines (34 loc) · 1.86 KB

pymia.evaluation

Evaluation (pymia.evaluation package)

The evaluation package provides metrics and evaluation functionalities for image segmentation, image reconstruction, and regression. The concept of the evaluation package is illustrated in the figure below.

Overview of the evaluation package.

All metrics (pymia.evaluation.metric.metric package) implement the pymia.evaluation.metric.base.Metric interface, and can be used with the pymia.evaluation.evaluator package to evaluate results (e.g., with the pymia.evaluation.evaluator.SegmentationEvaluator). The pymia.evaluation.writer package provides several writers to report the results, and statistics of the results, to CSV files (e.g., the pymia.evaluation.writer.CSVWriter and pymia.evaluation.writer.CSVStatisticsWriter) and the console (e.g., the pymia.evaluation.writer.ConsoleWriter and pymia.evaluation.writer.ConsoleStatisticsWriter).

Refer to Evaluation of results <example-evaluation1> for a code example on how to evaluate segmentation results. The code example Logging the training progress <example-evaluation2> illustrates how to use the evaluation package to log results during the training of deep learning methods.

Subpackages

pymia.evaluation.metric

The evaluator module (pymia.evaluation.evaluator)

pymia.evaluation.evaluator

The writer module (pymia.evaluation.writer)

pymia.evaluation.writer