Module Expr Str ImportFrom alias Expr Str FunctionDef arguments args NameParam defaults body Pass decorator_list Call NameLoad Num Num FunctionDef arguments args NameParam NameParam defaults body Pass decorator_list Call NameLoad Num Num Num FunctionDef arguments args NameParam NameParam defaults body Pass decorator_list Call NameLoad Num BinOpPow Num Num Num If CompareEq NameLoad Str body Assign NameStore Call NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr
N/A N/A This example is from Koller & Friedman example 7.3 page 252 bayesian.gaussian_bayesian_network * N/A 
This is a simple example with 3 variables:

         +----+    +----+    +----+
         | X1 |--->| X2 |--->| X3 |
         +----+    +----+    +----+

With parameters:

p(X1) ~ N(1; 4)
p(X2|X1) ~ N(0.5X1 - 3.5; 4)
p(X3|X2) ~ N(-X2 + 1; 3)

Remember that in our gaussian decorators
we are using Standard Deviation while the
Koller example uses Variance.

 f_x1 N/A N/A x1 N/A N/A N/A N/A N/A gaussian 1 2 f_x2 N/A N/A x1 x2 N/A N/A N/A N/A N/A conditional_gaussian -3.5 2 0.5 f_x3 N/A N/A x2 x3 N/A N/A N/A N/A N/A conditional_gaussian 1 N/A 3 0.5 -1 N/A N/A __name__ __main__ N/A N/A g N/A build_graph f_x1 f_x2 f_x3 N/A N/A N/A g q