Vous êtes sur la page 1sur 7

Sum-Squared Network Error for 3 Epochs

10

Sum-Squared Error

10

-5

10

-10

10

-15

10

-20

10

0.5

1.5
Epoch

2.5

To get started, select MATLAB Help or Demos from the Help menu.

>> TUGAS

P=

1.0000

1.0000

T=

1
0

0.5000

0
1.0000

>> P=P'

P=

1.0000

1.0000
0

0.5000

1.0000

>> T=T'

T=

>> [W,B]=INITP(P,T)
Warning: Could not find an exact (case-sensitive) match for 'INITP'.
C:\Program Files\MATLAB71\toolbox\nnet\nnobsolete\initp.m is a case-insensitive
match and will be used instead.
You can improve the performance of your code by using exact
name matches and we therefore recommend that you update your
usage accordingly. Alternatively, you can disable this warning using
warning('off','MATLAB:dispatcher:InexactMatch').

*WARNING* INITP is an obsolete function.


Use NNT2P and INIT to update and initialize your network.
Type NNTWARN OFF to suppress NNT warning messages.

W=

0.9003 -0.5377

0.2137

B=

-0.0280

>> TP[1 20]


??? TP[1 20]
|
Error: Unbalanced or misused parentheses or brackets.

>> TP=[1 20]

TP =

20

>> [W,B]=TRAINP(W,B,P,T,TP)
Warning: Could not find an exact (case-sensitive) match for 'TRAINP'.
C:\Program Files\MATLAB71\toolbox\nnet\nnobsolete\trainp.m is a caseinsensitive match and will be used instead.
You can improve the performance of your code by using exact
name matches and we therefore recommend that you update your
usage accordingly. Alternatively, you can disable this warning using
warning('off','MATLAB:dispatcher:InexactMatch').

*WARNING* TRAINP is an obsolete function.


Use NNT2P and TRAIN to update and train your network.
Type NNTWARN OFF to suppress NNT warning messages.

*WARNING* TRAINWB is an obsolete function.


Use TRAINB to train your network.
Type NNTWARN OFF to suppress NNT warning messages.

*WARNING* HARDLIM used in an obsolete way.


Use HARDLIM(NETSUM(Z,B)) instead of HARDLIM(Z,B).
Type NNTWARN OFF to suppress NNT warning messages.

TRAINP: 0/20 epochs, SSE = 2.

*WARNING* BARERR is an obsolete function.


Use BAR to make bar plots.
Type NNTWARN OFF to suppress NNT warning messages.

*WARNING* LEARNP used in an obsolete way.


See help on LEARNP for new argument list.
Type NNTWARN OFF to suppress NNT warning messages.

*WARNING* HARDLIM used in an obsolete way.


Use HARDLIM(NETSUM(Z,B)) instead of HARDLIM(Z,B).

Type NNTWARN OFF to suppress NNT warning messages.

TRAINP: 1/20 epochs, SSE = 1.

*WARNING* BARERR is an obsolete function.


Use BAR to make bar plots.
Type NNTWARN OFF to suppress NNT warning messages.

*WARNING* LEARNP used in an obsolete way.


See help on LEARNP for new argument list.
Type NNTWARN OFF to suppress NNT warning messages.

*WARNING* HARDLIM used in an obsolete way.


Use HARDLIM(NETSUM(Z,B)) instead of HARDLIM(Z,B).
Type NNTWARN OFF to suppress NNT warning messages.

TRAINP: 2/20 epochs, SSE = 1.

*WARNING* BARERR is an obsolete function.


Use BAR to make bar plots.
Type NNTWARN OFF to suppress NNT warning messages.

*WARNING* LEARNP used in an obsolete way.


See help on LEARNP for new argument list.
Type NNTWARN OFF to suppress NNT warning messages.

*WARNING* HARDLIM used in an obsolete way.


Use HARDLIM(NETSUM(Z,B)) instead of HARDLIM(Z,B).
Type NNTWARN OFF to suppress NNT warning messages.

TRAINP: 3/20 epochs, SSE = 0.

*WARNING* BARERR is an obsolete function.


Use BAR to make bar plots.
Type NNTWARN OFF to suppress NNT warning messages.

W=

-1.0997

0.4623 -1.7863

B=

-0.0280

>> A=SIMUP(P,W,B)
Warning: Could not find an exact (case-sensitive) match for 'SIMUP'.
C:\Program Files\MATLAB71\toolbox\nnet\nnobsolete\simup.m is a caseinsensitive match and will be used instead.
You can improve the performance of your code by using exact
name matches and we therefore recommend that you update your
usage accordingly. Alternatively, you can disable this warning using

warning('off','MATLAB:dispatcher:InexactMatch').

*WARNING* SIMUP is an obsolete function.


Use NNT2P and SIM to update and simulate your network.
Type NNTWARN OFF to suppress NNT warning messages.

*WARNING* HARDLIM used in an obsolete way.


Use HARDLIM(NETSUM(Z,B)) instead of HARDLIM(Z,B).
Type NNTWARN OFF to suppress NNT warning messages.

A=

>>

Vous aimerez peut-être aussi