Module Expr Str Import alias identifier ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad ListLoad Num Num Assign NameStore Call NameLoad ListLoad Num Num keyword TupleLoad Num Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr TupleLoad Num Num Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr TupleLoad Num Num Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr TupleLoad Num Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad ListLoad Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad ListLoad Num Num Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad ListLoad Num Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Call AttributeLoad NameLoad attr TupleLoad Num Num keyword TupleLoad Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Call AttributeLoad NameLoad attr TupleLoad Num Num keyword TupleLoad Num Pass decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad ListLoad Num Num Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num BinOpSub Call AttributeLoad NameLoad attr ListLoad Num Num Call AttributeLoad NameLoad attr BinOpAdd Num Num Pass decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad ListLoad Num Num Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Num Assign NameStore Call NameLoad ListLoad ListLoad Num Num ListLoad Num Num Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Num Num Assign NameStore Call NameLoad ListLoad Num Num keyword TupleLoad Num Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Num Num Num Pass decorator_list decorator_list
N/A N/A 
Unit tests for `beta` module.
 N/A numpy np scipy special bayespy.nodes Beta bayespy.utils random bayespy.utils.misc TestCase TestBeta N/A TestCase N/A N/A 
    Unit tests for Beta node
     test_init N/A N/A self N/A N/A N/A 
        Test the creation of beta nodes.
         N/A p N/A Beta N/A 1.5 4.2 N/A p N/A Beta N/A 2 3 plates N/A 4 3 N/A N/A N/A self assertEqual N/A p plates N/A 4 3 N/A p N/A Beta N/A N/A np ones N/A 4 3 2 N/A N/A N/A self assertEqual N/A p plates N/A 4 3 N/A N/A N/A self assertRaises ValueError Beta 4 N/A N/A N/A self assertRaises ValueError Beta N/A 4 N/A N/A N/A self assertRaises ValueError Beta N/A 4 4 4 N/A N/A N/A self assertRaises ValueError Beta N/A -2 3 N/A N/A N/A self assertRaises ValueError Beta N/A N/A np ones N/A 4 2 plates N/A 3 N/A N/A N/A self assertRaises ValueError Beta N/A N/A np ones N/A 4 2 plates N/A 1 N/A N/A test_moments N/A N/A self N/A N/A N/A 
        Test the moments of beta nodes.
         N/A p N/A Beta N/A 2 3 N/A u N/A N/A p _message_to_child N/A N/A N/A self assertAllClose N/A u N/A 0 N/A N/A N/A special psi N/A 2 3 N/A N/A special psi N/A 2 3 N/A N/A test_random N/A N/A self N/A N/A N/A 
        Test random sampling of beta nodes.
         N/A p N/A Beta N/A 1e+20 3e+20 N/A x N/A N/A p random N/A N/A N/A self assertAllClose x 0.25 N/A p N/A Beta N/A N/A 1e+20 3e+20 N/A 1e+20 1e+20 N/A x N/A N/A p random N/A N/A N/A self assertAllClose x N/A 0.25 0.5 N/A p N/A Beta N/A 1e+20 3e+20 plates N/A 3 N/A x N/A N/A p random N/A N/A N/A self assertAllClose x N/A 0.25 0.25 0.25 N/A N/A N/A