hookeai.utilities.output_prediction_metrics.compute_processes_prediction_metrics¶
- compute_processes_prediction_metrics(predictions_dirs, mean_prediction_metrics, save_dir=None, is_save_file=False, is_display_results=False)[source]¶
Compute mean prediction metrics for multiple prediction processes.
- Parameters:
predictions_dirs (dict) – For each prediction process (key, str), store the directory (item, str) where the corresponding samples predictions results files are stored.
mean_prediction_metrics (list[str]) – Mean prediction metrics.
save_dir (str, default=None) – Directory where file with mean prediction metrics is saved.
is_save_file (bool, default=False) – If True, then save file with mean prediction metrics in predictions dedicated subdirectory.
is_display_results (bool, default=False) – If True, then display mean prediction metrics to standard output device.
- Returns:
processes_results – For each prediction process (key, str), store the corresponding mean prediction metrics data (item, dict).
- Return type: