码迷,mamicode.com
首页 > Web开发 > 详细

Neural Network Tuning

时间:2018-03-14 12:43:31      阅读:243      评论:0      收藏:0      [点我收藏+]

标签:where   ted   bat   ber   log   cape   body   esc   amount   

Q1: assuming that we train the neural network with the same amount of training examples, how to set the optimal batch size and number of iterations? (where batch size * number of iterations = number of training examples shown to the neural network, with the same training example being potentially shown several times)

It has been observed in practice that when using a larger batch there is a significant degradation in the quality of the model, as measured by its ability to generalize. Large-batch methods tend to converge to sharp minimizers of the training and testing functions -- and that sharp minima lead to poorer generalization. In contrast, small-batch methods consistently converge to flat minimizers. Large-batch methods are almost invariably attracted to regions with sharp minima and that, unlike small batch methods, are unable to escape basins of these minimizers.

Neural Network Tuning

标签:where   ted   bat   ber   log   cape   body   esc   amount   

原文地址:https://www.cnblogs.com/cxxszz/p/8566391.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!