annotate toolboxes/FullBNT-1.0.7/bnt/examples/dynamic/mk_uffe_dbn.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 bnet = mk_uffe_dbn()
wolffd@0 2
wolffd@0 3 % Make the Uffe DBN from fig 3.4 p55 of my thesis
wolffd@0 4
wolffd@0 5 ss = 4;
wolffd@0 6 intra = zeros(ss,ss);
wolffd@0 7 intra(1,[2 3])=1;
wolffd@0 8 intra(2,3)=1;
wolffd@0 9 intra(3,4)=1;
wolffd@0 10 inter = zeros(ss,ss);
wolffd@0 11 inter(1,1)=1;
wolffd@0 12 inter(4,4)=1;
wolffd@0 13 ns = 2*ones(1,ss);
wolffd@0 14 bnet = mk_dbn(intra, inter, ns);