How to use learning functions of neural network toolbox ?

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

I have a similar problem. My inputs are defined and limited but I am getting an error

Sign in to comment.

 Accepted Answer

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

Asked:

on 27 Sep 2012

Answered:

on 1 May 2014

Community Treasure Hunt

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

Start Hunting!