การวิเคราะห์ข้อมูลใบเสร็จ7-elevenด้วย weka
TRANSCRIPT
การวิ�เคราะห์ข้�อมู�ลใบเสร�จ 7-eleven ด้�วิยWeka
นางสาว กรรณิกา เชื้ �อร��ง 55102010984
Agenda
การแบ�งกล��มูข้�อมู�ล (Data Clustering) การจ�าแนกประเภทข้�อมู�ล (Data Classification) การห์ากฎควิามูส"มูพั"นธ์ (Association Rules)
Clustering
การแบ�งกล��มูข้�อมู�ล (Clustering) โด้ยใช้� Simple K-Means น�า ข้�อมู�ลใบเสร�จ 7-eleven ท'(เตร'ยมูไวิ�เพั+(อมูาท�าการแบ�งกล��มู
Clustering
Number of Cluster 2 (Within cluster sum of squared errors: 259.0)
Clustering
Number of Cluster 3 (Within cluster sum of squared errors: 234.0)
Clustering
Number of Cluster 4 (Within cluster sum of squared errors: 214.0)
Clustering
Number of Cluster 5 (Within cluster sum of squared errors: 188.0)
Clustering
Number of Cluster 6 (Within cluster sum of squared errors: 182.0)
Clustering
Number of Cluster 7 (Within cluster sum of squared errors: 175.0)
Clustering
Number of Cluster 8 (Within cluster sum of squared errors: 173.0)
Clustering
Number of Cluster 9 (Within cluster sum of squared errors: 159.0)
Clustering
Number of Cluster 10 (Within cluster sum of squared errors: 151.0)
Clustering
Graph แสด้ง Knee Curve = 5
การท�า Classification โด้ยใช้� Function : MultilayerPerceptron
การเตร'ยมูข้�อมู�ล
Classification
วิ�เคราะห์ข้�อมู�ลจากใบเสร�จ 7-eleven “ วิ�เคราะห์ ข้�อมู�ลข้องสมูาช้�กล��มูท�านายการซื้+-อส�นค�าจาก 7-
eleven วิ�า สมูาช้�กอย��บ�าน ท'(กร�งเทพัฯ (bangkok) ห์ร+อ ต�างจ"งห์วิ"ด้ (Countryside)”
Classification
Epoch = 200
Classification
Classification
Result ArffView Epoch = 200
Classification
Epoch = 500
Classification
Classification
Result ArffView Epoch = 500
การท�า Association โด้ยใช้� Apriori
เป/ด้ไฟล csv ข้องข้�อมู�ลใบเสร�จ 7-eleven ท'(เราได้�เตร'ยมูไวิ�
Association
เล+อก Associate และเล+อก Associator เป1น Apriori จากน"-น กด้Start
Association
ผลล"พัธ์
Association
ผลล"พัธ์การวิ�เคราะห์ข้�อมู�ลโด้ยใช้�กฎควิามูส"มูพั"นธ์ (Association Rules) Best rules found: 1. Ice-Cream=t 43 ==> Water=t 43 <conf:(1)> lift:(1.88) lev:
(0.21) [20] conv:(20.16) 2. Ice-Cream=t Sandwich=t 36 ==> Water=t 36 <conf:(1)>
lift:(1.88) lev:(0.18) [16] conv:(16.88) 3. Milk=t Ice-Cream=t 28 ==> Water=t 28 <conf:(1)> lift:
(1.88) lev:(0.14) [13] conv:(13.13) 4. Milk=t Ice-Cream=t Sandwich=t 24 ==> Water=t 24 <conf:
(1)> lift:(1.88) lev:(0.12) [11] conv:(11.25) 5. Yoghurt=t Ice-Cream=t 17 ==> Water=t 17 <conf:(1)> lift:
(1.88) lev:(0.08) [7] conv:(7.97)
Association
Best rules found ( ต�อ ): 6. TissuePaper=t Ice-Cream=t 17 ==> Water=t 17 <conf:
(1)> lift:(1.88) lev:(0.08) [7] conv:(7.97) 7. Yoghurt=t Ice-Cream=t Sandwich=t 14 ==> Water=t 14
<conf:(1)> lift:(1.88) lev:(0.07) [6] conv:(6.56) 8. Water=t Yoghurt=t Sandwich=t 14 ==> Ice-Cream=t 14
<conf:(1)> lift:(2.23) lev:(0.08) [7] conv:(7.73) 9. TissuePaper=t Ice-Cream=t Sandwich=t 14 ==> Water=t
14 <conf:(1)> lift:(1.88) lev:(0.07) [6] conv:(6.56) 10. Sandwich=t 42 ==> Water=t 41 <conf:(0.98)> lift:(1.84)
lev:(0.19) [18] conv:(9.84)
THANK YOU