-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathasia.dsc
59 lines (59 loc) · 1.07 KB
/
asia.dsc
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
belief network "unknown"
node asia {
type : discrete [ 2 ] = { "yes", "no" };
}
node tub {
type : discrete [ 2 ] = { "yes", "no" };
}
node smoke {
type : discrete [ 2 ] = { "yes", "no" };
}
node lung {
type : discrete [ 2 ] = { "yes", "no" };
}
node bronc {
type : discrete [ 2 ] = { "yes", "no" };
}
node either {
type : discrete [ 2 ] = { "yes", "no" };
}
node xray {
type : discrete [ 2 ] = { "yes", "no" };
}
node dysp {
type : discrete [ 2 ] = { "yes", "no" };
}
probability ( asia ) {
0.01, 0.99;
}
probability ( tub | asia ) {
(0) : 0.05, 0.95;
(1) : 0.01, 0.99;
}
probability ( smoke ) {
0.5, 0.5;
}
probability ( lung | smoke ) {
(0) : 0.1, 0.9;
(1) : 0.01, 0.99;
}
probability ( bronc | smoke ) {
(0) : 0.6, 0.4;
(1) : 0.3, 0.7;
}
probability ( either | lung, tub ) {
(0, 0) : 1.0, 0.0;
(1, 0) : 1.0, 0.0;
(0, 1) : 1.0, 0.0;
(1, 1) : 0.0, 1.0;
}
probability ( xray | either ) {
(0) : 0.98, 0.02;
(1) : 0.05, 0.95;
}
probability ( dysp | bronc, either ) {
(0, 0) : 0.9, 0.1;
(1, 0) : 0.7, 0.3;
(0, 1) : 0.8, 0.2;
(1, 1) : 0.1, 0.9;
}