pymia.evaluation
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.
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.
pymia.evaluation.metric
pymia.evaluation.evaluator
pymia.evaluation.writer