Title: -Artificial Neural Network- Matlab???? -??????BPN Model??
1-Artificial Neural Network- Matlab????
-??????BPN Model??
2??????
- ???ANN?????????,???????
- training data ?, Training data?Target ?, Test
data ?, Test ?Target?. - ??????????column??(??)
- ???matlab.
- ??????????????.
- 1.Input Pattern??
- 2.Input Pattern??
- 3.Target Pattern??
- 4.Test Pattern??
31.????????Pattern???
1, 2, 3
4, 5, 6
7, 8, 9
0
42. Pattern??(?)
? Word ???? ?10?patterns ?????
52. Pattern??(?)
- ????pattern?????,?????,???????
6Pattern??(?)
????
7Pattern??(?)
????
8Pattern??(?)
????pattern????(???????), ???
0 1 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0
01100 00100 00100 00100 00100
9Pattern??(?)
??10???pattern???10???(???????training data )
10Pattern??(?)
- ?matlab????????(column by column)??, ???????data
pattern???? - ??? (?Excel???)
- ????10???,???????(.txt)
- ???Excel, ??????
- ?????????
- ????????? trainset.txt
- ??? (?Matlab???)
- ????matlab??,????????data pattern
- ?Matlab?????, ??? ?? ??????,
- ???????train pattern,????trainset.txt
- , ??Matlab??? trainset
11Pattern?????-?Excel
lt???gt
????????
12Pattern?????-?Excel
lt???gt
13Pattern?????-?Excel
lt???gt
14Pattern?????-?Excel
lt???gt
???????
15Pattern?????-?Excel
lt???gt
???????tab??
16Pattern??(?)
lt???gt
1. ???File??,?training pattern?,??Matlab?
2. ??????,????pattern
173. Target Pattern??(1)
1.??????????09??????,??training
pattern??????target??.???????,??????output?10???,?
?1?????(output node Y1)??????0???, ?2?????(output
node Y2)??????1???,?3?????(output node
Y3)???????2???,????.?,????training
pattern??????target?. ????????10?input
patterns???target???.
183. Target Pattern??(2)
??target??????????????matlab.
194. Test Pattern??
?ANN??????,???????????,?? ????????test
patterns????????.
1
01100 00100 00100 00100 01110
3
01110 00010 01110 00010 01110
9
01110 01010 01110 00010 00100
0
00100 01010 01010 01010 00100
20Matlab??(1) ???????
?????? 1.Training data 2.Target data
21Matlab??(2) - ??????
?Train Pattern????, ????
22Matlab??(3) - ??????
??Next
23Matlab??(4)- ??????
??Finish
24Matlab??(5) ??ANN????
?????nntool ??????????
25Matlab??(6) ??ANN????
??Import, ???????
26Matlab??(7) ??ANN????
1.?Train Pattern???Input?? 2.?Target
Pattern???Targets??
27Matlab??(8) ??ANN????
?????
????????, ????New Network,??????????
28Matlab??(9) ??ANN????
???????????
29Matlab??(10) ??ANN????
??????
????model
30Matlab??(11) ??ANN????
??BPN?????????(Layer 1)
31Matlab??(12) ??ANN????
??BPN???????????(Layer 2)
32Matlab??(13) ??ANN????
??????? ???????, ????Train.., ?Train
Pattern??, ??????????
33Matlab??(14) ??ANN????
??Training??? input pattern
??target pattern
34Matlab??(15) ??ANN????
1.??????
2.??????learning rate
3.??????????, ????Train Network
?????Training
35Matlab??(16) ??ANN????
??????
36Matlab??(17) ??ANN????
??test pattern, ????????
37Matlab??(18) ??ANN????
???????????, ??Simulate..?????
38Matlab??(19) ??ANN????
1.????????test pattern
2.????
39Matlab??(20) ??ANN????
2.??????? ??Export
3.???,??Export
1.??Export..
40Matlab??(21) ??ANN????
???????, ??????