zoukankan      html  css  js  c++  java
  • [Machine Learning] Advice for Applying Machine Learning Week 6

    This learning curve shows high error on the test sets but comparatively low error on training set, so the algorithm is suffering from high variance.

    The gap in errors between training and test suggests a high variance problem in which the algorithm has overfit the training set. Adding more training data will increase the complexity of the training set and help with the variance problem.

    The gap in errors between training and test suggests a high variance problem in which the algorithm has overfit the training set. Reducing the feature set will ameliorate the overfitting and help with the variance problem

    The poor performance on both the training and test sets suggests a high bias problem. Adding more complex features will increase the complexity of the hypothesis, thereby improving the fit to both the train and test data.

    Decreasing the regularization parameter will improve the high bias problem and may improve the performance on the training set.

    You should not use the test set to choose the regularization parameter, as you will then have an artificially low value for test error and it will not give a good estimate of generalization error.

    You should not use training error to choose the regularization parameter, as you can always improve training error by using less regularization (a smaller value of ). But too small of a value will not generalize well onthe test set.

    The cross validation lets us find the “just right” setting of the regularization parameter given the fixed model parameters learned from the training set.

    The learning algorithm finds parameters to minimize training set error, so the performance should be better on the training set than the test set.

  • 相关阅读:
    HomeBrew安装MongoDB如何启动
    Express + Mongoose 极简入门
    Express + Mongoose 极简入门
    浅谈 PHP 与手机 APP 开发(API 接口开发)
    浅谈 PHP 与手机 APP 开发(API 接口开发)
    统计与分布之伯努利分布与二项分布
    统计分布之泊松分布
    统计与分布之高斯分布
    Python 2 和 3 的区别及兼容技巧
    组合与排列
  • 原文地址:https://www.cnblogs.com/Answer1215/p/13737511.html
Copyright © 2011-2022 走看看