SlideShare a Scribd company logo
1 of 17
การเลือกทาเครื่องดื่มในครอบครัว
เสนอ
อาจารย์เรืองศักดิ์ ตระกูลพุทธิรักษ์
จัดทาโดย
นางสาวสุวนันท์ สุดชิด 55102011028
ตอนเรียน B01 กลุ่มผู้เรียน SC32A
คณะวิทยาศาสตร์ สาขาวิทยาการคอมพิวเตอร์
โครงงานนี้เป็นส่วนหนึ่งของการศึกษารายวิชา CP463 ปัญญาประดิษฐ์
(ARTIFICIAL INTELLIGENT)
มหาวิทยาลัยศรีนครินทรวิโรฒ ภาคการศึกษาที่ 2 ปีการศึกษา 2557
สารบัญ
ที่มาและความสาคัญ .....................................................................................................................3
ฐานความรู้ Decision Tree.................................................................................................................4
กฎ (Rule) .......................................................................................................................................5
หน้าจอการทางาน........................................................................................................................13
ประกาศคุณูปการ........................................................................................................................16
บรรณานุกรม...............................................................................................................................17
ที่มาและความสาคัญ
โครงงานนี้เป็นการออกแบบและการพัฒนาระบบผู้เชี่ยวชาญเพื่อช่วยในการตัดสินใจในการเลือก
ทาเครื่องดื่มในครอบครัว
โดยได้มีการสัมภาษณ์คุณแม่เพื่อเก็บข้อมูลในการทาเครื่องดื่มเพื่อใช้ในการตัดสินใจ
และได้นาความรู้จากวิชา CP463 ปัญญาประดิษฐ์ (ARTIFICIAL INTELLIGENT)
มาช่วยในการวิเคราะห์ปัญหา ออกแบบ และพัฒนาระบบผู้เชี่ยวชาญนี้ขึ้น
ระบบผู้เชี่ยวชาญในการเลือกทาเครื่องดื่มในครอบครัว มีวัตถุประสงค์เพื่อพัฒนาระบบผู้เชี่ยวชาญ
เพื่อช่วยในการตัดสินใจในการเลือกทาเครื่องดื่มเพื่อหาคาตอบว่าเราต้องการดื่มเครื่องดื่มประเภทไหน
รสชาติแบบใด และสีของเครื่องดื่มเป็นแบบไหน
โดยใช้โปรแกรม Exsys
ซึ่งเป็นเครื่องมือในการออกแบบและสร้างระบบผู้เชี่ยวชาญมาทาหน้าที่ในการสร้างกฎและอนุมานการสร้า
งกฎ โดยวิเคราะห์จากปัญหาเพื่อสร้าง Decision Tree
มาช่วยในการสร้างระบบผู้เชี่ยวชาญในการเลือกทาเครื่องดื่มในครอบครัวนี้ขึ้น
ฐานความรู้ Decision Tree
กฎ (Rule)
Rule 1
IF
Do you wantto drinkthatis madefrom?Fruit
AND How doesittaste? Sweet
AND What colorisit? Red
THEN
Watermelonjuice
Rule 2
IF
Do you wantto drinkthatis madefrom?Fruit
AND How doesittaste? Sweet
AND What colorisit? White
THEN
Coconutjuice
Rule 3
IF
Do you wantto drinkthatis madefrom?Fruit
AND How doesittaste? Sweet
AND What colorisit? Orange
THEN
Orangejuice
Rule 4
IF
Do you wantto drinkthatis madefrom?Fruit
AND How doesittaste? Sweet
AND What colorisit? Yellow
THEN
Banana juice
Rule 5
IF
Do you wantto drinkthatis madefrom?Fruit
AND How doesittaste? Sweet
AND What colorisit? Purple
THEN
Grapejuice
Rule 6
IF
Do you wantto drinkthatis madefrom?Fruit
AND How doesittaste? Sour
AND What colorisit? Red
THEN
Strawberryjuice
Rule 7
IF
Do you wantto drinkthatis madefrom?Fruit
AND How doesittaste? Sour
AND What colorisit? White
THEN
Lemonjuice
Rule 8
IF
Do you wantto drinkthatis madefrom?Fruit
AND How doesittaste? Sour
AND What colorisit? Yellow
THEN
Pineapplejuice
Rule 9
IF
Do you wantto drinkthatis madefrom?Fruit
AND How doesittaste? Sour
AND What colorisit? Green
THEN
Kiwi juice
Rule 10
IF
Do you wantto drinkthatis madefrom?Fruit
AND How doesittaste? Sour
AND What colorisit? Purple
THEN
Blueberryjuice
Rule 11
IF
Do you wantto drinkthatis madefrom?Vegetable
AND How doesittaste? Bitter
AND What coloris it? Green
THEN
Charantia
Rule 12
IF
Do you wantto drinkthatis madefrom?Vegetable
AND How doesittaste? Mild
AND What colorisit? Yellow
THEN
Pumpkin
Rule 13
IF
Do you wantto drinkthatis madefrom?Vegetable
AND How doesittaste? Mild
AND What colorisit? Green
THEN
Cucumber
Rule 14
IF
Do you wantto drinkthatis madefrom?Vegetable
AND How doesittaste? Mild
AND What colorisit? Orange
THEN
Carrot
Rule 15
IF
Do you wantto drinkthatis madefrom?Vegetable
AND How doesittaste? Mild
AND What colorisit? Red
THEN
Tomato
Rule 16
IF
Do you wantto drinkthatis madefrom?Vegetable
AND How doesittaste? Mild
AND What colorisit? Brown
THEN
Tamarind
Rule 17
IF
Do you wantto drinkthatis madefrom?Herb
AND How doesittaste? Bitter
AND What colorisit? Green
THEN
Centellaasiatica
Rule 18
IF
Do you wantto drinkthatis madefrom?Herb
AND How doesittaste? Bitter
AND What colorisit? Yellow
THEN
Andrographispaniculata
Rule 19
IF
Do you wantto drinkthatis madefrom?Herb
AND How doesittaste? Mild
AND What colorisit? Red
THEN
Roselle
Rule 20
IF
Do you wantto drinkthatis madefrom?Herb
AND How doesittaste? Mild
AND What colorisit? Blue
THEN
Butterfly pea
Rule 21
IF
Do you wantto drinkthatis madefrom?Herb
AND How doesittaste? Mild
AND What colorisit? Green
THEN
Pandan
Rule 22
IF
Do you wantto drinkthatis madefrom?Herb
AND How doesittaste? Mild
AND What colorisit? Yellow
THEN
Ginger
หน้าจอการทางาน
หน้าจอโปรแกรม exsys
เปิดไฟล์ที่ทาการออกแบบและพัฒนาระบบผู้เชี่ยวชาญแล้ว
หลังจากกดเลือก Options>Run แล้ว จะขึ้นคาถามในเราเลือกคาตอบดังรูป
โดยจะถามว่าคุณต้องการเครื่องดื่มที่ทาจากอะไร และมีตัวเลือกให้เลือก “ผลไม้” “ผัก” “สมุนไพร”
คาถามข้อต่อไปก็จะถามรสชาติของเครื่องดื่มว่าอยากจะทาเครื่องดื่มที่มีรสชาติแบบไหน
และมีตัวเลือกให้เลือก “หวาน” “เปรี้ยว”
คาถามข้อต่อไปให้เลือกสีของเครื่องดื่มว่ามีสีอะไร “สีแดง” “สีขาว” “สีส้ม” “สีเหลือง” สีม่วง“”
ในที่นี้จะเลือก เครื่องดื่มที่ทาจาก “ผลไม้” มีรสชาติ “หวาน” และมีสีของเครื่องดื่มที่เป็น “สีแดง”
คาตอบในที่นี้ก็คือ ควรจะทา “น้าแตงโม”
ประกาศคุณูปการ
ในการทาโครงงานระบบผู้เชี่ยวชายในเรื่องการเลือกทาเครื่องดื่มในครอบครัว
ต้องขอขอบคุณคุณแม่ที่ให้ความรู้จากการสัมภาษณ์ในการทาเครื่องที่ควรทามาจากอะไร
มีรสชาติแบบไหน และมีสีอะไร เพื่อจะได้นามาออกแบบและพัฒนาระบบผู้เชี่ยวชาญในโครงงานนี้
และทาให้โครงงานนี้สาเร็จตามเป้ าหมาย
ขอขอบคุณอาจารย์เรืองศักดิ์ ตระกูลพุทธิรักษ์
ที่ให้ได้คาปรึกษาและแนะนาแนวทางการออกแบบและพัฒนาระบบผู้เชี่ยวชาญแก่ข้าพเจ้าในครั้งนี้ให้ ประ
สบความสาเร็จ
ทั้งหมดที่กล่าวมานี้คือ ผู้มีอุปการคุณในการทาโครงงานในครั้งนี้ ต้องขอขอบพระคุณมา ณ ที่นี้
สุวนันท์ สุดชิด
บรรณานุกรม
MultiLogic Exsys Developer. (1999). NewYork: MuitiLogic, Inc.
Online Exsys Corvid® Tutorials. (2009). เข้าถึงได้จาก:http://www.exsys.com/
Tutorials/CorvidTutorials.html(วันที่ค้นหาข้อมูล: 5 เมษายน 2558).

More Related Content

Featured

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 HubspotMarius Sescu
 
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 ChatGPTExpeed Software
 
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 EngineeringsPixeldarts
 
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 HealthThinkNow
 
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.pdfmarketingartwork
 
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 2024Neil Kimberley
 
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)contently
 
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 2024Albert Qian
 
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 InsightsKurio // The Social Media Age(ncy)
 
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 2024Search Engine Journal
 
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 summarySpeakerHub
 
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 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 Tessa Mero
 
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 IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
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 managementMindGenius
 
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...RachelPearson36
 

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...
 

การเลือกทำเครื่องดื่ม