Comments (2)
CNN and RNN start with batch normalization now. For the recurrent models there might be something better coming called Layer Normalization but the method only just got published (See Ba et al. 2016 in literature drive) and the layer is not yet in Keras.
from mcfly.
The literature all mentions that batch normalization is inserted after affine, before activation. The paper of Ioffe and Szegedy, 2015 (where batch norm is introduced) mentions:
We add the BN transform immediately before the
nonlinearity, by normalizing x = Wu+ b. We could have
also normalized the layer inputs u, but since u is likely
the output of another nonlinearity, the shape of its distribution
is likely to change during training, and constraining
its first and second moments would not eliminate the covariate
shift. In contrast, Wu + b is more likely to have
a symmetric, non-sparse distribution, that is “more Gaussian”
(Hyv¨arinen & Oja, 2000); normalizing it is likely to
produce activations with a stable distribution
So maybe we should not add it after the input layer, but after the first affine/convolutional layer.
It's not clear to me whether we should still also normalize the input. or that that's not necessary anymore.
from mcfly.
Related Issues (20)
- add cron builds
- fix test_find_best_architecture_with_class_weights
- Update build workflow
- Prepare some regression dataset
- Write a tutorial on regression functionality
- Create a plan for regression implementation HOT 1
- Not all training data in memory at the same time
- advertise that we can do regression in all our docs
- create new release (christmas edition) HOT 1
- explain in the docs how we automatically detect regression/classification data
- implement regression functionality in code
- Adapt defaults for evaluation metrics HOT 1
- find_best_architecture fails with tf.keras.metrics objects
- create sphinx build action for documentation build testing
- update supported python versions in tutorial docs and CI workflow HOT 2
- throw sensible error when using a datagenerator and subset!=None
- Add Transformer architecture
- Early stopping a bit aggressive for low number of epochs
- We should shuffle the data by default
- Consider this architecture TCNForecaster (2018)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mcfly.