How can one ensure that a model not only learns effectively from training data but also generalizes well to unseen data?