=== Run information ===
Scheme: weka.classifiers.bayes.BayesNet -D -Q weka.classifiers.bayes.net.search.local.K2 -- -P 3 -S BAYES -E weka.classifiers.bayes.net.estimate.SimpleEstimator -- -A 0.5
Relation: outmacro.txt-weka.filters.unsupervised.attribute.Remove-R1-weka.filters.unsupervised.attribute.Remove-R2,11-19,51-52,76-78,80,82,86,89-weka.filters.unsupervised.attribute.Remove-R8-9-weka.filters.unsupervised.attribute.Remove-R1-weka.filters.unsupervised.attribute.Remove-R38-58-weka.filters.unsupervised.instance.RemoveWithValues-S17.0-Cfirst-Lfirst-last-weka.filters.unsupervised.instance.RemoveWithValues-S18.0-Cfirst-Lfirst-last-weka.filters.unsupervised.attribute.NumericToNominal-R38-weka.filters.unsupervised.attribute.MergeTwoValues-C38-F1-S2-weka.filters.unsupervised.attribute.MergeTwoValues-C38-F1-S2-weka.filters.unsupervised.attribute.MergeTwoValues-C38-F1-S2-weka.filters.unsupervised.attribute.MergeTwoValues-C38-F1-S2-weka.filters.unsupervised.attribute.MergeTwoValues-C38-F1-S2-weka.filters.unsupervised.attribute.MergeTwoValues-C38-F1-S2-weka.filters.unsupervised.attribute.MergeTwoValues-C38-F1-S2-weka.filters.unsupervised.attribute.MergeTwoValues-C38-F1-S2-weka.filters.unsupervised.attribute.MergeTwoValues-C38-F1-S2-weka.filters.unsupervised.attribute.MergeTwoValues-C38-F2-S3-weka.filters.unsupervised.attribute.MergeTwoValues-C38-F2-S3-weka.filters.unsupervised.attribute.MergeTwoValues-C38-F2-S3-weka.filters.unsupervised.attribute.MergeTwoValues-C38-F2-S3-weka.filters.unsupervised.attribute.MergeTwoValues-C38-F2-S3-weka.filters.unsupervised.attribute.MergeTwoValues-C38-F2-S3-weka.filters.unsupervised.attribute.MergeTwoValues-C38-F3-S4-weka.filters.unsupervised.attribute.MergeTwoValues-C38-F3-S4-weka.filters.unsupervised.attribute.MergeTwoValues-C38-F3-S4-weka.filters.unsupervised.attribute.MergeTwoValues-C38-F3-S4-weka.filters.unsupervised.attribute.MergeTwoValues-C38-F3-S4-weka.filters.unsupervised.attribute.MergeTwoValues-C38-F3-S4-weka.filters.unsupervised.attribute.MergeTwoValues-C38-F3-S4-weka.filters.unsupervised.attribute.MergeTwoValues-C38-F3-S4-weka.filters.unsupervised.attribute.MergeTwoValues-C38-F3-S4-weka.filters.unsupervised.attribute.MergeTwoValues-C38-F3-S4-weka.filters.unsupervised.attribute.MergeTwoValues-C38-F3-S4-weka.filters.unsupervised.attribute.MergeTwoValues-C38-F3-S4-weka.filters.unsupervised.attribute.MergeTwoValues-C38-F4-S5-weka.filters.unsupervised.attribute.MergeTwoValues-C38-F4-S5-weka.filters.unsupervised.attribute.MergeTwoValues-C38-F4-S5-weka.filters.unsupervised.attribute.MergeTwoValues-C38-F4-S5-weka.filters.unsupervised.attribute.MergeTwoValues-C38-F4-S5-weka.filters.unsupervised.attribute.MergeTwoValues-C38-F4-S5-weka.filters.unsupervised.attribute.MergeTwoValues-C38-F4-S5-weka.filters.unsupervised.attribute.MergeTwoValues-C38-F4-S5-weka.filters.unsupervised.attribute.MergeTwoValues-C38-F4-S5-weka.filters.unsupervised.attribute.MergeTwoValues-C38-F4-S5-weka.filters.unsupervised.attribute.MergeTwoValues-C38-F4-S5-weka.filters.unsupervised.attribute.MergeTwoValues-C38-F4-S5-weka.filters.unsupervised.attribute.MergeTwoValues-C38-F4-S5-weka.filters.unsupervised.attribute.MergeTwoValues-C38-F4-S5-weka.filters.unsupervised.attribute.MergeTwoValues-C38-F4-S5-weka.filters.unsupervised.attribute.MergeTwoValues-C38-F4-S5-weka.filters.unsupervised.attribute.MergeTwoValues-C38-F4-S5-weka.filters.unsupervised.attribute.MergeTwoValues-C38-F4-S5-weka.filters.unsupervised.attribute.ClassAssigner-C38-weka.filters.unsupervised.attribute.ClassAssigner-C38-weka.filters.unsupervised.attribute.Reorder-R1-last,38-weka.filters.unsupervised.attribute.Remove-R38
Instances: 952
Attributes: 47
age
gender
height
weight
bmi
collarsize
fa_reading
fa_watching_tv
fa_theater_meeting
fa_passenger
fa_pm_rest
fa_after_lunch
fa_as_driver
fa_talking
sleep_problem_family
tired
fa_meeting_watching_tv
fa_routine_tasks
eat_work_worry_bed
wake_am_headache
wa_gasp
snore_loud
stop_breath
leg_uneasy
leg_crawly
limbs_twitch
paralysis
act_out_dreams
unable_move
vivid_dream_nightmares
walk_talk_sleep
wa_confused
grind_teeth
recall_dream
epworth_score
ess1
ess2
if_eat_less
exercise_rate
caffeinated_day
glasses_wine
bottles_beer
shots_hard_liquor
smoke
quit_yrs
heart_disease
bdi
Test mode: 10-fold cross-validation
=== Classifier model (full training set) ===
Bayes Network Classifier
not using ADTree
#attributes=47 #classindex=46
Network structure (nodes followed by parents)
age(1): bdi
gender(2): bdi
height(1): bdi
weight(1): bdi
bmi(1): bdi
collarsize(1): bdi
fa_reading(1): bdi
fa_watching_tv(1): bdi
fa_theater_meeting(1): bdi
fa_passenger(1): bdi
fa_pm_rest(1): bdi
fa_after_lunch(1): bdi
fa_as_driver(1): bdi
fa_talking(1): bdi
sleep_problem_family(1): bdi
tired(2): bdi
fa_meeting_watching_tv(1): bdi
fa_routine_tasks(1): bdi
eat_work_worry_bed(2): bdi tired
wake_am_headache(2): bdi gender
wa_gasp(2): bdi wake_am_headache
snore_loud(1): bdi
stop_breath(1): bdi
leg_uneasy(2): bdi
leg_crawly(2): bdi leg_uneasy
limbs_twitch(2): bdi leg_crawly
paralysis(2): bdi leg_uneasy
act_out_dreams(1): bdi
unable_move(2): bdi paralysis
vivid_dream_nightmares(2): bdi tired
walk_talk_sleep(1): bdi
wa_confused(2): bdi vivid_dream_nightmares unable_move
grind_teeth(1): bdi
recall_dream(1): bdi
epworth_score(2): bdi tired wa_gasp
ess1(1): bdi
ess2(1): bdi
if_eat_less(3): bdi
exercise_rate(1): bdi
caffeinated_day(1): bdi
glasses_wine(1): bdi
bottles_beer(1): bdi
shots_hard_liquor(1): bdi
smoke(1): bdi
quit_yrs(1): bdi
heart_disease(3): bdi
bdi(4):
LogScore Bayes: -10007.694883720766
LogScore BDeu: -10308.009560403034
LogScore MDL: -10245.767532073525
LogScore ENTROPY: -9810.449073361793
LogScore AIC: -9937.449073361793
Time taken to build model: 3.73 seconds
=== Stratified cross-validation ===
=== Summary ===
Correctly Classified Instances 481 50.6849 %
Incorrectly Classified Instances 468 49.3151 %
Kappa statistic 0.2412
Mean absolute error 0.2829
Root mean squared error 0.3945
Relative absolute error 84.4131 %
Root relative squared error 96.3929 %
Total Number of Instances 949
Ignored Class Unknown Instances 3
=== Detailed Accuracy By Class ===
TP Rate FP Rate Precision Recall F-Measure ROC Area Class
0.756 0.381 0.619 0.756 0.681 0.756 0_1_2_3_4_5_6_7_8_9
0.26 0.163 0.387 0.26 0.311 0.578 10_11_12_13_14_15_16
0.382 0.179 0.362 0.382 0.372 0.721 17_18_19_20_21_22_23_24_25_26_27_28_29
0.222 0.027 0.333 0.222 0.267 0.813 30_31_32_33_34_35_36_37_38_39_40_43_44_45_46_47_48_49_52
=== Confusion Matrix ===
a b c d <-- classified as
323 56 46 2 | a = 0_1_2_3_4_5_6_7_8_9
132 70 58 9 | b = 10_11_12_13_14_15_16
63 47 76 13 | c = 17_18_19_20_21_22_23_24_25_26_27_28_29
4 8 30 12 | d = 30_31_32_33_34_35_36_37_38_39_40_43_44_45_46_47_48_49_52
|