Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:

НКТЗI_ЛР2011

.pdf
Скачиваний:
3
Добавлен:
07.02.2016
Размер:
535.88 Кб
Скачать

11

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

3 2x2 tg

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

x

 

 

 

 

 

 

 

 

 

 

 

 

log

4

 

arsh

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

,1

x < 3e, 5e

< x < 6e,

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

15)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

e 3x +

cos5 x

 

 

 

 

 

 

 

 

y =

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

x2 + 5

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

, I,

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

acos

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

x (-31;20), =0,56;

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

sin

 

 

 

 

 

 

x

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

3

 

arch

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

, x < 3 , 5e < x < 6e,

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

16)

 

log

2

 

 

 

1 + cos x

 

y =

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

2 - asin

 

x 4

 

, I ,

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

x [-10;30), =0,72;

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

x2

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

x

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

4

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

,1 x < 4, 8 < x < 16,

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

17)

 

tg

 

arsh

1

 

+ sin e 3x

 

 

y =

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

acos

 

5 - x

 

, I,

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

x (-1;13), =0,134;

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

x2 +

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

x

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

4

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

,1 x < 4, 8 < x <

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

18)

 

tg

 

 

sin

 

1 0,5sin x

 

 

 

 

16,

 

 

 

 

 

y =

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

cos

 

 

 

 

,I,

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

5 - x

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

x (-12;23), =0,62;

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

x

3

 

 

3

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

4x

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

tg 4arsh

 

 

 

 

 

 

 

 

 

 

 

 

 

 

,1 x < 4, 8 < x < 16,

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

19)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1 + sh e 5x

 

 

 

 

 

 

 

 

 

 

 

 

 

y =

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

acos

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

5 - x7

, I,

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

x [-6;15], =0,33;

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

xtg3x

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

arsh

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

,1 x

< 3e, 5e < x

< 6e,

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1 +

 

e

3xcos5 x

 

 

 

 

 

20)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

y =

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

ln4 tgx

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

-x5 + x6 , I,

x(-21;31), =0,59;x3 + 3x4

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

12

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1+

 

 

 

cos5e 3x

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

5

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

,1 x < 2, 4 < x < 7,

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

21)

log3 ctg

 

 

x + tg2x2

 

 

 

 

 

y =

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

cos2ln x,I,

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

x (-1,5;10,5), =0,25;

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

5

 

 

 

 

 

 

 

 

 

 

 

x

2

2tg

 

x

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

arsh

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

x < 3e, 5e

< x < 6e,

22)

cos

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

,1

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

e 3x

 

y =

 

 

 

 

 

 

 

1 + ln4

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

asin x

 

+ 5,I,

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

x [-15;15), =0,81;

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

tg2x2

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

x

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

4

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

,1 x < 3e, 5e

< x < 6e,

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

23)

ln

 

arsh

+

cos5e 3x

 

y =

 

 

 

1

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

x + 5

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

asin

 

 

, I,

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

x (-15;15), =0,53;

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

xtg 2 x3

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

2

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

,1 x < 3e, 5e < x < 6e,

24)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1 + arsh

 

cos 3 5ex

 

y = 2 ln

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

sec

3x -1, I,

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

x (-25;25), =1,5.

 

 

 

 

 

 

 

 

 

 

1.3.3.5) & 8 ) & &,

) . 1.3.3.4.

1.3.3.6) J Matlab & .

4 J Matlab. 8 J Matlab & .

1.3.44& .

1.3.56 .

13

1.4 /+ ,)+

1.4.1: .

1.4.2.

1.4.34 .

1.4.4@ , ) ) &, J

8 0 .

1.4.56, J ,

8 8 0

.

1.5 78 + , * 3

1.> Matlab.

2.> & Matlab - ) .

3.) 0 & 8 ) -

?

4.g Matlab 0 -

( , J 0 -

)?

5.h & Matlab 0

) &?

14

2 A B B B A 2

KB B L BM N O B M: A N O B B B

2.1 " *

6 & ) ) I )

