Mercurial > hg > camir-aes2014
comparison toolboxes/FullBNT-1.0.7/bnt/examples/dynamic/bkff1.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 % Compare different implementations of fully factored Boyen Koller | |
2 | |
3 water = 1; | |
4 if water | |
5 bnet = mk_water_dbn; | |
6 else | |
7 N = 5; | |
8 Q = 2; | |
9 Y = 2; | |
10 bnet = mk_chmm(N, Q, Y); | |
11 end | |
12 ss = length(bnet.intra); | |
13 | |
14 engine = {}; | |
15 engine{end+1} = bk_inf_engine(bnet, 'clusters', 'ff'); | |
16 engine{end+1} = bk_ff_hmm_inf_engine(bnet); | |
17 E = length(engine); | |
18 | |
19 T = 5; | |
20 time = cmp_inference_dbn(bnet, engine, T, 'singletons_only', 1) | |
21 | |
22 | |
23 |