morphoclass.console.performance_table module

Utilities for the morphoclass performance-table command.

morphoclass.console.performance_table.make_performance_table(checkpoint_paths: Sequence[StrPath], output_dir: StrPath)None

Create a performance report for trained models.

Parameters
  • checkpoint_paths – All checkpoints to be included in the summary table.

  • output_dir – The report output directory.

morphoclass.console.performance_table.make_report_row(data: dict)dict

Create a row for the summary report table.

Parameters

data – The checkpoint data.

Returns

The dictionary representing a data frame row.

Return type

dict