#深度学习 # about batch in training, epoch and online training_ deep learning

Source: Internet
Author: User

Learn the first story in depth, sprinkle flowers ~ ~ ~

Contact machine learning for nearly a year, contact depth study for three or four months, feel that each training code is just no brain training, this time first to tidy up about episode and batch related knowledge.

Epoch is the number of training sessions for all training data.

A small part of the batch used in one training

The specific relationship is as follows: (pseudo code from here?)

Loop Maxepochs Times
  For each training item
    compute weights and bias deltas for Curr item
    accumulate the deltas end for
  Adjust Weights and bias deltas using accumulated deltas end
loop

For online training, the pseudocode is as follows: (or from there?)

Loop maxepochs times for each
  training the data item
    compute weights and bias deltas for Curr item
    adjust weights and bias values using deltas end to end
loop
(It seems like it's going to end ...) = =)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.