The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: weight in neural network
Replies: 1   Last Post: May 2, 2013 4:06 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]

Posts: 12
Registered: 9/15/12
weight in neural network
Posted: May 1, 2013 11:44 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Hello Sir,
Sir if i have tried the following code, the problem if I generate W1 and W2 then weights net.IW{1,1} and net.LW{2,1} are diffrenet and if i dont use W1 and W2 then net.IW{1,1} and net.LW{2,1} are different. Sir how the weights are related
with W1 and W2 ?

s = RandStream('mcg16807','Seed', 0);
x=sinimfin; %input
t=t; %target
S1=1; % number of hidden layers
S2=2; % number of output layers (= number of classes)
W1= rand(S1,R);
W2= rand(S2,S1);
net = patternnet(4);
net = train(net,x,t);
% view(net)

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.