Neural network and GA approaches for dwelling fire occurrence prediction
1. วิิธโครงขายประสาทเทียมและวิธีจีนเนติกอัลกอริทมสําหรับ
ี ป ี ิ ิ ั ิ ึ ํ ั
การทํานายการเกิดไฟไหมในทีพักอาศัย
่
Neural network and GA approaches for dwelling fire occurrence prediction
L.Yang, C W Dawson M.R.Brown M.Gell
L Yang C.W.Dawson, M R Brown M Gell
อาจารยที่ปรึกษา
ผชวยศาสตราจารย ดร.กมลชนก พานิชการ
ผู วยศาสตราจารย ดร. พานชการ
นําเสนอโดย
นางสาวสิริกัลยา ประมวล รหสประจาตว 50304207
นางสาวสรกลยา รหัสประจําตัว
รายวิชาสัมมนา 2 ปการศึกษา 2552
2. หวขอทนาเสนอ
หัวขอที่นาเสนอ
ํ
1. บทนํา (Introduction)
2.
2 การเลอกตวแปร (Input l ti )
การเลือกตัวแปร (I t selection)
3. การลดจํานวนตัวแปร (Reducing input dimension)
4. การสรางโมเดลโดยวิธีโลจิสติก (A logistic model for prediction)
5. การสรางโมเดลโดยวธโครงขายประสาทเทยม
การสรางโมเดลโดยวิธีโครงขายประสาทเทียม (Neural network based prediction
model)
6.
6 การสรางโมเดลโดยวธจเนตกอลกอรทม
การสรางโมเดลโดยวิธีจีเนติกอัลกอริทึม (GA based prediction model)
b d di ti d l)
7. การเปรียบเทียบโมเดลทั้งสามโมเดล
8. อภิปรายและสรุปผล (Discussion and conclusions)
5. การเลือกตัวแปร (Input selection)
การเลอกตวแปร
Table 1
Correlation between the number of dwelling fires and the possible influencing factors
Correlation Population Unemployment Maximum Minimum
temperature temperature
Number of
0.528 0.554 -0.044 -0.0306
Dwelling fires
Table 2 Correlation between the number of dwelling fires and the population distribution
Correlation Population in various ages
0~4 5~11 12~18 19~64 65~74 Over 75
Number of
0.564 0.527 0.496 0.50 0.486 0.523
Dwelling fires
10. การแบงขอมูลในการสรางและตรวจสอบโมเดล
การแบงขอมลในการสรางและตรวจสอบโมเดล
ขอมูลที่ใชในการสรางโมเดลและตรวจสอบโมเดล
ขอมูลไฟไหมจาก 189 เขต
181 เขต 8 เขต
Training Set Test Set
11. ตวเปรยบเทยบผลลพธ
ตัวเปรียบเทียบผลลัพธ
ตัวเปรียบเทียบผลลัพธที่ใชกับชุดขอมูลทดสอบ
คาความคลาดเคลื่อนเฉลี่ยกําลังสอง (Mean squared error :MSE)
n
∑ (A i − Mi ) 2
MSE = i =1
n
โดยที่ Ai คือจํานวนไฟไหมที่เกิดขึ้นจริง
Mi คือเปนคาพยากรณจํานวนการเกิดไฟไหม
คอเปนคาพยากรณจานวนการเกดไฟไหม
n คือจํานวนขอมูลของชุดทดสอบ
14. การพยากรณโดยวธโลจสตก
การพยากรณโดยวิธีโลจิสติก (A logistic model for prediction)
โมเดลการถดถอยโลจิสติก
log(FIRE + l) = a + b × PC1 + c × PC2 + d × PC3 1
การประมาณคาพารามิเตอร a, b, c และ d สามารถหาไดจากวิธีการประมาณคากําลัง
สองนอยสุด (
(Least Square Estimation: LSE)
)
Table 3 Estimates of the parameters of the logistic model
Model Constant (a) PC1(b) PC(c) PC(d)
Parameter estimate 0.421 0.07099 -0.0165 0.0432
Standard error 0.019 0.008 0.026 0.028
30. การพยากรณโดยวิธีจีเนติกอัลกอริทึม (Genetic Algorithm)
การพยากรณโดยวธจเนตกอลกอรทม
กระบวนการแยกคุณลักษณะ
1 Guide point = Xpi , Ypi , Zpi
โดยที่ P คือลําดับของ Guide point
i คือจํานวน Guide point (i= 1 2 k)
คอจานวน 1,2,…,k)
Xp1 Y p1 Zp1 . . . Xpk Y pk Zpk = 1 Chromosome
1 N k
ffitness = ∑ min((X i − X pj ) + (Yi − Ypj ) + (Z i − Z pj ) ) (1 + E / k)
2 2 2 1/ 2
2
N i=1 j=1
31. การพยากรณโดยวิธีจีเนติกอัลกอริทึม (Genetic Algorithm)
การพยากรณโดยวธจเนตกอลกอรทม
Start
k=1 k is the number of guide point
Desired valued = 50
Generation = 20
Run GA k=k+1
Fitness
<=the desired value no
yes
End
Ed
Fig.
Fig 6 An Iterative GA