際際滷

際際滷Share a Scribd company logo
Waikato Environment for Knowledge
Analysis (WEKA)
CP463 B01 ARTIFICIAL INTELLIGENCE
犢犖犖 犖犖迦権犖犖伍犖犖 犖犖園犖犖萎犖園権犖犖 54102010374
C鉛顎壊岳艶姻庄稼乙
Preprocess
 Relation
Instances: 52
Attributes: 36
 Clustering Algorithm
SimpleKMeans
Determining the number of clusters
0
10
20
30
40
50
60
70
80
90
100
0 5 10 15 20 25
Squarederrors
Number of Cluster
Squared errors by Number of Clusters
 犖犖橿犖о Cluster 犖犖朽犢犖犖÷験犖萎肩犖÷犖犖犖橿牽犢犖犢犖犖犖ム幻犢犖 犖犖劇賢 15 犢犖犖犖橿鍵犖о犖橿犢犖
Squared errors 犢犖犖犢犖о犖犖犖犖犖橿犖о Cluster 犖犖朽犢犖犢犖橿犖園 15 犖犖園犖
犖÷元犖ム険犖犖犖犖萎献犖項犖ム犖÷験犖犖犖橿犖犢犢犖犖巌 Knee Curve 犢犖ム鍵犖犖橿検犖橿牽犖犢犖犢犖犖犖ム幻犢犖÷犖犢
犢犖犢犖犖犖橿犖о犖÷験犖犖犖朽犖犖伍
Model and Evaluation
Clusters Instances
0 13 (25%)
1 9 (17%)
2 3 (6%)
3 1 (2%)
4 1 (2%)
5 4 (8%)
6 2 (4%)
7 4 (8%)
8 5 (10%)
9 1 (2%)
10 2 (4%)
11 1 (2%)
12 4 (8%)
13 1 (2%)
14 1 (2%)
15 1 (2%)
Result
 犖犖橿犖犖ム献犖園犖犢犖犖橿牽犢犖犢犖犖犖ム険犖犢犖犖犖犢 犖犖犖о犖橿牽犖橿権犖犖橿牽犖犖劇犖犖犖犖犖犖項犖犖園犖犖橿賢犖∇弦犢犢犖犖犖ム険犖犢犖犖犖犢 3, 5, 8, 9, 13
犢犖ム鍵 14 犢犖犢犖犢犖ム鍵犖犖ム険犖犢犖犖犖犢犖犖萎肩犖巌犖犖犖朽犢犖犖犖犢犖橿犖犖園犖犖劇賢犖犖橿権犖犖橿牽犖犖巌犖犢犖 犢犖犖 犖犖橿犖 犢犖о献犖橿犖ム鍵犢犖о献犖
犖犖橿牽犢犖犢犖橿犖犖朽権犖(犖犖橿権犖犖犖劇賢犢犖÷犖犖橿権)
C鉛温壊壊庄韓庄界温岳庄看稼
Preprocess
 Training set
Instances: 44
Attributes: 38
Class: Gender (Female, Male)
 Test set
Instances: 8
Attributes: 38
 Classification Algorithm
J48 with 10 Folds Cross-validation
ZeroR for Arff generation
Training Result
 Summary
Correctly Classified Instances 33 (75%)
Incorrectly Classified Instances 11 (25%)
 Detailed Accuracy by Class
TP Rate FP Rate Precision Recall F-Measure ROC Area Class
0.471 0.074 0.8 0.471 0.593 0.599 Male
0.926 0.529 0.735 0.926 0.82 0.599 Female
Weighted
Average
0.75 0.353 0.76 0.75 0.732 0.599
Testing Result
Gender PredictedGender
Male Male
Male Female
Female Female
Male Male
Female Female
Female Female
Male Female
Female Female
Accuracy 75%
A壊壊看界庄温岳庄看稼
Preprocess
 Relation
Instances: 52
Attribute: 36
 Association Algorithm
Apriori
Apriori Setup & Result
 Minimum support: 0.05
 Minimum confidence: 0.2
 Best 4 rules:
Association Rules L Support R Support (L,R)
Support
Confidence Lift
ButterBread  DrinkingWater 0.08 0.23 0.06 0.75 3.25
CoconutJuice ==> DrinkingWater 0.13 0.23 0.06 0.43 1.86
DrinkingWater ==> CoconutJuice 0.23 0.13 0.06 0.25 1.86
DrinkingWater ==> ButterBread 0.23 0.08 0.06 0.25 3.25
材犖犖犖迦牽犖幡顕犢仰犖犖犖

More Related Content

Waikato environment for knowledge analysis (weka)