ericzy89 / bnt

Automatically exported from code.google.com/p/bnt
0 stars 0 forks source link

How to print CPTs and CDTs #26

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I have a BN with boolean and continuous (Gaussian) nodes. I am using the 
funtion learn_params_em to learn the parameters. 

I would like to know, how could I print/see the values in the Conditional 
Probability tables (CPTs) and conditional density tables (CDTs)?

Original issue reported on code.google.com by muhhamma...@gmail.com on 5 Jun 2012 at 11:12

GoogleCodeExporter commented 9 years ago
Use the get_fields function to access fields of an CPD-object, e.g., 
get_fields(CPD, 'cpt')

Original comment by fischer....@gmail.com on 17 Sep 2012 at 7:46