, 8 ) . 4 - ) , J 00 ) I 8.

2.2 ) + " " *H + )+-/ +

5 0 8 ) 0 Matlab

Neural Network Toolbox.

> 0 ) 0

Matlab . 2.1.

: 2.1 – 0

"! 4 /*

 

3 " 3

 

x=[0.1 0.5 0.2 0.4 0.3 0.9;

H

 

 

 

0.9 0.5 0.8 0.6 0.7 0.1;

: 6 ( -

0.3 0.0 0.6 0.1 0.2 0.9];

), 3 ( ).

 

 

 

 

 

y = [ 1

0 1

0 1 0];

H 6 -

 

 

 

.

 

net=newff(repmat([0 1],

( 0H 8 net -

3, 1),

[2,1],

{'logsig',

H ) 0:

'logsig'}, 'trainlm');

[0 1], – 3,

 

 

 

 

 

 

– 1, -

 

 

 

I I – 2 , )

 

 

 

I 1 – , 1 2 I

 

 

 

0 )

&

 

 

 

(logsig), 8 -

 

 

 

H

 

? )-

 

 

 

(trainlm).

 

 

15

> 8 . 2.1

 

 

 

"! 4 /*

3 " 3

 

 

net.trainparam. show=25;

H 8 &-

 

 

 

( ) .

net.trainparam.lr= 0.01;

H .

net.trainparam.

H -

epochs=500;

( ).

net.trainparam.

H -

goal=0.01;

0 (

 

).

ct=cputime;

6 H 'H

 

ct.

net=train(net, x, y);

. H 8 net -

 

,

 

x

 

-

 

y.

ct=cputime-ct

6 H -

 

, H ) -

 

ct – H -

 

., J ct

 

H ( -

 

– “;” -

 

).

a=round(sim(net, x));

4 0H 8 net

 

, J -

 

0

 

x.

4 ) 0 8 -

Matlab, 0 6.0, &

nntool, Neural Network Toolbox. 6 nntool H I , 8

) , 8 '-

16

H . 5 nntool

Matlab : nntool.

. 8, ) 0 & Matlab, 0 H & , . 2.2.

: 2.2 – > 8 Matlab

7" ! *

* 73

 

numInputs

8

 

numLayers

( ) I 8

 

) I

 

biasConnect,

, J 0

inputConnect,

8 8

layerConnect,

 

 

 

outputConnect,

 

 

 

targetConnect

 

 

 

numOutputs

8

 

numTargets

 

 

numInputDelays

) I

numLayerDelays

I

inputs

8

 

 

layers

I 8

 

 

outputs

8

 

 

targets

 

 

 

biases

) 8

inputWeights

)

& H

)

 

I 8

 

 

layerWeights

)

& H

 

 

I 8

 

 

adaptFcn

&

initFcn

& 8

performFcn

& ( -

 

)

 

 

trainFcn

&, J H -

 

 

 

 

adaptParam

8

 

initParam

8

 

 

17

 

 

> 8 . 2.2

 

 

 

 

 

 

 

7" ! *

 

* 73

 

performParam

& 8

trainParam.epochs

-

 

( )

 

trainParam..goal

-

 

&

 

trainParam.max_fail

-

 

8

trainParam.mem_reduc

& H, J ) 0H (I H) -

 

’ -

 

8

 

 

trainParam.min_grad

) H-

 

&

 

trainParam.mu,

 

 

? )-

trainParam.mu_dec,

 

 

 

trainParam.mu_inc,

 

 

 

trainParam.mu_max

 

 

 

trainParam.show

, -

 

8 -

 

8

 

trainParam.time

 

 

8

 

IW

) ) (I ))

 

I

 

 

LW

) I

b

)

userdata

 

 

