zoukankan      html  css  js  c++  java
  • 神经网络的两种正则化方法

    神经网络的 三种正则化方法:

    1,和线性回归正则化类似,image,因为是多层结构,所以相应地正则化也为多层,假设一个两层的神经网络的正则化为:image

    2,第二种正则化的方法:Early Stopping,In machine learning, early stopping is a form of regularization used when a machine learningmodel (such as a neural network) is trained by on-line gradient descent. In early stopping, thetraining set is split into a new training set and a validation set. Gradient descent is applied to the new training set. After each sweep through the new training set, the network is evaluated on the validation set. When the performance with the validation test stops improving, the algorithm halts. The network with the best performance on the validation set is then used for actual testing, with a separate set of data (the validation set is used in learning to decide when to stop).(wikipedia上的 ),其实就是使用一个验证集来确定迭代时间:当验证集的err开始上升时即表示开始存在过拟合,在这个点stop被认为是比较好的。

  • 相关阅读:
    LDAP+Jenkins
    LDAP+SASL+SVN
    Ubuntu下的LDAP服务搭建
    LDAP+Confluence
    LDAP+Nextcloud
    vim -d
    linux默认编辑器
    vim相关调优
    MySQL中的保留字
    RHEL7配置ip地址
  • 原文地址:https://www.cnblogs.com/burness/p/3408850.html
Copyright © 2011-2022 走看看