normalize | R Documentation |
It is generally very important to normalize the data matrix before fitting a neural network model in keras.
normalize(x, axis = -1, order = 2)
x |
Numpy array to normalize |
axis |
axis along which to normalize. (starts at 0). -1 |
order |
Normalization order (e.g. 2 for L2 norm). |
Taylor B. Arnold, taylor.arnold@acm.org
Chollet, Francois. 2015. Keras: Deep Learning library for Theano and TensorFlow.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.