annotate toolboxes/FullBNT-1.0.7/bnt/examples/dynamic/mk_uffe_dbn.m @ 0:cc4b1211e677 tip

initial commit to HG from Changeset: 646 (e263d8a21543) added further path and more save "camirversion.m"
author Daniel Wolff
date Fri, 19 Aug 2016 13:07:06 +0200
parents
children
rev   line source
Daniel@0 1 function bnet = mk_uffe_dbn()
Daniel@0 2
Daniel@0 3 % Make the Uffe DBN from fig 3.4 p55 of my thesis
Daniel@0 4
Daniel@0 5 ss = 4;
Daniel@0 6 intra = zeros(ss,ss);
Daniel@0 7 intra(1,[2 3])=1;
Daniel@0 8 intra(2,3)=1;
Daniel@0 9 intra(3,4)=1;
Daniel@0 10 inter = zeros(ss,ss);
Daniel@0 11 inter(1,1)=1;
Daniel@0 12 inter(4,4)=1;
Daniel@0 13 ns = 2*ones(1,ss);
Daniel@0 14 bnet = mk_dbn(intra, inter, ns);