20
กกกกกกกกกกกกกกกกกกกกกกก เเเเเเเ เเเเเเเ 55102011006

Presentation expert system

Embed Size (px)

Citation preview

Page 1: Presentation expert system

การเลื�อกซื้�อขนมใส่�บาตรของคุ�ณแม�เบญจมาศ ดวงเด�น 55102011006

Page 2: Presentation expert system

คุวามส่�าคุ�ญแลืะที่��มาโครงงานน��เป็�นการออกแบบและการพั�ฒนาระบบผู้��

เชี่�!ยวชี่าญเพั#!อชี่�วยในการตั�ดสิ'นใจ ในการเล#อกซื้#�อขนมใสิ�บาตัรของค*ณแม� โดยได�ม�การสิ�มภาษณ/จากค*ณแม�เพั#!อเก0บข�อม�ลในการตั�ดสิ'นใจ และได�น1าความร� �จากว'ชี่า CP463 ป็2ญญาป็ระด'ษฐ์/ (ARTIFICIAL INTELLIGENT) มาชี่�วยในการว'เคราะห์/ป็2ญห์า ออกแบบ และพั�ฒนาระบบผู้��เชี่�!ยวชี่าญน��ข5�น

ระบบผู้��เชี่�!ยวชี่าญในการเล#อกขนมใสิ�บาตัรของค*ณแม� ม�ว�ตัถุ*ป็ระสิงค/เพั#!อพั�ฒนาระบบผู้��เชี่�!ยวชี่าญ และเพั#!อชี่�วยในการตั�ดสิ'นใจในการเล#อกซื้#�อขนมใสิ�บาตัรของค*ณแม�จนได�ค1าตัอบ โดยผู้�านการใชี่�โป็รแกรม Exsys ซื้5!งเป็�นเคร#!องม#อในการออกแบบและสิร�างระบบผู้��เชี่�!ยวชี่าญมาทำ1าห์น�าทำ�!ในการสิร�างกฎและอน*มานการสิร�างกฎ โดยว'เคราะห์/จากป็2ญห์าเพั#!อสิร�าง Decision Tree

Page 3: Presentation expert system

ฐานคุวามร !Decision Tree

การเล#อกซื้#�อขนมใสิ�บาตัรของค*ณแม�

Page 4: Presentation expert system

ฐานคุวามร !กฎ

Rule 1IF

Mother buys dessert offer food to monk, or not ? Yes AND Chosen buy to Thai dessert, or not? YesAND Boiled dessert, or not? YesAND Boiled with coconut milk, or not? YesAND Fruit boiled with coconut milk, or not? Yes

THEN Banana in Coconut Milk , Pumpkin in Coconut Cream

Rule 2IF

Mother buys dessert offer food to monk, or not ? Yes AND Chosen buy to Thai dessert, or not? YesAND Boiled dessert, or not? YesAND Boiled with coconut milk, or not? YesAND Fruit boiled with coconut milk, or not? No

THENBualoy , Sweet sticky rice

Page 5: Presentation expert system

Rule 3IF

Mother buys dessert offer food to monk, or not ? Yes

AND Chosen buy to Thai dessert, or not? YesAND Boiled dessert, or not? YesAND Boiled with coconut milk, or not? NoAND Boiled with only sugar, or not? YesAND Made by candy, or not? Yes

THENBoiled bananas in syrupRule 4

IF Mother buys dessert offer food to monk, or not ? Yes AND Chosen buy to Thai dessert, or not? YesAND Boiled dessert, or not? YesAND Boiled with coconut milk, or not? NoAND Boiled with only sugar, or not? YesAND Made by candy, or not? No

THENGreen beans in syrup

Page 6: Presentation expert system

Rule 5IF

Mother buys dessert offer food to monk, or not ? Yes AND Chosen buy to Thai dessert, or not? YesAND Boiled dessert, or not? YesAND Boiled with coconut milk, or not? NoAND Boiled with only sugar, or not? No

THENSweet potato in sweet ginger tea 

Rule 6IF

Mother buys dessert offer food to monk, or not ? Yes AND Chosen buy to Thai dessert, or not? YesAND Boiled dessert, or not? NoAND Steamed dessert, or not? YesAND Wrapped in banana leaf products, or not? YesAND User sticky rice is raw material, or not? YesAND Eat with fruit, or not? Yes

  THENKhao Tom Mad

Page 7: Presentation expert system

Rule 7IF

Mother buys dessert offer food to monk, or not ? Yes AND Chosen buy to Thai dessert, or not? YesAND Boiled dessert, or not? NoAND Steamed dessert, or not? YesAND Wrapped in banana leaf products, or not? YesAND User sticky rice is raw material, or not? YesAND Eat with fruit, or not? No

  THENSticky rice custard

Rule 8IF Mother buys dessert offer food to monk, or not ? Yes

AND Chosen buy to Thai dessert, or not? YesAND Boiled dessert, or not? NoAND Steamed dessert, or not? YesAND Wrapped in banana leaf products, or not? YesAND User sticky rice is raw material, or not? No

THENKhanom Sod-Sai

Page 8: Presentation expert system

Rule 9IF Mother buys dessert offer food to monk, or not

? Yes AND Chosen buy to Thai dessert, or not? YesAND Boiled dessert, or not? NoAND Steamed dessert, or not? YesAND Wrapped in banana leaf products, or not?

NoTHEN

Palm Cake Rule 10

IF Mother buys dessert offer food to monk, or not

