comparison toolboxes/FullBNT-1.0.7/bnt/test_BNT.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 % If all is well, all of these scripts should run without errors.
2
3
4 % bnets
5 cg1
6 cg2
7 discrete1
8 fa1
9 gaussian1
10 gaussian2
11 if exist('@gibbs_sampling_inf_engine/private/compute_posterior','file')
12 % only exists if installC has been run
13 gibbs_test1
14 end
15 learn1
16 lw1
17 mfa1
18 mixexp1
19 mixexp2
20 mixexp3
21 mog1
22 mpe1
23 mpe2
24 qmr1
25 qmr2
26 sample1
27 softev1
28 softmax1
29 sprinkler1
30
31
32 % belief propagation
33 belprop_polytree_discrete
34 belprop_polytree_gauss % alag
35 belprop_polytree_cg
36 belprop_loop1_discrete
37 belprop_loop1_gauss
38 belprop_loopy_discrete
39 belprop_loopy_gauss
40 belprop_loopy_cg % like cg1
41
42
43 % factor graphs
44 %fg1 failed since marginals were not exact
45
46 fg2
47 fg3
48 fg_mrf1
49 fg_mrf2
50
51
52 % Structure learning
53 bic1
54 cooper_yoo
55 k2demo1
56 mcmc1
57 model_select1
58 pc1
59 %pc2 failed due to numerical problems in KPMstats/cond_indep_fisher_z
60
61
62
63
64 % limids
65 asia_dt1
66 id1
67 oil1
68 pigs1
69
70
71 % dbns
72 arhmm1
73 bat1
74 bkff1
75 chmm1
76 dhmm1
77 filter_test1
78 ghmm1
79 kalman1
80 kjaerulff1
81 loopy_dbn1
82 mhmm1
83 mildew1
84 reveal1
85 viterbi1
86 water1
87
88
89 % HHMMs
90 abcd_hhmm
91 sample_square_hhmm_discrete
92 %learn_square_hhmm_cts
93 sample_motif_hhmm
94
95 %sparse jtree engine & ndx 2TBN engine
96 if exist('@jtree_sparse_inf_engine/init_pot','file')
97 % only exists if installC has been run
98 discrete2
99 discrete3
100 filter_test1
101 water2
102 end
103
104 %find . -path '*.m' -exec wc -l {} \; | ~/count.pl
105
106 % we cannot use tic;toc to time test_BNT, since functions within this script
107 % reset the tic;toc timer. Hence we use the following:
108 %clock0=clock; cpu0 = cputime; test_BNT; cpu=cputime-cpu0; elapsed=etime(clock, clock0)