You are on page 1of 4

>> bobot_1=[-0.6848 0.

9412
0.8315 0.5844 0.9190];

0.9143 -0.0292

0.6006 -0.7162 -0.1565

bobot_2=0.3115;
>> net=newff(minmax(pn), [10 1], {'tansig','purelin'},'trainlm');
BobotAwal_Input = net.IW{1,1}
BobotAwal_Bias_Input = net.b{1,1}
BobotAwal_Lapisan=bobot_1
BobotAwal_Bias_Lapisan=bobot_2
net.trainParam.epochs=1000;
net.trainParam.goal=1e-3;
net.trainParam.lr=0.1;
net.trainParam.show=100;
net=train(net,pn,tn);
y=sim(net,pn)
Warning: NEWFF used in an obsolete way.
> In nntobsu at 18
In newff at 86
See help for NEWFF to update calls to the new argument list.

BobotAwal_Input =

61.3378
61.3378
-61.3378
61.3378
61.3378
-61.3378
-61.3378
61.3378

61.3378
61.3378

BobotAwal_Bias_Input =

-55.2040
-52.0929
48.9818
-45.8707
-42.7595
39.6484
36.5373
-33.4262
-30.3151
-27.2040

BobotAwal_Lapisan =

-0.6848 0.9412
0.5844 0.9190

0.9143 -0.0292

BobotAwal_Bias_Lapisan =

0.3115

y=

0.6006 -0.7162 -0.1565

0.8315

Columns 1 through 14

0.6721 0.7664 0.7305 0.7432 0.8499 0.7695


0.6612 0.7680 0.7949 0.8143 0.7382 0.8340

0.7822

0.8055

0.7085

0.7900

Columns 15 through 23

0.8881
0.7925

0.8272

0.7887

0.7838

0.6189

0.8200

You might also like