=== Run information === Scheme:weka.classifiers.rules.JRip -F 3 -N 2.0 -O 2 -S 1 Relation: winequality_WEKA-weka.filters.unsupervised.attribute.Remove-R13-15,17-23,25-30-weka.filters.unsupervised.attribute.Discretize-unset-class-temporarily-B3-M-1.0-R13,14-weka.filters.unsupervised.attribute.Remove-R13 Instances: 6497 Attributes: 13 color fixed acidity volatile acidity citric acid residual sugar chlorides free sulfur dioxide total sulfur dioxide density pH sulphates alcohol WineQualityOutlier Test mode:5-fold cross-validation === Classifier model (full training set) === JRIP rules: =========== (volatile acidity >= 0.385) and (color = white) and (volatile acidity >= 0.485) and (pH <= 3.17) => WineQualityOutlier='(0.666667-inf)' (77.0/5.0) (citric acid >= 0.46) and (fixed acidity <= 6.5) => WineQualityOutlier='(0.666667-inf)' (181.0/65.0) (volatile acidity >= 0.39) and (total sulfur dioxide >= 44) and (fixed acidity <= 6.6) and (total sulfur dioxide >= 160) => WineQualityOutlier='(0.666667-inf)' (48.0/7.0) (volatile acidity >= 0.33) and (total sulfur dioxide >= 45) and (volatile acidity >= 0.41) and (residual sugar >= 7.6) and (chlorides >= 0.061) => WineQualityOutlier='(0.666667-inf)' (33.0/1.0) (volatile acidity >= 0.33) and (total sulfur dioxide >= 46) and (volatile acidity >= 0.475) and (density <= 0.99577) => WineQualityOutlier='(0.666667-inf)' (166.0/48.0) (sulphates >= 0.64) and (total sulfur dioxide >= 51) and (sulphates >= 0.83) and (total sulfur dioxide >= 67) => WineQualityOutlier='(0.666667-inf)' (75.0/12.0) (pH >= 3.41) and (pH >= 3.54) and (total sulfur dioxide >= 37) => WineQualityOutlier='(0.666667-inf)' (113.0/43.0) (citric acid >= 0.43) and (pH <= 3.01) and (sulphates >= 0.48) and (residual sugar >= 4.1) => WineQualityOutlier='(0.666667-inf)' (43.0/4.0) (fixed acidity >= 7.7) and (free sulfur dioxide >= 33) and (total sulfur dioxide >= 197) => WineQualityOutlier='(0.666667-inf)' (51.0/15.0) (volatile acidity >= 0.33) and (pH <= 3.06) and (pH <= 2.95) and (citric acid <= 0.34) => WineQualityOutlier='(0.666667-inf)' (16.0/0.0) (citric acid >= 0.43) and (total sulfur dioxide >= 51) and (pH >= 3.24) and (citric acid >= 0.5) => WineQualityOutlier='(0.666667-inf)' (41.0/8.0) (free sulfur dioxide >= 64) and (residual sugar <= 10.6) and (volatile acidity >= 0.27) and (total sulfur dioxide >= 168) => WineQualityOutlier='(0.666667-inf)' (34.0/5.0) (sulphates >= 0.7) and (sulphates >= 0.86) and (citric acid <= 0.44) => WineQualityOutlier='(0.666667-inf)' (53.0/16.0) (volatile acidity >= 0.33) and (sulphates <= 0.43) and (volatile acidity >= 0.42) => WineQualityOutlier='(0.666667-inf)' (89.0/35.0) (chlorides >= 0.083) and (residual sugar >= 3.4) and (chlorides <= 0.132) and (chlorides >= 0.111) => WineQualityOutlier='(0.666667-inf)' (32.0/3.0) (volatile acidity >= 0.33) and (total sulfur dioxide >= 46) and (citric acid <= 0.13) and (alcohol >= 9.9) => WineQualityOutlier='(0.666667-inf)' (47.0/13.0) (sulphates >= 0.62) and (fixed acidity <= 6.6) and (fixed acidity <= 6.2) and (citric acid >= 0.31) => WineQualityOutlier='(0.666667-inf)' (35.0/6.0) (free sulfur dioxide <= 13) and (color = white) and (total sulfur dioxide <= 61) => WineQualityOutlier='(0.666667-inf)' (56.0/20.0) (fixed acidity >= 7.9) and (pH <= 3.08) and (chlorides <= 0.03) => WineQualityOutlier='(0.666667-inf)' (37.0/12.0) (citric acid >= 0.43) and (alcohol >= 12.4) and (alcohol >= 12.7) => WineQualityOutlier='(0.666667-inf)' (22.0/4.0) (fixed acidity >= 7.7) and (chlorides >= 0.1) and (total sulfur dioxide >= 71) => WineQualityOutlier='(0.666667-inf)' (18.0/4.0) (pH <= 3.08) and (fixed acidity >= 8.1) and (free sulfur dioxide >= 19) and (sulphates >= 0.52) and (citric acid <= 0.53) => WineQualityOutlier='(0.666667-inf)' (20.0/0.0) (total sulfur dioxide >= 163) and (free sulfur dioxide >= 69) and (free sulfur dioxide >= 82) and (volatile acidity <= 0.26) => WineQualityOutlier='(0.666667-inf)' (15.0/0.0) (chlorides >= 0.084) and (fixed acidity <= 6.6) and (chlorides <= 0.115) and (volatile acidity <= 0.57) => WineQualityOutlier='(0.666667-inf)' (18.0/0.0) (fixed acidity >= 7.7) and (pH >= 3.44) => WineQualityOutlier='(0.666667-inf)' (29.0/8.0) (fixed acidity <= 6) and (fixed acidity <= 5) and (volatile acidity <= 0.33) => WineQualityOutlier='(0.666667-inf)' (22.0/1.0) (free sulfur dioxide >= 43) and (free sulfur dioxide >= 59) and (alcohol >= 11.4) => WineQualityOutlier='(0.666667-inf)' (18.0/4.0) (density >= 0.99402) and (alcohol >= 9.7) and (residual sugar >= 13.9) and (chlorides <= 0.037) => WineQualityOutlier='(0.666667-inf)' (16.0/2.0) (total sulfur dioxide >= 187) and (pH <= 3.11) and (residual sugar <= 11.3) and (pH <= 3.06) => WineQualityOutlier='(0.666667-inf)' (25.0/3.0) (chlorides >= 0.053) and (total sulfur dioxide >= 86) and (free sulfur dioxide >= 59) and (residual sugar >= 6.6) and (total sulfur dioxide <= 185) => WineQualityOutlier='(0.666667-inf)' (27.0/5.0) (chlorides >= 0.064) and (residual sugar >= 3.1) and (volatile acidity <= 0.2) => WineQualityOutlier='(0.666667-inf)' (13.0/1.0) (volatile acidity >= 0.31) and (chlorides >= 0.092) and (citric acid <= 0.21) and (chlorides >= 0.12) and (residual sugar <= 2.3) => WineQualityOutlier='(0.666667-inf)' (13.0/0.0) (fixed acidity >= 7.6) and (sulphates <= 0.5) and (chlorides <= 0.038) and (free sulfur dioxide >= 22) => WineQualityOutlier='(0.333333-0.666667]' (92.0/27.0) (free sulfur dioxide <= 22) and (fixed acidity <= 6.7) and (volatile acidity >= 0.32) and (alcohol >= 10.7) and (density >= 0.99063) and (pH <= 3.41) => WineQualityOutlier='(0.333333-0.666667]' (37.0/6.0) (free sulfur dioxide <= 22) and (fixed acidity <= 6.7) and (citric acid <= 0.25) and (density <= 0.9929) => WineQualityOutlier='(0.333333-0.666667]' (51.0/19.0) (free sulfur dioxide <= 23) and (residual sugar >= 4.35) and (pH >= 3.16) => WineQualityOutlier='(0.333333-0.666667]' (175.0/81.0) (fixed acidity >= 7.6) and (free sulfur dioxide >= 20) and (chlorides >= 0.049) and (residual sugar >= 5.4) => WineQualityOutlier='(0.333333-0.666667]' (79.0/33.0) (citric acid >= 0.4) and (residual sugar <= 5.5) and (chlorides <= 0.067) and (pH <= 3.14) and (total sulfur dioxide >= 111) => WineQualityOutlier='(0.333333-0.666667]' (85.0/25.0) (fixed acidity >= 7.6) and (volatile acidity >= 0.69) => WineQualityOutlier='(0.333333-0.666667]' (97.0/40.0) (citric acid >= 0.34) and (total sulfur dioxide <= 147) and (citric acid >= 0.42) and (total sulfur dioxide >= 65) and (citric acid <= 0.51) => WineQualityOutlier='(0.333333-0.666667]' (156.0/67.0) (total sulfur dioxide <= 89) and (fixed acidity <= 6) => WineQualityOutlier='(0.333333-0.666667]' (75.0/31.0) (citric acid >= 0.35) and (total sulfur dioxide <= 129.5) and (residual sugar >= 6.9) and (residual sugar >= 8.9) and (free sulfur dioxide >= 14) => WineQualityOutlier='(0.333333-0.666667]' (39.0/4.0) (total sulfur dioxide <= 79) and (alcohol <= 9.5) and (citric acid >= 0.29) and (sulphates <= 0.6) and (total sulfur dioxide <= 48) => WineQualityOutlier='(0.333333-0.666667]' (31.0/4.0) (sulphates >= 0.55) and (sulphates >= 0.66) and (fixed acidity <= 6.8) and (volatile acidity >= 0.31) => WineQualityOutlier='(0.333333-0.666667]' (48.0/18.0) (fixed acidity >= 7.5) and (volatile acidity <= 0.3) and (pH >= 3.18) and (alcohol <= 11) => WineQualityOutlier='(0.333333-0.666667]' (124.0/60.0) (residual sugar <= 12.5) and (total sulfur dioxide >= 138) and (residual sugar <= 2.5) and (fixed acidity >= 7.4) => WineQualityOutlier='(0.333333-0.666667]' (75.0/36.0) => WineQualityOutlier='(-inf-0.333333]' (3850.0/1437.0) Number of Rules : 47 Time taken to build model: 7.09 seconds === Stratified cross-validation === === Summary === Correctly Classified Instances 3758 57.8421 % Incorrectly Classified Instances 2739 42.1579 % Kappa statistic 0.331 Mean absolute error 0.3515 Root mean squared error 0.4381 Relative absolute error 80.6246 % Root relative squared error 93.8309 % Total Number of Instances 6497 === Detailed Accuracy By Class === TP Rate FP Rate Precision Recall F-Measure ROC Area Class 0.834 0.444 0.58 0.834 0.684 0.726 '(-inf-0.333333]' 0.259 0.129 0.468 0.259 0.333 0.596 '(0.333333-0.666667]' 0.538 0.104 0.658 0.538 0.592 0.743 '(0.666667-inf)' Weighted Avg. 0.578 0.256 0.567 0.578 0.552 0.691 === Confusion Matrix === a b c <-- classified as 2295 324 133 | a = '(-inf-0.333333]' 1105 512 361 | b = '(0.333333-0.666667]' 559 257 951 | c = '(0.666667-inf)'