Regularization 和 Cross-Validation 是两种最常用来控制过拟合的方法。
Cross-Validation是一种用来调节学习模型中Regularization参数标准化方法。我们首先把数据集分成训练数据集和验证数据集。然后我们用不同的正则化参数在验证数据集上计算验证误差。
最后,我们选择使得验证误差最小的正则化参数,使用该参数作为我们的学习模型。为了减少变动,我们可以在不同的验证数据集运行多次,将多次验证误差对应的正则化参数取平均值。
Regularization 和 Cross-Validation 是两种最常用来控制过拟合的方法。
Cross-Validation是一种用来调节学习模型中Regularization参数标准化方法。我们首先把数据集分成训练数据集和验证数据集。然后我们用不同的正则化参数在验证数据集上计算验证误差。
最后,我们选择使得验证误差最小的正则化参数,使用该参数作为我们的学习模型。为了减少变动,我们可以在不同的验证数据集运行多次,将多次验证误差对应的正则化参数取平均值。