- class brainpy.algorithms.online.LMS(alpha=0.1, name=None)#
The least mean squares (LMS).
LMS algorithms are a class of adaptive filter used to mimic a desired filter by finding the filter coefficients that relate to producing the least mean square of the error signal (difference between the desired and the actual signal). It is a stochastic gradient descent method in that the filter is only adapted based on the error at the current time. It was invented in 1960 by Stanford University professor Bernard Widrow and his first Ph.D. student, Ted Hoff.
- __init__(alpha=0.1, name=None)#
call(identifier, target, input, output)
The training procedure.
initialize(identifier, *args, **kwargs)
Load the model states.
nodes([method, level, include_self])
Collect all children nodes.
Save the model states.
train_vars([method, level, include_self])
The shortcut for retrieving all trainable variables.
Get the unique name for this object.
vars([method, level, include_self])
Collect all variables in this node and the children nodes.
Name of the model.