-
Notifications
You must be signed in to change notification settings - Fork 0
/
miscellaneous_2.json
42 lines (42 loc) · 8.52 KB
/
miscellaneous_2.json
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
{"name":"Car Test",
"NodeList":[
{"name":"Main fuse","stateCount":2,"stateLabels":["okay","blown"],"isInstantiated":false,"isRootNode":true,"CPT":{"matrix":[[1,0],[0,1]],"rowCount":2,"columnCount":2},"Posterior":{"vector":[0.99,0.01],"size":2},"LambdaEvidence":{"vector":[1,1],"size":2},"PiEvidence":{"vector":[0.99,0.01],"size":2}},
{"name":"Battery age","stateCount":3,"stateLabels":["new","old","very old"],"isInstantiated":false,"isRootNode":true,"CPT":{"matrix":[[1,0,0],[0,1,0],[0,0,1]],"rowCount":3,"columnCount":3},"Posterior":{"vector":[0.4,0.4,0.19999999999999998],"size":3},"LambdaEvidence":{"vector":[1,1,0.9999999999999999],"size":3},"PiEvidence":{"vector":[0.4,0.4,0.2],"size":3}},
{"name":"Alternator","stateCount":2,"stateLabels":["okay","faulty"],"isInstantiated":false,"isRootNode":true,"CPT":{"matrix":[[1,0],[0,1]],"rowCount":2,"columnCount":2},"Posterior":{"vector":[0.997,0.003],"size":2},"LambdaEvidence":{"vector":[1,1],"size":2},"PiEvidence":{"vector":[0.997,0.003],"size":2}},
{"name":"Charging system","stateCount":2,"stateLabels":["okay","faulty"],"isInstantiated":false,"isRootNode":false,"CPT":{"matrix":[[0.5,0],[0.5,1]],"rowCount":2,"columnCount":2},"Posterior":{"vector":[0.4985,0.5015],"size":2},"LambdaEvidence":{"vector":[1,1],"size":2},"PiEvidence":{"vector":[0.4985,0.5015],"size":2}},
{"name":"Headlights","stateCount":3,"stateLabels":["bright","dim","off"],"isInstantiated":false,"isRootNode":false,"CPT":{"matrix":[[0.94,0,0],[0.01,0.95,0],[0.05,0.05,1]],"rowCount":3,"columnCount":3},"Posterior":{"vector":[0.386695132,0.173333478,0.43997138999999996],"size":3},"LambdaEvidence":{"vector":[1,1,1],"size":3},"PiEvidence":{"vector":[0.386695132,0.173333478,0.43997138999999996],"size":3}},
{"name":"Battery voltage","stateCount":3,"stateLabels":["strong","weak","dead"],"isInstantiated":false,"isRootNode":false,"CPT":{"matrix":[[0.95,0.008,0.8,0.004,0.6,0.002],[0.04,0.3,0.15,0.2,0.3,0.1],[0.01,0.692,0.05,0.796,0.1,0.898]],"rowCount":3,"columnCount":6},"Posterior":{"vector":[0.4113778,0.178126,0.4104962],"size":3},"LambdaEvidence":{"vector":[1,1,1],"size":3},"PiEvidence":{"vector":[0.4113778,0.178126,0.4104962],"size":3}},
{"name":"Voltage at plug","stateCount":3,"stateLabels":["strong","weak","none"],"isInstantiated":false,"isRootNode":false,"CPT":{"matrix":[[0.9,0,0,0,0,0],[0.05,0.9,0,0,0,0],[0.05,0.1,1,1,1,1]],"rowCount":3,"columnCount":6},"Posterior":{"vector":[0.3665376198,0.17907346710000002,0.4543889131],"size":3},"LambdaEvidence":{"vector":[1,1,1],"size":3},"PiEvidence":{"vector":[0.3665376198,0.17907346710000002,0.4543889131],"size":3}},
{"name":"Distributer","stateCount":2,"stateLabels":["okay","faulty"],"isInstantiated":false,"isRootNode":true,"CPT":{"matrix":[[1,0],[0,1]],"rowCount":2,"columnCount":2},"Posterior":{"vector":[0.99,0.01],"size":2},"LambdaEvidence":{"vector":[1,1],"size":2},"PiEvidence":{"vector":[0.99,0.01],"size":2}},
{"name":"Spark plugs","stateCount":3,"stateLabels":["okay","too wide","fouled"],"isInstantiated":false,"isRootNode":true,"CPT":{"matrix":[[1,0,0],[0,1,0],[0,0,1]],"rowCount":3,"columnCount":3},"Posterior":{"vector":[0.7000000000000001,0.10000000000000003,0.20000000000000007],"size":3},"LambdaEvidence":{"vector":[1.0000000000000002,1.0000000000000002,1.0000000000000002],"size":3},"PiEvidence":{"vector":[0.7,0.1,0.2],"size":3}},
{"name":"Spark timing","stateCount":3,"stateLabels":["good","bad","very bad"],"isInstantiated":false,"isRootNode":false,"CPT":{"matrix":[[0.9,0.2],[0.09,0.3],[0.01,0.5]],"rowCount":3,"columnCount":2},"Posterior":{"vector":[0.893,0.0921,0.0149],"size":3},"LambdaEvidence":{"vector":[1,1,1],"size":3},"PiEvidence":{"vector":[0.893,0.0921,0.0149],"size":3}},
{"name":"Spark quality","stateCount":3,"stateLabels":["good","bad","very bad"],"isInstantiated":false,"isRootNode":false,"CPT":{"matrix":[[1,0,0,0,0,0,0,0,0],[0,1,0,1,0,0,1,0,0],[0,0,1,0,1,1,0,1,1]],"rowCount":3,"columnCount":9},"Posterior":{"vector":[0.25657633386,0.23531271291,0.50811095323],"size":3},"LambdaEvidence":{"vector":[1.0000000000000002,1.0000000000000002,1.0000000000000002],"size":3},"PiEvidence":{"vector":[0.25657633386,0.23531271291,0.50811095323],"size":3}},
{"name":"Gas tank","stateCount":2,"stateLabels":["has gas","empty"],"isInstantiated":false,"isRootNode":true,"CPT":{"matrix":[[1,0],[0,1]],"rowCount":2,"columnCount":2},"Posterior":{"vector":[0.9,0.1],"size":2},"LambdaEvidence":{"vector":[1.0000000000000002,1.0000000000000002],"size":2},"PiEvidence":{"vector":[0.9,0.1],"size":2}},
{"name":"Air filter","stateCount":2,"stateLabels":["clean","dirty"],"isInstantiated":false,"isRootNode":true,"CPT":{"matrix":[[1,0],[0,1]],"rowCount":2,"columnCount":2},"Posterior":{"vector":[0.9,0.1],"size":2},"LambdaEvidence":{"vector":[0.9999999999999998,0.9999999999999998],"size":2},"PiEvidence":{"vector":[0.9,0.1],"size":2}},
{"name":"Gas filter","stateCount":2,"stateLabels":["clean","dirty"],"isInstantiated":false,"isRootNode":true,"CPT":{"matrix":[[1,0],[0,1]],"rowCount":2,"columnCount":2},"Posterior":{"vector":[0.97,0.03],"size":2},"LambdaEvidence":{"vector":[1.0000000000000002,1.0000000000000002],"size":2},"PiEvidence":{"vector":[0.97,0.03],"size":2}},
{"name":"Fuel system","stateCount":3,"stateLabels":["good","poor","faulty"],"isInstantiated":false,"isRootNode":false,"CPT":{"matrix":[[0.9,0,0,0],[0.07,0.9,0,0],[0.03,0.1,1,1]],"rowCount":3,"columnCount":4},"Posterior":{"vector":[0.7857000000000001,0.08541,0.12889],"size":3},"LambdaEvidence":{"vector":[1.0000000000000002,1.0000000000000002,1.0000000000000002],"size":3},"PiEvidence":{"vector":[0.7857000000000001,0.08541,0.12889],"size":3}},
{"name":"Air system","stateCount":2,"stateLabels":["okay","faulty"],"isInstantiated":false,"isRootNode":false,"CPT":{"matrix":[[0.9,0.3],[0.1,0.7]],"rowCount":2,"columnCount":2},"Posterior":{"vector":[0.8400000000000001,0.16],"size":2},"LambdaEvidence":{"vector":[0.9999999999999998,0.9999999999999998],"size":2},"PiEvidence":{"vector":[0.8400000000000001,0.16],"size":2}},
{"name":"Starter motor","stateCount":2,"stateLabels":["okay","faulty"],"isInstantiated":false,"isRootNode":true,"CPT":{"matrix":[[1,0],[0,1]],"rowCount":2,"columnCount":2},"Posterior":{"vector":[0.995,0.005],"size":2},"LambdaEvidence":{"vector":[1,1],"size":2},"PiEvidence":{"vector":[0.995,0.005],"size":2}},
{"name":"Starter system","stateCount":2,"stateLabels":["okay","faulty"],"isInstantiated":false,"isRootNode":false,"CPT":{"matrix":[[0.98,0.02],[0.02,0.98]],"rowCount":2,"columnCount":2},"Posterior":{"vector":[0.9752,0.024800000000000003],"size":2},"LambdaEvidence":{"vector":[1,1],"size":2},"PiEvidence":{"vector":[0.9752,0.024800000000000003],"size":2}},
{"name":"Car cranks","stateCount":2,"stateLabels":["true","false"],"isInstantiated":false,"isRootNode":false,"CPT":{"matrix":[[0.8,0.05],[0.2,0.95]],"rowCount":2,"columnCount":2},"Posterior":{"vector":[0.7814,0.2186],"size":2},"LambdaEvidence":{"vector":[1.0000000000000004,1.0000000000000004],"size":2},"PiEvidence":{"vector":[0.7814,0.2186],"size":2}},
{"name":"Car starts","stateCount":2,"stateLabels":["true","false"],"isInstantiated":false,"isRootNode":false,"CPT":{"matrix":[[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]],"rowCount":2,"columnCount":108},"Posterior":{"vector":[0,1],"size":2},"LambdaEvidence":{"vector":[1,1],"size":2},"PiEvidence":{"vector":[0,1.0000000000000002],"size":2}}],
"LinkList":[
{"endpointnames":["Main fuse","Voltage at plug"]},
{"endpointnames":["Battery age","Battery voltage"]},
{"endpointnames":["Alternator","Charging system"]},
{"endpointnames":["Distributer","Spark timing"]},
{"endpointnames":["Spark plugs","Spark quality"]},
{"endpointnames":["Gas tank","Fuel system"]},
{"endpointnames":["Air filter","Air system"]},
{"endpointnames":["Gas filter","Fuel system"]},
{"endpointnames":["Starter motor","Starter system"]},
{"endpointnames":["Charging system","Battery voltage"]},
{"endpointnames":["Spark timing","Car starts"]},
{"endpointnames":["Air system","Car starts"]},
{"endpointnames":["Fuel system","Car starts"]},
{"endpointnames":["Starter system","Car cranks"]},
{"endpointnames":["Battery voltage","Headlights"]},
{"endpointnames":["Battery voltage","Voltage at plug"]},
{"endpointnames":["Car cranks","Car starts"]},
{"endpointnames":["Voltage at plug","Spark quality"]},
{"endpointnames":["Spark quality","Car starts"]}]}