Clear Filters
Clear Filters

How to use learning functions of neural network toolbox ?

1 view (last 30 days)
Is it possible to find the weight matrix dW with limited input parameters ?
for example,
in using learnh ( hebb learning function ),
dW = learnh(W,P,[],[],[],T,[],[],[],[],LP,[])
W = [ 0 0 ]; P= [ 2 2 ; 3 3]; T = [ 1 1 ];
Why am I not getting dW ? Is it mandatory to have all the parameters or is it enough to have some parameters alone ?
Please help.
Thank you for your future reply and future time.
  1 Comment
Dabira
Dabira on 30 Apr 2014
I have a similar problem. My inputs are defined and limited but I am getting an error

Sign in to comment.

Accepted Answer

Greg Heath
Greg Heath on 1 May 2014
According to both
help learnh
and
doc learnh
dW = learnh([],P,[],[],A,[],[],[],[],[],LP,[])
calculates
dW = LP.lr*A*P'
Go back and read the help and doc documentation.
Hope this helps.
Thank you for formally acceptingmy answer
Greg

More Answers (0)

Categories

Find more on Deep Learning Toolbox in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!