. ( - I J H, J

&. >

H 0H 8, I 3.

% 89:;<=;9 ;>?@A ;9BC@A@D :EF<CGH>HIA I?J@HIA

marks = [1 1 1 1 1 2 2 2 2 2 3 3 3 3 3 4 4 4 4 4 5 5 5 5 5; 1 2 3 4 5 1 2 3 4 5 1 2 3 4 5 1 2 3 4 5 1 2 3 4 5];

18

result = (marks(1,:) + marks(2,:))>=8 & marks(1,:) >3; % ?HA9:P=;9 QR

netp=newp(mInmax(marks), 1);

%9ST@?CEUUV FU>TEUUV A@DIWU9X 9FU>Y@ y1 W9 U>AT>UUV y1 = sIm(netp, marks);

%J9S<W9A> WI>Z:>;@ QR W9 U>AT>UUV

plotpv(marks, y1); plotpc(netp.\W{1,1}, netp.b{1}); tItle(']EF<CGH>H :9S9H@ 9WU9^>:9A9Z9 JE:?EJH:9U> W9 U>AT>U-

UV');

xlabel('R>HE;>H@Y>'); ylabel('_IF@Y>'); % U>AT>UUV QR

netp.traInparam.epochs = 500;

netp = traIn(netp, marks, result);

%9ST@?CEUUV FU>TEUUV A@DIWU9X 9FU>Y@ y2 JI?CV U>AT>UUV y2 = sIm(netp, marks);

%J9S<W9A> WI>Z:>;@ QR JI?CV U>AT>UUV

plotpv(marks, y2); plotpc(netp.\W{1,1}, netp.b{1}); tItle(']EF<CGH>H :9S9H@ 9WU9^>:9A9Z9 JE:?EJH:9U> JI?CV U>- AT>UUV');

xlabel('R>HE;>H@Y>'); ylabel('_IF@Y>');

2.3 )-3 - *

2.3.14

0 , 0 , 8 -

.

2.3.2(& ( . 2.3). 5 -

) ) & 0 F (x1, x2 ,..., xL ), xi [ai ,bi ]. 6 & ) . > )

0 ( ), J H I, 8 1000 -

( ), 8

) 8 L

y = F(x1, x2 ,..., xL ).

19

: 2.3 – .

A -

 

 

 

 

 

j-)

 

( )

j

 

 

x1

x2

x3

 

xL

y = F(x1, x2 ,..., xL )

 

 

1

x11

x12

x13

 

x1L

y1

2

x21

x22

x23

x2L

y2

3

x31

x32

x33

 

x3L

y3

 

1000

x 1

x 2

x 3

 

x L

y

. 2.3 x ji ) -

j-) ; y j j-) -

, & 0: y j = F(x j1, x j2 ,..., x jL ).

2.3.3 =& F (x1, x2 ,..., xL )

) 0 I ) ) I ) . 5 )

) 0 -

.

@ I I ) I-

, 8 & 0 - ) 2.4.

: 2.4 – > 8 -

)

.

% ) I

. &

 

 

 

@

@ -

 

I

I

 

1

2

3-1

) )

2

3

3-3-1

) )

3

4

3-3-3-1

) )

4

2

2-1

) )

5

3

2-2-1

) )

6

4

2-2-2-1

) )

20

> 8 . 2.4

.

% ) I

. &

 

 

 

@

@ -

 

I

I

 

7

2

5-1

) )

8

3

5-5-1

) )

9

4

5-5-5-1

) )

10

2

4-1

) )

11

3

4-4-1

) )

12

4

4-4-4-1

) )

13

2

6-1

) )

14

3

6-3-1

) )

15

4

6-4-3-1

) )

16

2

7-1

) )

17

3

7-7-1

) )

18

4

7-3-4-1

) )

19

2

8-1

) )

20

3

8-8-1

) )

21

4

8-7-6-1

) )

22

2

2-1

) )

23

3

2-3-1

) )

24

4

2-4-4-1

) )

25

2

3-1

) )

26

3

6-2-1

) )

27

4

7-6-3-1

) )

28

2

4-1

) )

29

3

9-2-1

) )

30

4

9-3-2-1

) )

> 8

& .

2.3.4 = & F (x1, x2 ,..., xL ) ) 0 -

. : , J 0 , J . =-