def METHOD_NAME(self) -> Dict[str, float]:
    """
    Generate a metrics summary to log along the model.
    :return: The metrics summary.
    """
    return {
        f"{validation_set}_{metric_name}": results[-1]
        for validation_set, metrics in self._results.items()
        for metric_name, results in metrics.items()
    }