Data Augmentation (DA) plays a crucial role in enhancing the robustness and generalization of modern machine learning.A new framework for optimizing Data Augmentation has been proposed in a recent research paper.The framework treats augmentation parameters as model (hyper)parameters and optimizes the marginal likelihood using Bayesian model selection.Experiments on computer vision tasks have shown that this approach improves calibration and enhances performance compared to fixed or no augmentation.