comparison toolboxes/FullBNT-1.0.7/bnt/inference/static/@gibbs_sampling_inf_engine/private/get_cpts.m @ 0:e9a9cd732c1e tip

first hg version after svn
author wolffd
date Tue, 10 Feb 2015 15:05:51 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:e9a9cd732c1e
1 function c = get_cpts(bnet)
2 % Get all the cpts in tabular form
3
4 cpds = bnet.CPD;
5 c = cell(size(cpds));
6 for i = 1:length(c)
7 c{i} = CPT(bnet, i);
8 end