-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathChestClinic2.dne
98 lines (87 loc) · 2.26 KB
/
ChestClinic2.dne
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
// ~->[DNET-1]->~
// File created by an unlicensed user using Netica 5.04 on Jan 29, 2012 at 10:17:48.
bnet ChestClinic {
autoupdate = FALSE;
node VisitAsia {
kind = NATURE;
discrete = TRUE;
chance = CHANCE;
states = (visit, no_visit);
statetitles = ("Visited Asia within the last 3 years", );
parents = ();
probs =
// Visited Asia wit no visit
(0.01, 0.99);
title = "Visit to Asia";
};
node Tuberculosis {
kind = NATURE;
discrete = TRUE;
chance = CHANCE;
states = (present, absent);
parents = (VisitAsia);
probs =
// present absent // VisitAsia
(0.05, 0.95, // Visited Asia wit
0.01, 0.99); // no visit ;
};
node Smoking {
kind = NATURE;
discrete = TRUE;
chance = CHANCE;
states = (smoker, nonsmoker);
parents = ();
probs =
// smoker nonsmoker
(0.5, 0.5);
};
node Cancer {
kind = NATURE;
discrete = TRUE;
chance = CHANCE;
states = (present, absent);
parents = (Smoking);
probs =
// present absent // Smoking
(0.1, 0.9, // smoker
0.01, 0.99); // nonsmoker ;
title = "Lung Cancer";
};
node TbOrCa {
kind = NATURE;
discrete = TRUE;
chance = DETERMIN;
states = (true, false);
parents = (Tuberculosis, Cancer);
functable =
// Tuberculosis Cancer
(true, // present present
true, // present absent
true, // absent present
false); // absent absent ;
equation = "TbOrCa (Tuberculosis, Cancer) = Tuberculosis || Cancer";
title = "Tuberculosis or Cancer";
};
node XRay {
kind = NATURE;
discrete = TRUE;
chance = CHANCE;
states = (abnormal, normal);
parents = (TbOrCa);
probs =
// abnormal normal // TbOrCa
(0.98, 0.02, // true
0.05, 0.95); // false ;
};
node Bronchitis {
kind = NATURE;
discrete = TRUE;
chance = CHANCE;
states = (present, absent);
parents = (Smoking);
probs =
// present absent // Smoking
(0.6, 0.4, // smoker
0.3, 0.7); // nonsmoker ;
};
};