标签:
A computer program is said to learn from experience E with respect to some task T and some performance measure P, if its performance on T, as measured by P improves with experience E
To get the prediction model, we need to define the hythontheis function, and determine the parameters
Regularizatio(正则化)意在eliminate overfitting(过拟合)问题。因为参数太多,会导致我们的模型复杂度上升,容易过拟合,也就是我们的训练误差会很小。但训练误差小并不是我们的最终目标,我们的目标是希望模型的测试误差小,也就是能准确的预测新的样本。所以,我们需要保证模型“简单”的基础上最小化训练误差,这样得到的参数才具有好的泛化性能(也就是测试误差也小),而模型“简单”就是通过规则函数来实现的。
简单来说,我们需要在训练误差小(目标1)和模型简单(目标2)之间tradeoff!
标签:
原文地址:http://www.cnblogs.com/qingwen/p/5006969.html