File size: 750 Bytes
17feec1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
{
  "nodes": ["X1", "X2", "X3", "X4"],
  "arcs": [
    ["X1", "X2"],
    ["X1", "X3"],
    ["X1", "X4"],
    ["X3", "X2"]
  ],
  "cpds": {
    "X1": {
      "coefficients": {
        "(Intercept)": [2.4]
      },
      "variance": [0.8],
      "parents": []
    },
    "X2": {
      "coefficients": {
        "(Intercept)": [0.5],
        "X1": [1.4],
        "X3": [1.2]
      },
      "variance": [1.1],
      "parents": ["X1", "X3"]
    },
    "X3": {
      "coefficients": {
        "(Intercept)": [3.1],
        "X1": [1.3]
      },
      "variance": [0.3],
      "parents": ["X1"]
    },
    "X4": {
      "coefficients": {
        "(Intercept)": [2.7],
        "X1": [0.8]
      },
      "variance": [0.5],
      "parents": ["X1"]
    }
  }
}