annotate 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
rev   line source
wolffd@0 1 function c = get_cpts(bnet)
wolffd@0 2 % Get all the cpts in tabular form
wolffd@0 3
wolffd@0 4 cpds = bnet.CPD;
wolffd@0 5 c = cell(size(cpds));
wolffd@0 6 for i = 1:length(c)
wolffd@0 7 c{i} = CPT(bnet, i);
wolffd@0 8 end