[Machine Learning] Diagnosing Bias vs. Variance

In this section we examine the relationship between the degree of the polynomial d and the underfitting or overfitting of our hypothesis.

  • We need to distinguish whether bias or variance is the problem contributing to bad predictions.
  • High bias is underfitting and high variance is overfitting. Ideally, we need to find a golden mean between these two.

The training error will tend to decrease as we increase the degree d of the polynomial.

At the same time, the cross validation error will tend to decrease as we increase d up to a point, and then it will increase as d is increased, forming a convex curve.

[Machine Learning] Diagnosing Bias vs. Variance

[Machine Learning] Diagnosing Bias vs. Variance

上一篇:linux yum仓库配置


下一篇:实验3 转移指令跳转原理及其简单应用编程