Question on "newlind" from Neural Network Toolbox
11 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Erol H
le 14 Sep 2014
Réponse apportée : Greg Heath
le 22 Sep 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 commentaires
Réponse acceptée
Greg Heath
le 22 Sep 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 commentaires
Plus de réponses (3)
Greg Heath
le 14 Sep 2014
Use the type command:
type newlind
Hope this helps
Thank you for formally accepting my answer
Greg
0 commentaires
Star Strider
le 21 Sep 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 commentaires
Voir également
Catégories
En savoir plus sur Sequence and Numeric Feature Data Workflows dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!