美文网首页
machine learning-week6-错题

machine learning-week6-错题

作者: 小雨喜欢大晴天 | 来源:发表于2018-03-12 18:00 被阅读0次

Suppose you have implemented regularized logistic regression to classify what object is in an image (i.e., to do object recognition). However, when you test your hypothesis on a new set of images, you find that it makes unacceptably large errors with its predictions on the new images. However, your hypothesis performs well (has low error) on the training set. Which of the following are promising steps to take? Check all that apply.

A.Try evaluating the hypothesis on a cross validation set rather than the test set.

B.(CHECKED) Try increasing the regularization parameter λ.

C.Try decreasing the regularization parameter λ.

D.(CHECKED) Try using a smaller set of features.

总结:

高方差:(训练误差小,测试误差大)

增大训练样本

减少特征

增大λ

高偏差:(训练误差大,测试误差大,且两者相近)

添加特征

增加阶数

减小λ

相关文章

网友评论

      本文标题:machine learning-week6-错题

      本文链接:https://www.haomeiwen.com/subject/bhtofftx.html