normalize: Normalize a Numpy array.

Description Usage Arguments Author(s) References

View source: R/utils.R

Description

It is generally very important to normalize the data matrix before fitting a neural network model in keras.

Usage

1
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).

Author(s)

Taylor B. Arnold, taylor.arnold@acm.org

References

Chollet, Francois. 2015. Keras: Deep Learning library for Theano and TensorFlow.


YTLogos/kerasR documentation built on May 19, 2019, 4:04 p.m.