maxlinlr
(To be removed) Maximum learning rate for linear layer
maxlinlr will be removed in a future release. For more information,
see Transition Legacy Neural Network Code to dlnetwork Workflows.
For advice on updating your code, see Version History.
Syntax
lr = maxlinlr(P)
lr = maxlinlr(P,'bias')
Description
maxlinlr is used to calculate learning rates for
linearlayer.
lr = maxlinlr(P) takes one argument,
P |
|
and returns the maximum learning rate for a linear layer without a bias that is to be
trained only on the vectors in P.
lr = maxlinlr(P,'bias') returns the maximum learning rate for a
linear layer with a bias.
Examples
Here you define a batch of four two-element input vectors and find the maximum learning rate for a linear layer with a bias.
P = [1 2 -4 7; 0.1 3 10 6]; lr = maxlinlr(P,'bias')
Version History
Introduced before R2006aSee Also
Time Series
Modeler | fitrnet (Statistics and Machine Learning Toolbox) | fitcnet (Statistics and Machine Learning Toolbox) | trainnet | trainingOptions | dlnetwork