SlideShare a Scribd company logo
1 of 17
การเลือกซื้อขนมใส่บาตรของคุณแม่
เสนอ
อาจารย์เรืองศักดิ์ ตระกูลพุทธิรักษ์
จัดทาโดย
นางสาว เบญจมาศ ดวงเด่น 55102011006
ตอนเรียนB01 กลุ่มผู้เรียนSC32
คณะวิทยาศาสตร์ สาขาวิทยาการคอมพิวเตอร์
โครงงานนี้เป็นส่วนหนึ่งของการศึกษารายวิชา CP463 ปัญญาประดิษฐ์
(ARTIFICIAL INTELLIGENT)
มหาวิทยาลัยศรีนคริทรวิโรฒ
ภาคการศึกษาที่ 2 ปีการศึกษา 2557
คานา
โครงงานฉบับนี้จัดทาขึ้นเพื่อนาเสนอโครงงานการออกแบบและการพัฒนาระบบผู้เชี่ยวชาญเพื่อช่
วยในการตัดสินใจ ในหัวข้อเรื่อง การซื้อขนมใส่บาตรของคุณแม่
ผู้จัดทาโครงงาน ได้ศึกษา เรียนรู้จากการเรียนวิชา ปัญญาประดิษฐ์
สามารถนามาใช้ในการทาโครงงานเรื่องนี้ขึ้นมา เพื่อนาเสนอผลงานในด้านเชิงความคิด
โครงงานนี้นาเสนอการประยุกต์ใช้องค์ความรู้ทางด้าน ปัญญาประดิษฐ์
มาประยุกต์ใช้กับการเลือกซื้อขนมใส่บาตรของคุณแม่ ปัญญาประดิษฐ์จะถูกใช้
นามาคิดคานวณเพื่อช่วยในการเลือกซื้อขนมต่างๆ
ดังนั้ผู้จัดทาจึงหวังเป็นอย่างยิ่งว่าโครงงานเรื่องนี้จะเป็นประโยชน์แก่ผู้ที่จะสนใจศึกษาไม่มากก็น้อ
ย หากโครงงานเรื่องนี้มีข้อผิดพลาดประการใดก็ขออภัยมา ณ ที่นี้ด้วย
เบญจมาศ ดวงเด่น
สารบัญ
หน้า
ความสาคัญและที่มา ...............................................................................................................................................................1
ฐานความรู้.................................................................................................................................................................................2
Decision Tree......................................................................................................................................................................2
กฎ.......................................................................................................................................................................................3-8
หน้าจอการทางาน.............................................................................................................................................................9-11
ประกาศคุณูปการ..................................................................................................................................................................12
บรรณานุกรม.........................................................................................................................................................................17
1
สารบัญภาพประกอบ
หน้า
เปิดหน้าจอโปรแกรม Exsys................................................................................................................... 9
เปิดไฟล์ที่ทาการออกแบบและพัฒนาระบบผู้เชี่ยวชาญแล้ว จะปรากฎหน้าจอดังรูป............................................. 9
กดเลือกที่ Header“Goals”เพื่อทาการใส่คาตอบลงไป...................................................................................... 9
กดเลือกที่ Header“Question”เพื่อทาการใส่คาถามลงไป................................................................................. 10
กดเลือกที่ Header“Tree”ใส่DecisionTree ของโครงงานในโปรแกรม Exsysลงไป...................................................... 14
หลังจากกดเลือกOptions>Runแล้ว จะขึ้นคาถามในเราเลือกคาตอบดังรูป.......................................................... 14
คาถามข้อต่อไปถามว่า ไม่ซื้อขนมทาสาเร็จใช่หรือไม่? เราเลือก No................................................................. 15
คาตอบที่ได้จากการตอบคาถามทั้งหมด คือมีคนให้มา (Some gave it)............................................................... 15
1
ความสาคัญและที่มา
โครงงานนี้เป็นการออกแบบและการพัฒนาระบบผู้เชี่ยวชาญเพื่อช่วยในการตัดสินใจ
ในการเลือกซื้อขนมใส่บาตรของคุณแม่ โดยได้มีการสัมภาษณ์จากคุณแม่เพื่อเก็บข้อมูลในการตัดสินใจ
และได้นาความรู้จากวิชา CP463 ปัญญาประดิษฐ์ (ARTIFICIAL INTELLIGENT)
มาช่วยในการวิเคราะห์ปัญหา ออกแบบ และพัฒนาระบบู้เชี่ยวชาญนี้ขึ้น
ระบบผู้เชี่ยวชาญในการเลือกขนมใส่บาตรของคุณแม่
โดยมีวัตถุประสงค์เพื่อพัฒนาระบบผู้เชี่ยวชาญ
เพื่อช่วยในการตัดสินใจในการเลือกซื้อขนมใส่บาตรของคุณแม่จนได้คาตอบ โดยใช้โปรแกรม Exsys
ซึ่งเป็นเครื่องมือในการออกแบบและสร้างระบบผู้เชี่ยวชาญมาทาหน้าที่ในการสร้างกฎและอนุมานการสร้า
งกฎ โดยวิเคราะห์จากปัญหาเพื่อสร้าง Decision Tree
2
ฐานความรู้
 Decision Tree
