Question on "newlind" from Neural Network Toolbox
10 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Erol H
el 14 de Sept. de 2014
Respondida: Greg Heath
el 22 de Sept. de 2014
Dear community,
I would like to know what algorithm exactly (LMS ?) describes the matlab estimation function newlind. http://www.mathworks.de/de/help/nnet/ref/newlind.html
The documentation of Matlab does not offer full disclosure on the function, but only what it does. More info very appreciated.
Kind regards
0 comentarios
Respuesta aceptada
Greg Heath
el 22 de Sept. de 2014
Use type, doc or help to get the answer. For example,
type newlind
function out1 = newlind(varargin)
%NEWLIND Design a linear layer.
%
% newlind(X,T) takes an RxQ input matrix X, an SxQ target matrix T, and
% returns a linearlayer designed to output T (with minimum sum square
% error) given X.
%
% newlind(X,T,Xi) can also solve for linear networks with input delays and
% multiple inputs and layers by supplying input and target time series
% data in cell array form:
% X - NixTS cell array, each element X{i,ts} is an RixQ input matrix.
% T - NtxTS cell array, each element T{i,ts} is an VixQ matrix.
% Xi - NixID cell array, each element Xi{i,k} is an RixQ matrix, default = [].
% returns a linear network with ID input delays, Ni network inputs, Nl layers,
% and designed to output T (with minimum sum square error) given input P.
Now try the doc and help commands.
Hope this helps.
Thank you for formally accepting my answer
Greg
0 comentarios
Más respuestas (3)
Greg Heath
el 14 de Sept. de 2014
Use the type command:
type newlind
Hope this helps
Thank you for formally accepting my answer
Greg
0 comentarios
Star Strider
el 21 de Sept. de 2014
- newlind calculates weight W and bias B values for a linear layer from inputs P and targets T by solving this linear equation in the least squares sense:
[W b] * [P; ones] = T
So the answer to your question is: Yes. ‘Least squares’ means ‘least sum of squares’ that is essentially least mean squares. (It doesn’t take the mean but the result is essentially the same.)
0 comentarios
Ver también
Categorías
Más información sobre Sequence and Numeric Feature Data Workflows en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!