误差、偏差与方差 (Error, Bias and Variance)

黎 浩然/ 7 11 月, 2023/ 机器学习/MACHINELEARNING, 研究生/POSTGRADUATE/ 0 comments

High Bias

$J_{train}(\theta)$ will be very high while $J_{train}(\theta) \approx J_{cv}(\theta)$

High Variance

$J_{train}(\theta)$ will be very low while $J_{train}(\theta) \gg J_{cv}(\theta)$

调参(Adjust $\lambda$)

调整参数$\lambda$,使得$J_{train}(\theta)$和$J_{cv}(\theta)$都处于比较低的水平。

Error along with Training Size

对比上面两张图,可以得出下面两个结论:

  1. If suffering from high bias, getting more training data will not (by itself) help much.
  2. If suffering from high variance, getting more training data is likely to help.

Summarization

Suppose you have implemented regularized linear regression to predict housing prices.However, when you test your hypothesis in a new set of houses, you find that it makes unacceptably large errors in its prediction. What should you try next?

Share this Post

Leave a Comment

您的邮箱地址不会被公开。 必填项已用 * 标注

*
*