Works

Kejanggalan

Aneh banget kenapa hasil dari CMAR versi Java (www.csc.liv.ac.uk/~frans/KDD/Software/CMAR/cmar.html ) sangat tidak relevan…

SETTINGS
--------
File name                     = test.data
Support (default 20%)         = 20.0
Confidence (default 80%)      = 80.0
Number of classes             = 2

Masuk InputDataSet
Masuk
Masuk getNumberOfLines
Reading input file: test.data
Masuk readInputDataSet
1 5 6 8 
1 5 7 8 
3 4 6 9 
3 5 7 8 
3 5 6 8 
Number of records = 5
Number of columns = 9
Min support       = 1.0 (records)
START APRIORI-TFP CMAR
--------------------------
Support = 20.0, Confidence = 80.0
Num rows in training set = 5, reduced minimum support = 1.0
GENERATING P-TREE
------------------
Creating P-tree table
APRIORI-TFP WITH X-CHECKING
---------------------------
Minimum support threshold = 20.0% (1.0 (records)
Levels in T-tree = 5
Number of CMAR rules    = 5
prune CARS
WARNING: No test data
Generation time = 0.297 seconds (0.0049499999999999995 mins)
Number of frequent sets = 47
Number of Nodes created = 58
Number of Updates       = 70
T-tree Storage          = 776 (Bytes)
Accuracy = 0.0
Number of CMAR rules    = 5
(1)  {1}  ->  {8}  100.0%, (4.0, 4.0, 4.0)
(2)  {6}  ->  {9}  100.0%, (1.0, 1.0, 1.0)
(3)  {2 6}  ->  {9}  100.0%, (1.0, 1.0, 1.0)
(4)  {3 6}  ->  {9}  100.0%, (1.0, 1.0, 1.0)
(5)  {2 3 6}  ->  {9}  100.0%, (1.0, 1.0, 1.0)

harap dilihat data set nya….

Apakah mungkin menghasilkan rule seperti itu?

Rule yang gw dapet adalah…
7 – 5 – 1 8 (100%)
7 – 5 – 3 8 (100%)
6 – 5 – 1 8 (100%)
6 – 4 – 3 9 (100%)
6 – 5 – 3 8 (100%)

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s