mmgp.postprocessing¶
Functions¶
|
Compute and print various metrics for a given ProblemDefinition instance and configuration settings. |
|
Module Contents¶
- mmgp.postprocessing.compute_metrics(configuration: dict, problem: plaid.problem_definition.ProblemDefinition) dict[source]¶
Compute and print various metrics for a given ProblemDefinition instance and configuration settings.
- Parameters:
configuration (dict) – A dictionary containing various parameters and settings for the metric computation. It should include the following keys: - ‘generated_data_folder’ (str): A string representing the folder where the predicted data is stored. - ‘regression’ (dict): A dictionary containing regression-related parameters with the following keys:
problem (ProblemDefinition) – An instance of the ProblemDefinition class containing problem-specific information, including output scalars and fields.
Caution
This function will load all the predicted data. Make sure it has been created and is located correctly.