normalize: Normalize a Numpy array.
Description
It is generally very important to normalize the data matrix before
fitting a neural network model in keras.
Usage
normalize(x, axis = -1, order = 2)
Arguments
- x
Numpy array to normalize
- axis
axis along which to normalize. (starts at 0). -1
- order
Normalization order (e.g. 2 for L2 norm).