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.

  • 相关阅读:
    2013-05-25 14:04 zend studio10正式版如何汉化?
    网页前端优化之滚动延时加载图片
    appium框架之bootstrap
    软件测试面试题(一)
    Java中的经典算法之冒泡排序(Bubble Sort)
    Git知识总览(一) 从 git clone 和 git status 谈起
    Webdriver获取多个元素
    idea注册码到期,破解idea
    安装appium桌面版和命令行版
    Python+Appium学习篇之WebView处理
  • 原文地址:https://www.cnblogs.com/Answer1215/p/13737511.html
Copyright © 2011-2022 走看看