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