การเลือกซื้อขนมใส่บาตรของคุณแม่
Do not buy dessert ready-
made products?
Chosen buy to Thai
dessert, or not?
Boiled dessert, or not?
Boiled withcoconut
milk, or not?
Steamed dessert,
or not?
Fruit boiled
with coconut
milk, or not?
Boiled withonlysugar,
or not?
Wrapped inbanana leaf
products, or not?
Anything else dessert
Which kind?
Which country
dessert?
Do it
yourself
Someone
gave it
Mother buys dessert offer foodto
monk, or not?
Banana in Coconut Milk
Pumpkinin Coconut Cream
Bualoy
Sweet stickyrice
Green
beans
in syrup
Sweet
potato
in sweet
ginger
tea
Palm Cake
Sarim
Lod Chong
khanom jark
khao Larm
yes
yes
yes
yes
yes
no
yes
yes Grill
no
no
no
no
Ice
no
no
no
yes
yes no
Made bycandy,
or not?
yes no
Boiled
bananas
in syrup
User stickyrice
is raw material,
or not?
Eat with fruit,
or not?
Khao Tom Mad
yes
yes
Stickyrice custard
no
no
Khanom Sod-Sai
Kalamare
Stir
Kai hung
Fried
Perfume
Dry out Sun-dried
bananas
Aalaw
Moji
Steamed
dumpling
Cookie
Cake
Japan
China USA
3
กฎ
Rule 1
IF Mother buys dessert offer foodto monk,or not ?Yes
AND Chosen buyto Thai dessert,or not?Yes
AND Boileddessert, or not? Yes
AND Boiledwith coconutmilk,or not? Yes
AND Fruitboiledwith coconutmilk,or not? Yes
THEN
Banana in Coconut Milk , PumpkininCoconutCream
Rule 2
IF Mother buys dessert offer foodto monk, or not ?Yes
AND Chosen buyto Thai dessert,or not?Yes
AND Boileddessert, or not? Yes
AND Boiledwith coconutmilk,or not? Yes
AND Fruit boiledwith coconut milk, or not?No
THEN
Bualoy, Sweetsticky rice
Rule 3
IF Mother buys dessert offer foodto monk, or not ?Yes
AND Chosen buyto Thai dessert,or not?Yes
AND Boileddessert, or not? Yes
AND Boiledwith coconutmilk,or not? No
AND Boiledwith onlysugar,or not?Yes
AND Made bycandy, or not? Yes
THEN
Boiledbananasin syrup
Rule 4
IF Mother buys dessert offer foodto monk, or not ?Yes
AND Chosen buyto Thai dessert,or not?Yes
4
AND Boileddessert, or not? Yes
AND Boiledwith coconutmilk,or not? No
AND Boiledwith onlysugar,or not?Yes
AND Made bycandy, or not? No
THEN
Greenbeansin syrup
Rule 5
IF Mother buys dessert offer foodto monk, or not ?Yes
AND Chosen buyto Thai dessert,or not?Yes
AND Boileddessert, or not? Yes
AND Boiled with coconutmilk,or not? No
AND Boiledwith onlysugar,or not? No
THEN
Sweetpotato in sweetgingertea
Rule 6
IF Mother buys dessert offer foodto monk, or not ?Yes
AND Chosen buyto Thai dessert,or not?Yes
AND Boileddessert, or not? No
AND Steameddessert,or not? Yes
AND Wrappedin bananaleafproducts,or not?Yes
AND User sticky rice israw material,or not? Yes
AND Eatwith fruit, or not? Yes
THEN
Khao TomMad
Rule 7
IF Mother buys dessert offer foodto monk, or not ?Yes
AND Chosen buyto Thai dessert,or not?Yes
AND Boileddessert, or not? No
AND Steameddessert,or not? Yes
5
AND Wrappedin bananaleafproducts,or not?Yes
AND User sticky rice israw material,or not? Yes
AND Eatwith fruit, or not? No
THEN
Stickyrice custard
Rule 8
IF Mother buys dessert offer foodto monk, or not ?Yes
AND Chosen buyto Thai dessert,or not?Yes
AND Boileddessert, or not? No
AND Steameddessert,or not? Yes
AND Wrappedin bananaleafproducts,or not?Yes
AND User sticky rice israw material,or not? No
THEN
KhanomSod-Sai
Rule 9
IF Mother buys dessert offer foodto monk, or not ?Yes
AND Chosen buyto Thai dessert,or not?Yes
AND Boileddessert, or not? No
AND Steameddessert,or not? Yes
AND Wrappedin bananaleafproducts,or not?No
THEN
PalmCake
Rule 10
IF Mother buys dessert offer foodto monk, or not ?Yes
AND Chosen buyto Thai dessert,or not?Yes
AND Boileddessert, or not? No
AND Steameddessert,or not? No
AND Anything else dessertWhichkind?Grill
THEN
khanomjark , khao Larm
6
Rule 11
IF Mother buys dessert offer foodto monk, or not ?Yes
AND Chosen buyto Thai dessert,or not?Yes
AND Boileddessert, or not? No
AND Steameddessert,or not? No
AND Anything else dessertWhichkind?Ice
THEN
Sarim,Lod Chong
Rule 12
IF Mother buys dessert offer foodto monk, or not ?Yes
AND Chosen buyto Thai dessert,or not?Yes
AND Boileddessert, or not? No
AND Steameddessert,or not? No
AND Anything else dessertWhichkind?Stir
THEN
Kalamare
Rule 13
IF Mother buys dessert offer foodto monk, or not ?Yes
AND Chosen buyto Thai dessert,or not?Yes
AND Boileddessert, or not? No
AND Steameddessert,or not? No
AND Anything else dessertWhichkind?Fried
THEN
Kai hung
Rule 14
IF Mother buys dessert offer foodto monk, or not ?Yes
AND Chosen buyto Thai dessert,or not?Yes
AND Boileddessert, or not? No
AND Steameddessert,or not? No
7
AND Anything else dessertWhichkind?Dryout
THEN
Sun-driedbananas
Rule 15
IF Mother buys dessert offer foodto monk, or not ?Yes
AND Chosen buyto Thai dessert,or not?Yes
AND Boileddessert, or not? No
AND Steameddessert,or not? No
AND Anything else dessertWhichkind?Perfume
THEN
Aalaw
Rule 16
IF Mother buys dessert offer foodto monk, or not ?Yes
AND Chosen buyto Thai dessert,or not?No
AND Whichcountrydessert? Japan
THEN
Moji
Rule 17
IF Mother buys dessert offer foodto monk, or not ?Yes
AND Chosen buyto Thai dessert,or not?No
AND Whichcountrydessert? China
THEN
Steameddumpling
Rule 18
IF Mother buys dessert offer foodto monk, or not ?Yes
AND Chosen buyto Thai dessert,or not?No
AND Whichcountrydessert? USA
THEN
Cookie, Cake
8
Rule 19
IF Mother buys dessert offer foodto monk, or not ?No
AND Do not buydessert ready-madeproducts?Yes
THEN
Do it yourself
Rule 20
IF Mother buys dessert offer foodto monk, or not ?No
AND Do not buydessert ready-madeproducts?No
THEN
Someonegave it
9
หน้าจอการทางาน
เปิดหน้าจอโปรแกรม Exsys
เปิดไฟล์ที่ทาการออกแบบและพัฒนาระบบผู้เชี่ยวชาญแล้ว จะปรากฎหน้าจอดังรูป
กดเลือกที่ Header “Goals” เพื่อทาการใส่คาตอบลงไป
10
กดเลือกที่ Header “Question” เพื่อทาการใส่คาถามลงไป
กดเลือกที่ Header “Tree” ใส่ Decision Tree ของโครงงานในโปรแกรม Exsys ลงไป
หลังจากกดเลือก Options>Run แล้ว จะขึ้นคาถามในเราเลือกคาตอบดังรูป
ในที่นี้ถามคุณแม่หาซื้อขนมใส่บาตรใช่หรือไม่?เราเลือกNo
11
คาถามข้อต่อไปถามว่าไม่ซื้อขนมทาสาเร็จใช่หรือไม่?เราเลือกNo
คาตอบที่ได้จากการตอบคาถามทั้งหมด คือ มีคนให้มา (Some gave it)
12
ประกาศคุณูปการ
ในการทาโครงงานระบบผู้เชี่ยวชาญในเรื่องการเลือกซื้อขนมใส่บาตรของคุณแม่
ต้องขอขอบคุณคุณแม่ที่ให้ความรู้จากการสัมภาษณ์ในเรื่องขนมสาหรับใส่บาตร
เพื่อนามาออกแบบและพัฒนาระบบผู้เชี่ยวชาญในโครงงานนี้ และทาให้โครงงานนี้สาเร็จลุล่วงไปได้ด้วยดี
ขอขอบคุณอาจารย์เรืองศักดิ์ ตระกูลพุทธิรักษ์
สาหรับคาปรึกษาและแนะนาแนวทางการออกแบบและพัฒนาระบบผู้เชี่ยวชาญแก่ข้าพเจ้าในครั้งนี้ให้ประ
สบความสาเร็จ
ทั้งหมดที่กล่าวมานี้คือ ผู้มีอุปการคุณในการทาโครงงานในครั้งนี้ ต้องขอขอบพระคุณมา ณ
ที่นี้ด้วย
เบญจมาศ ดวงเด่น
13
บรรณานุกรม
MultiLogic Exsys Developer. (1999).New York: MuitiLogic, Inc.
Online Exsys Corvid® Tutorials. (2009). เข้าถึงได้จาก:http://www.exsys.com/
Tutorials/CorvidTutorials.html (วันที่ค้นหาข้อมูล: 7 เมษายน 2558).

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

การเลือกซื้อขนมใส่บาตรของคุณแม่