? Yes AND Chosen buy to Thai dessert, or not? YesAND Boiled dessert, or not? NoAND Steamed dessert, or not? NoAND Anything else dessert Which kind? Grill

THENkhanom jark , khao Larm

Page 9: Presentation expert system

Rule 11IF Mother buys dessert offer food to monk, or not ?

Yes AND Chosen buy to Thai dessert, or not? YesAND Boiled dessert, or not? NoAND Steamed dessert, or not? NoAND Anything else dessert Which kind? Ice

THENSarim , Lod Chong

  Rule 12

IF Mother buys dessert offer food to monk, or not ?

Yes AND Chosen buy to Thai dessert, or not? YesAND Boiled dessert, or not? NoAND Steamed dessert, or not? NoAND Anything else dessert Which kind? Stir

THENKalamare

Page 10: Presentation expert system

Rule 13IF

Mother buys dessert offer food to monk, or not ? Yes

AND Chosen buy to Thai dessert, or not? YesAND Boiled dessert, or not? NoAND Steamed dessert, or not? NoAND Anything else dessert Which kind? Fried

THENKai hung

 Rule 14

IF Mother buys dessert offer food to monk, or not ?

Yes AND Chosen buy to Thai dessert, or not? YesAND Boiled dessert, or not? NoAND Steamed dessert, or not? NoAND Anything else dessert Which kind? Dry out

THENSun-dried bananas

 

Page 11: Presentation expert system

Rule 15IF

Mother buys dessert offer food to monk, or not ? Yes

AND Chosen buy to Thai dessert, or not? YesAND Boiled dessert, or not? NoAND Steamed dessert, or not? NoAND Anything else dessert Which kind? Perfume

THENAalaw

Rule 16IF

Mother buys dessert offer food to monk, or not ? Yes

AND Chosen buy to Thai dessert, or not? NoAND Which country dessert? Japan

THENMoji

 

Page 12: Presentation expert system

Rule 17IF

Mother buys dessert offer food to monk, or not ? Yes

AND Chosen buy to Thai dessert, or not? NoAND Which country dessert? China

THENSteamed dumpling

 Rule 18

IF Mother buys dessert offer food to monk, or

not ? Yes AND Chosen buy to Thai dessert, or not? NoAND Which country dessert? USA

THENCookie , Cake

Page 13: Presentation expert system

Rule 19IF

Mother buys dessert offer food to monk, or not ? No

AND Do not buy dessert ready-made products? Yes

THENDo it yourself

 Rule 20

IF Mother buys dessert offer food to monk, or not ?

NoAND Do not buy dessert ready-made products?

NoTHEN

Someone gave it

Page 14: Presentation expert system

หน!าจอการที่�างาน

เป็9ดห์น�าจอโป็รแกรม Exsys

เป็9ดไฟล/ทำ�!ทำ1าการออกแบบและพั�ฒนาระบบผู้��เชี่�!ยวชี่าญแล�ว จะป็รากฎห์น�าจอด�งร�ป็

Page 15: Presentation expert system

กดเล#อกทำ�! Header “Goals” เพั#!อทำ1าการใสิ�ค1าตัอบลงไป็

Page 16: Presentation expert system

กดเล#อกทำ�! Header “Question” เพั#!อทำ1าการใสิ�ค1าถุามลงไป็

Page 17: Presentation expert system

กดเล#อกทำ�! Header “Tree” ใสิ� Decision Tree ของโครงงานในโป็รแกรม Exsys

ลงไป็

Page 18: Presentation expert system

ห์ล�งจากกดเล#อก Options>Run แล�ว จะข5�น

ค1าถุามในเราเล#อกค1าตัอบด�งร�ป็ ในทำ�!น��ถุาม ค*ณแม�ห์าซื้#�อขนมใสิ�บาตัรใชี่�ห์ร#อไม�? เราเล#อก No

ค1าถุามข�อตั�อไป็ถุามว�า ไม�ซื้#�อขนมทำ1าสิ1าเร0จใชี่�ห์ร#อไม�? เรา

เล#อก No

Page 19: Presentation expert system

ค1าตัอบทำ�!ได�จากการตัอบค1าถุามทำ��งห์มด ค#อ ม�คนให์�มา (Some gave it)

Page 20: Presentation expert system

ประกาศคุ�ณ ปการ 

ในการทำ1าโครงงานระบบผู้��เชี่�!ยวชี่าญในเร#!องการเล#อก ซื้#�อขนมใสิ�บาตัรของค*ณแม� ตั�องขอขอบค*ณค*ณแม�ทำ�!ให์�ความ

ร� �จากการสิ�มภาษณ/ในเร#!องขนมสิ1าห์ร�บใสิ�บาตัร เพั#!อน1ามา ออกแบบและพั�ฒนาระบบผู้��เชี่�!ยวชี่าญในโครงงานน�� และทำ1าให์�

โครงงานน��สิ1าเร0จล*ล�วงไป็ได�ด�วยด� ขอขอบค*ณอาจารย/เร#องศ�กด'; ตัระก�ลพั*ทำธิ'ร�กษ/

สิ1าห์ร�บค1าป็ร5กษาและแนะน1าแนวทำางการออกแบบและพั�ฒนาระบบผู้��เชี่�!ยวชี่าญแก�ข�าพัเจ�าในคร��งน��ให์�ป็ระสิบความสิ1าเร0จ

ทำ��งห์มดทำ�!กล�าวมาน��ค#อ ผู้��ม�อ*ป็การค*ณในการทำ1าโครง งานในคร��งน�� ตั�องขอขอบพัระค*ณมา ณ ทำ�!น��ด�วย