bayesnet / bnt

Bayes Net Toolbox for Matlab
465 stars 246 forks source link

How to print CPTs and CDTs #26

Open ido opened 10 years ago

ido commented 10 years ago

From muhhamma...@gmail.com on June 05, 2012 19:12:06

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: http://code.google.com/p/bnt/issues/detail?id=26

ido commented 10 years ago

From fischer....@gmail.com on September 17, 2012 00:46:15

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