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