ML lecture 2 - Where does the error come from-2019.8.5

Bias v.s. Variance
Large bias:
Model cannot even fit the training examples => Underfitting

For bias,redesign your model:

  • Add more features as input
  • A more complex model

Large variance:
Fit the training data,but large error on testing data => Overfitting

For variance:

  • More data (Very effective but not always practical)
  • Regularization(smooth, bias increases)

There is usually a trade-off between bias and variance.
Model Selection
What you should NOT do:

Cross Validation
use validation set to select model
在这里插入图片描述在这里插入图片描述

少在意model在public testing set 的表现

发布了2 篇原创文章 · 获赞 0 · 访问量 65

猜你喜欢

转载自blog.csdn.net/sinat_38316070/article/details/98511397