SlideShare a Scribd company logo
1 of 27
การวิเคราะห์ข้อมูลใบเสร็จ
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 เป็น 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 

More Related Content

Viewers also liked

Weka project - Classification & Association Rule Generation
Weka project - Classification & Association Rule GenerationWeka project - Classification & Association Rule Generation
Weka project - Classification & Association Rule Generationrsathishwaran
 
12 งานนำสนอ cluster analysis
12 งานนำสนอ cluster analysis12 งานนำสนอ cluster analysis
12 งานนำสนอ cluster analysiskhuwawa2513
 
คู่มือ practical data mining with rapid miner studio7
คู่มือ practical data mining with rapid miner studio7คู่มือ practical data mining with rapid miner studio7
คู่มือ practical data mining with rapid miner studio7Pitchayanida Khumwichai
 
9th International Public Markets Conference - Ann Yonkers
9th International Public Markets Conference - Ann Yonkers9th International Public Markets Conference - Ann Yonkers
9th International Public Markets Conference - Ann YonkersPPSPublicMarkets
 
Itab innovative assessments
Itab innovative assessmentsItab innovative assessments
Itab innovative assessmentsMartin J Ippel
 
IMTA 2011 Technical Aptitude Pres II
IMTA 2011 Technical Aptitude Pres IIIMTA 2011 Technical Aptitude Pres II
IMTA 2011 Technical Aptitude Pres IIMartin J Ippel
 
Rd&t aa ms data sheet [v1]
Rd&t aa ms data sheet [v1]Rd&t aa ms data sheet [v1]
Rd&t aa ms data sheet [v1]Luigi Tommaseo
 
nơi nào dịch vụ giúp việc quận 11 tphcm
nơi nào dịch vụ giúp việc quận 11 tphcmnơi nào dịch vụ giúp việc quận 11 tphcm
nơi nào dịch vụ giúp việc quận 11 tphcmtracy700
 
Sugar n' Spice Pitch Presentation
Sugar n' Spice Pitch PresentationSugar n' Spice Pitch Presentation
Sugar n' Spice Pitch Presentationadrienneg_ows
 

Viewers also liked (12)

Weka project - Classification & Association Rule Generation
Weka project - Classification & Association Rule GenerationWeka project - Classification & Association Rule Generation
Weka project - Classification & Association Rule Generation
 
12 งานนำสนอ cluster analysis
12 งานนำสนอ cluster analysis12 งานนำสนอ cluster analysis
12 งานนำสนอ cluster analysis
 
คู่มือ practical data mining with rapid miner studio7
คู่มือ practical data mining with rapid miner studio7คู่มือ practical data mining with rapid miner studio7
คู่มือ practical data mining with rapid miner studio7
 
04 association
04 association04 association
04 association
 
TICS
TICSTICS
TICS
 
9th International Public Markets Conference - Ann Yonkers
9th International Public Markets Conference - Ann Yonkers9th International Public Markets Conference - Ann Yonkers
9th International Public Markets Conference - Ann Yonkers
 
Itab innovative assessments
Itab innovative assessmentsItab innovative assessments
Itab innovative assessments
 
IMTA 2011 Technical Aptitude Pres II
IMTA 2011 Technical Aptitude Pres IIIMTA 2011 Technical Aptitude Pres II
IMTA 2011 Technical Aptitude Pres II
 
Resume - JRM1
Resume - JRM1Resume - JRM1
Resume - JRM1
 
Rd&t aa ms data sheet [v1]
Rd&t aa ms data sheet [v1]Rd&t aa ms data sheet [v1]
Rd&t aa ms data sheet [v1]
 
nơi nào dịch vụ giúp việc quận 11 tphcm
nơi nào dịch vụ giúp việc quận 11 tphcmnơi nào dịch vụ giúp việc quận 11 tphcm
nơi nào dịch vụ giúp việc quận 11 tphcm
 
Sugar n' Spice Pitch Presentation
Sugar n' Spice Pitch PresentationSugar n' Spice Pitch Presentation
Sugar n' Spice Pitch Presentation
 

การวิเคราะห์ข้อมูลใบเสร็จ7-elevenด้วย WEKA