Daniel@0: % If all is well, all of these scripts should run without errors. Daniel@0: Daniel@0: Daniel@0: % bnets Daniel@0: cg1 Daniel@0: cg2 Daniel@0: discrete1 Daniel@0: fa1 Daniel@0: gaussian1 Daniel@0: gaussian2 Daniel@0: if exist('@gibbs_sampling_inf_engine/private/compute_posterior','file') Daniel@0: % only exists if installC has been run Daniel@0: gibbs_test1 Daniel@0: end Daniel@0: learn1 Daniel@0: lw1 Daniel@0: mfa1 Daniel@0: mixexp1 Daniel@0: mixexp2 Daniel@0: mixexp3 Daniel@0: mog1 Daniel@0: mpe1 Daniel@0: mpe2 Daniel@0: qmr1 Daniel@0: qmr2 Daniel@0: sample1 Daniel@0: softev1 Daniel@0: softmax1 Daniel@0: sprinkler1 Daniel@0: Daniel@0: Daniel@0: % belief propagation Daniel@0: belprop_polytree_discrete Daniel@0: belprop_polytree_gauss % alag Daniel@0: belprop_polytree_cg Daniel@0: belprop_loop1_discrete Daniel@0: belprop_loop1_gauss Daniel@0: belprop_loopy_discrete Daniel@0: belprop_loopy_gauss Daniel@0: belprop_loopy_cg % like cg1 Daniel@0: Daniel@0: Daniel@0: % factor graphs Daniel@0: %fg1 failed since marginals were not exact Daniel@0: Daniel@0: fg2 Daniel@0: fg3 Daniel@0: fg_mrf1 Daniel@0: fg_mrf2 Daniel@0: Daniel@0: Daniel@0: % Structure learning Daniel@0: bic1 Daniel@0: cooper_yoo Daniel@0: k2demo1 Daniel@0: mcmc1 Daniel@0: model_select1 Daniel@0: pc1 Daniel@0: %pc2 failed due to numerical problems in KPMstats/cond_indep_fisher_z Daniel@0: Daniel@0: Daniel@0: Daniel@0: Daniel@0: % limids Daniel@0: asia_dt1 Daniel@0: id1 Daniel@0: oil1 Daniel@0: pigs1 Daniel@0: Daniel@0: Daniel@0: % dbns Daniel@0: arhmm1 Daniel@0: bat1 Daniel@0: bkff1 Daniel@0: chmm1 Daniel@0: dhmm1 Daniel@0: filter_test1 Daniel@0: ghmm1 Daniel@0: kalman1 Daniel@0: kjaerulff1 Daniel@0: loopy_dbn1 Daniel@0: mhmm1 Daniel@0: mildew1 Daniel@0: reveal1 Daniel@0: viterbi1 Daniel@0: water1 Daniel@0: Daniel@0: Daniel@0: % HHMMs Daniel@0: abcd_hhmm Daniel@0: sample_square_hhmm_discrete Daniel@0: %learn_square_hhmm_cts Daniel@0: sample_motif_hhmm Daniel@0: Daniel@0: %sparse jtree engine & ndx 2TBN engine Daniel@0: if exist('@jtree_sparse_inf_engine/init_pot','file') Daniel@0: % only exists if installC has been run Daniel@0: discrete2 Daniel@0: discrete3 Daniel@0: filter_test1 Daniel@0: water2 Daniel@0: end Daniel@0: Daniel@0: %find . -path '*.m' -exec wc -l {} \; | ~/count.pl Daniel@0: Daniel@0: % we cannot use tic;toc to time test_BNT, since functions within this script Daniel@0: % reset the tic;toc timer. Hence we use the following: Daniel@0: %clock0=clock; cpu0 = cputime; test_BNT; cpu=cputime-cpu0; elapsed=etime(clock, clock0)