Neural Network Toolbox |
Maximum learning rate for a linear layer
Syntax
Description
maxlinlr is used to calculate learning rates for newlin
.
maxlinlr(P)
takes one argument,
and returns the maximum learning rate for a linear layer without a bias that is to be trained only on the vectors in P
.
maxlinlr(P,'bias')
returns the maximum learning rate for a linear layer with a bias.
Examples
Here we define a batch of four two-element input vectors and find the maximum learning rate for a linear layer with a bias.
See Also
mandist | midpoint |
© 1994-2005 The MathWorks, Inc.