Project Weka

25
Wek a CP463 ARTIFICIAL INTELLIGENCE 2/2557 นนนนนนนนนนนน นนนนนนนนนนนน 55102010338

Transcript of Project Weka

Weka

 

CP463 ARTIFICIAL INTELLIGENCE 2/2557

นางสาวอรณิชา จึ งอร�ามวงศ์� 55102010338

ชุ�ดข้�อมู�ล

https://docs.google.com/spreadsheets/d/1wfk08IOggoN1DnmDrgtgx0-ObPPfxWRzo-JBHWQB6Ak/edit#gid=0

โปรแกรมู Weka

Cluster

เปิ�ดไฟล์�ข้�อม�ล์ข้ �นมา

เล์�อก Cluster

ก�าหนดจึ�านวนกล์!�มหร�อnumClusters

numClusters = 2

Number of

Cluster

sum of squared errors

2 1953 1714 1715 1456 1377 1318 1129 95

10 8911 8312 8213 81

2 1953 1714 1715 1456 1377 1318 1129 95

10 8911 8312 8213 81

จึ!ด knee of the curve แบ่�งได� 10 กล์!�ม

0 2 4 6 8 10 12 140

50

100

150

200

250

1chocola

tepuddi

ng couple home thin no female

2 ovantin icecre

am single home thin no female

3 couple dome fat yes male4 single home fat no female5 couple home thin no female

6 yenyennapki

n kitkat single dome thin yes male

7 milkcand

y single home fat no female

8 icemam

a taro single dome thin yes male

9tomatoj

uiceovant

inpineap

pleicecre

am single home thin no male

10 single dome thin yes male

Classification

เปิ�ดไฟล์�ข้�อม�ล์ที่%&จึะน�ามาที่�าเปิ(นตั*ว training set

ที่%&แถบ่ Classify เล์�อก MultilayerPerceptron

ก�าหนดจึ�านวนรอบ่ข้องการ train

ผล์ปิระเมนโมเดล์

ที่�าการ save model ออกมา

เปิ�ดไฟล์�ข้�อม�ล์ที่%&ตั�องการจึะที่�านาย

ที่%&แถบ่ classify กด Load model ที่%&สร�างไว�

ที่%& Supplied test set เล์�อกไฟล์�ที่%&ตั�องการจึะที่�านาย

คล์กข้วาที่%&โมเดล์เล์�อก Re-evaluate model on current test set

ที่�าการ save ไฟล์� ผล์ล์*พธ์�ออกมา

Association

เปิ�ดไฟล์�ที่%&ตั�องการหาความส*มพ*นธ์�ข้องข้�อม�ล์

ที่%&แถบ่ Associate เล์�อก Aprioriก�าหนดค�า minMetric ค�อระด*บ่ค�า confident ตั�&าส!ดที่%&ยอมร*บ่ได� แล์ะ ก�าหนดจึ�านวนกฎที่%&ตั�องการแสดงที่%& numRules

ผล์ล์*พธ์