7:00 – 5:00 ASRC
- Finished section 3.14
- Back to reading Data Mining.Currently on Chapter 3. Done!
- Chapter 4.
- Discussion with Aaron, then Bob about sprint-ish planning.
7:00 – 5:00 ASRC
7:00 – 4:00 ASRC
7:00 – 4:30 ASRC
7:00 – 4:30 ASRC
public String junkOrGood(){
boolean junk = true;
if(personCharacterization.equals(INAPPROPRIATE)){
return "junk";
}
if(sourceType.equals(MACHINE_GENERATED)){
return "junk";
}
if(qualityCharacterization.equals(LOW) || qualityCharacterization.equals(MINIMAL))
{
return "junk";
}
if(trustworthiness.equals(NOT_CREDIBLE) || trustworthiness.equals(DISTRUSTWORTHY) || trustworthiness.equals(VERY_DISTRUSTWORTHY)){
return "junk";
}
return "good";
}
Time taken to build model: 0.01 seconds === Stratified cross-validation === === Summary === Correctly Classified Instances 33 78.5714 % Incorrectly Classified Instances 9 21.4286 % Kappa statistic 0.5116 Mean absolute error 0.2143 Root mean squared error 0.4629 Relative absolute error 51.8311 % Root relative squared error 102.1856 % Total Number of Instances 42 === Detailed Accuracy By Class === TP Rate FP Rate Precision Recall F-Measure MCC ROC Area PRC Area Class 0.750 0.200 0.600 0.750 0.667 0.519 0.747 0.509 junk 0.800 0.250 0.889 0.800 0.842 0.519 0.810 0.876 good Weighted Avg. 0.786 0.236 0.806 0.786 0.792 0.519 0.792 0.771 === Confusion Matrix === a b <-- classified as 9 3 | a = junk 6 24 | b = good
=== Stratified cross-validation === === Summary === Correctly Classified Instances 35 83.3333 % Incorrectly Classified Instances 7 16.6667 % Kappa statistic 0.637 Mean absolute error 0.1667 Root mean squared error 0.4082 Relative absolute error 40.3131 % Root relative squared error 90.1193 % Total Number of Instances 42 === Detailed Accuracy By Class === TP Rate FP Rate Precision Recall F-Measure MCC ROC Area PRC Area Class 0.917 0.200 0.647 0.917 0.759 0.660 0.858 0.617 junk 0.800 0.083 0.960 0.800 0.873 0.660 0.858 0.911 good Weighted Avg. 0.833 0.117 0.871 0.833 0.840 0.660 0.858 0.827 === Confusion Matrix === a b <-- classified as 11 1 | a = junk 6 24 | b = good
Time taken to build model: 0.02 seconds === Stratified cross-validation === === Summary === Correctly Classified Instances 32 76.1905 % Incorrectly Classified Instances 10 23.8095 % Kappa statistic 0.5139 Mean absolute error 0.2381 Root mean squared error 0.488 Relative absolute error 57.5901 % Root relative squared error 107.7131 % Total Number of Instances 42 === Detailed Accuracy By Class === TP Rate FP Rate Precision Recall F-Measure MCC ROC Area PRC Area Class 0.917 0.300 0.550 0.917 0.687 0.558 0.808 0.528 junk 0.700 0.083 0.955 0.700 0.808 0.558 0.808 0.882 good Weighted Avg. 0.762 0.145 0.839 0.762 0.773 0.558 0.808 0.781 === Confusion Matrix === a b <-- classified as 11 1 | a = junk 9 21 | b = good
Time taken to build model: 1.41 seconds === Stratified cross-validation === === Summary === Correctly Classified Instances 34 80.9524 % Incorrectly Classified Instances 8 19.0476 % Kappa statistic 0.4815 Mean absolute error 0.2238 Root mean squared error 0.3805 Relative absolute error 54.1364 % Root relative squared error 83.9928 % Total Number of Instances 42 === Detailed Accuracy By Class === TP Rate FP Rate Precision Recall F-Measure MCC ROC Area PRC Area Class 0.500 0.067 0.750 0.500 0.600 0.499 0.729 0.682 junk 0.933 0.500 0.824 0.933 0.875 0.499 0.729 0.823 good Weighted Avg. 0.810 0.376 0.803 0.810 0.796 0.499 0.729 0.783 === Confusion Matrix === a b <-- classified as 6 6 | a = junk 2 28 | b = good
7:00 – 4:30 ASRC
time taken to build model: 0.07 seconds === Stratified cross-validation === === Summary === Correctly Classified Instances 33 78.5714 % Incorrectly Classified Instances 9 21.4286 % Kappa statistic 0.5116 Mean absolute error 0.2143 Root mean squared error 0.4629 Relative absolute error 51.8311 % Root relative squared error 102.1856 % Total Number of Instances 42 === Detailed Accuracy By Class === TP Rate FP Rate Precision Recall F-Measure MCC ROC Area PRC Area Class 0.750 0.200 0.600 0.750 0.667 0.519 0.757 0.540 junk 0.800 0.250 0.889 0.800 0.842 0.519 0.810 0.876 good Weighted Avg. 0.786 0.236 0.806 0.786 0.792 0.519 0.795 0.780 === Confusion Matrix === a b <-- classified as 9 3 | a = junk 6 24 | b = good
7:00 – 5:00 ASRC
7:00 – 3:30 ASRC
Correctly Classified Instances 3 75 % Incorrectly Classified Instances 1 25 % Kappa statistic 0.6667 Mean absolute error 0.125 Root mean squared error 0.3536 Relative absolute error 29.1667 % Root relative squared error 71.4435 % Total Number of Instances 4 === Detailed Accuracy By Class === TP Rate FP Rate Precision Recall F-Measure MCC ROC Area PRC Area Class 1.000 0.000 1.000 1.000 1.000 1.000 1.000 1.000 1_-_Loomings 0.000 0.000 0.000 0.000 0.000 0.000 0.500 0.250 3_-_The_Spouter_Inn 1.000 0.333 0.500 1.000 0.667 0.577 0.833 0.500 2_-_The_Carpet_Bag 1.000 0.000 1.000 1.000 1.000 1.000 1.000 1.000 4_-_The_Counterpane Weighted Avg. 0.750 0.083 0.625 0.750 0.667 0.644 0.833 0.688 === Confusion Matrix === a b c d <-- classified as 1 0 0 0 | a = 1_-_Loomings 0 0 1 0 | b = 3_-_The_Spouter_Inn 0 0 1 0 | c = 2_-_The_Carpet_Bag 0 0 0 1 | d = 4_-_The_Counterpane
7:00 – 6:00 ASRC
7:00 – 4:00 ASRC
=== Run information === Scheme: weka.classifiers.bayes.NaiveBayes Relation: testdata Instances: 8 Attributes: 12 name sv1 sv2 sv3 p1 p2 p3 p4 s1 s2 s3 s4 Test mode: split 66.0% train, remainder test === Classifier model (full training set) === Naive Bayes Classifier Class Attribute p1 p2 p3 p4 s1 s2 s3 s4 (0.13) (0.13) (0.13) (0.13) (0.13) (0.13) (0.13) (0.13) ======================================================================= sv1 p4-sv1 1.0 1.0 1.0 2.0 1.0 1.0 1.0 1.0 s2-sv1 1.0 1.0 1.0 1.0 1.0 2.0 1.0 1.0 p2-sv1 1.0 2.0 1.0 1.0 1.0 1.0 1.0 1.0 s1-sv1 1.0 1.0 1.0 1.0 2.0 1.0 1.0 1.0 [total] 4.0 5.0 4.0 5.0 5.0 5.0 4.0 4.0 sv2 p2-sv2 1.0 2.0 1.0 1.0 1.0 1.0 1.0 1.0 s4-sv2 1.0 1.0 1.0 1.0 1.0 1.0 1.0 2.0 p1-sv2 2.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 s1-sv2 1.0 1.0 1.0 1.0 2.0 1.0 1.0 1.0 [total] 5.0 5.0 4.0 4.0 5.0 4.0 4.0 5.0 sv3 p2-sv3 1.0 2.0 1.0 1.0 1.0 1.0 1.0 1.0 p1-sv3 2.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 s4-sv3 1.0 1.0 1.0 1.0 1.0 1.0 1.0 2.0 p3-sv3 1.0 1.0 2.0 1.0 1.0 1.0 1.0 1.0 p4-sv3 1.0 1.0 1.0 2.0 1.0 1.0 1.0 1.0 s2-sv3 1.0 1.0 1.0 1.0 1.0 2.0 1.0 1.0 s1-sv3 1.0 1.0 1.0 1.0 2.0 1.0 1.0 1.0 [total] 8.0 8.0 8.0 8.0 8.0 8.0 7.0 8.0 p1 mean 1 0 0 0 1 1 0 0 std. dev. 0.1667 0.1667 0.1667 0.1667 0.1667 0.1667 0.1667 0.1667 weight sum 1 1 1 1 1 1 1 1 precision 1 1 1 1 1 1 1 1 p2 mean 0 1 0 0 1 0 1 0 std. dev. 0.1667 0.1667 0.1667 0.1667 0.1667 0.1667 0.1667 0.1667 weight sum 1 1 1 1 1 1 1 1 precision 1 1 1 1 1 1 1 1 p3 mean 0 0 1 0 1 0 0 1 std. dev. 0.1667 0.1667 0.1667 0.1667 0.1667 0.1667 0.1667 0.1667 weight sum 1 1 1 1 1 1 1 1 precision 1 1 1 1 1 1 1 1 p4 mean 0 0 0 1 1 0 0 1 std. dev. 0.1667 0.1667 0.1667 0.1667 0.1667 0.1667 0.1667 0.1667 weight sum 1 1 1 1 1 1 1 1 precision 1 1 1 1 1 1 1 1 s1 mean 1 1 1 1 1 0 0 0 std. dev. 0.1667 0.1667 0.1667 0.1667 0.1667 0.1667 0.1667 0.1667 weight sum 1 1 1 1 1 1 1 1 precision 1 1 1 1 1 1 1 1 s2 mean 1 0 0 0 0 1 0 0 std. dev. 0.1667 0.1667 0.1667 0.1667 0.1667 0.1667 0.1667 0.1667 weight sum 1 1 1 1 1 1 1 1 precision 1 1 1 1 1 1 1 1 s3 mean 0 1 0 0 0 0 1 0 std. dev. 0.1667 0.1667 0.1667 0.1667 0.1667 0.1667 0.1667 0.1667 weight sum 1 1 1 1 1 1 1 1 precision 1 1 1 1 1 1 1 1 s4 mean 0 0 1 1 0 0 0 1 std. dev. 0.1667 0.1667 0.1667 0.1667 0.1667 0.1667 0.1667 0.1667 weight sum 1 1 1 1 1 1 1 1 precision 1 1 1 1 1 1 1 1 Time taken to build model: 0 seconds === Evaluation on test split === Time taken to test model on training split: 0 seconds === Summary === Correctly Classified Instances 0 0 % Incorrectly Classified Instances 3 100 % Kappa statistic 0 Mean absolute error 0.2499 Root mean squared error 0.4675 Relative absolute error 108.2972 % Root relative squared error 133.419 % Total Number of Instances 3 === Detailed Accuracy By Class === TP Rate FP Rate Precision Recall F-Measure MCC ROC Area PRC Area Class 0.000 0.333 0.000 0.000 0.000 0.000 ? ? p1 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.333 p2 0.000 0.333 0.000 0.000 0.000 0.000 ? ? p3 0.000 0.000 0.000 0.000 0.000 0.000 ? ? p4 0.000 0.000 0.000 0.000 0.000 0.000 0.500 0.500 s1 0.000 0.000 0.000 0.000 0.000 0.000 1.000 1.000 s2 0.000 0.333 0.000 0.000 0.000 0.000 ? ? s3 0.000 0.000 0.000 0.000 0.000 0.000 ? ? s4 Weighted Avg. 0.000 0.000 0.000 0.000 0.000 0.000 0.500 0.611 === Confusion Matrix === a b c d e f g h <-- classified as 0 0 0 0 0 0 0 0 | a = p1 0 0 0 0 0 0 1 0 | b = p2 0 0 0 0 0 0 0 0 | c = p3 0 0 0 0 0 0 0 0 | d = p4 0 0 1 0 0 0 0 0 | e = s1 1 0 0 0 0 0 0 0 | f = s2 0 0 0 0 0 0 0 0 | g = s3 0 0 0 0 0 0 0 0 | h = s4
7:00 – 3:30 ASRC
7:00 – 3:00 ASRC
7:00 – 4:00 ASRC
7:00 – 2:30 ASRC
7:00 – 3:30 ASRC
You must be logged in to post a comment.