yamle.utils.plotting_utils module#
- yamle.utils.plotting_utils.average_augmentations(result, metric)[source]#
This function will average the results of the augmentations and return the mean and standard deviation of the results.
It is performed across all levels of augmentation. For example, if we have 3 augmentations with 3 levels each, the function will return the mean and standard deviation of the 9 results.
- yamle.utils.plotting_utils.fetch_value_and_std_from_result(result, dataset, metric)[source]#
This is a helper function that will fetch the value and error from a result dictionary.
- Return type:
Tuple[float,float]
- yamle.utils.plotting_utils.pareto_optimal(values, metrics)[source]#
Selects the pareto optimal points from a list of points.
- Parameters:
- Return type:
Tuple[List[bool],List[namedtuple]]- Returns:
A tuple containing – - mask (List[bool]): A list indicating which points are pareto optimal - solutions (List[namedtuple]): The pareto optimal solutions