Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

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

Author(s)

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

References


kerasR

R Interface to the Keras Deep Learning Library

v0.6.1
LGPL-2
Authors
Taylor Arnold [aut, cre]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.