SlideShare a Scribd company logo
1 of 34
การวิเคราะห์ข้อมูลโดยใช้
โปรแกรมweka3.7
เปิดโปรแกรมweka
เปิดไฟล์*.CSV ข้อมูลของเรา
เลือกCluster เลือกSimpleKMeans
กดclose กดStart
Run information
แบ่ง2กลุ่ม
แบ่ง3กลุ่ม
แบ่ง4กลุ่ม
แบ่ง5กลุ่ม
แบ่ง6กลุ่ม
แบ่ง7กลุ่ม
แบ่ง8กลุ่ม
แบ่ง9กลุ่ม
แบ่ง10กลุ่ม
แบ่ง11กลุ่ม
แบ่ง12กลุ่ม
แบ่ง13กลุ่ม
แบ่ง14กลุ่ม
แบ่ง15กลุ่ม
แบ่ง16กลุ่ม
แบ่ง17กลุ่ม
แบ่ง18กลุ่ม
แบ่ง19กลุ่ม
แบ่ง20กลุ่ม
กราฟแสดงค่า square error
Knee curve
แบ่งกลุ่มใหม่ num of cluster =15
หาว่าแต่ละcluster มีอาหารชนิดไหนบ้าง
อธิบายสีเหลืองคือสิ่งที่ผมซื้อทาไมอยู่หลาย
cluster
• จะเห็นได้ว่า cluster6,7,12 ซื้อwaterเหมือนกันแต่ซื้ออย่างถัดมาต่างกัน
• เนื่องจากผมเป็นคนต้องกินของรองท้องตอนเช้าผมจะซื้อเกือบทุกเช้าที่ไปเรียน คือวันจันทร์ถึง
ศุกร์ มีบางวันอาจจะไม่ได้ซื้อ
• วันไหนที่ผมรีบผมก็จะซื้อ waterกับfruit เพราะเวลาจะไม่มีเวลาในช่วงเช้าให้กิน noodle
หรือboxlunch
• ที่นี้ถามว่า boxlunch กับ noodle มันต่างกันยังไง ในส่วนนี้ผมจะเลือกซื้อสินค้าที่จัด
โปรโมชั่นซึงเมือซื้อ boxlunch คู่กับ water แล้วจะลดราคา ผมจึงทาให้บางวันผมไม่ได้ซื้อ
noodle
เตรียมข้อมูลเปลี่ยน f เป็น?
Associate-Ariori
การหาค่า lift
• Lift(LHS->RHS) =
𝑆𝑢𝑝𝑝𝑜𝑟𝑡 𝐿𝐻𝑆,𝑅𝐻𝑆 /𝑑𝑎𝑡𝑎
𝑆𝑢𝑝𝑝𝑜𝑟𝑡 𝐿𝐻𝑆 /𝐷𝑎𝑡𝑎∗𝑆𝑢𝑝𝑝𝑜𝑟𝑡 𝑅𝐻𝑆 /𝐷𝑎𝑡𝑎
• data - จานวณใบเสร็จ
ไฟล์classifyTrain
ไฟล์classifyTest
ความน่าเชื่อถือ66.666666666666666667%
ถูก8จาก12

More Related Content

Featured

How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
 

Featured (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

Weka