75c4d800fa0c76eafa1b22d6bc6c5a971b39b8a3
[libdai.git] / tests / aliases.conf
1 # This file contains reasonable default settings for various inference
2 # algorithms in libDAI. Each non-empty line should either be a comment
3 # (starting with #) or contain an alias definition in the format
4 #
5 # alias: name[key1=val1,key2=val2,...,keyn=valn]
6 #
7 # where name should be a valid libDAI algorithm name, and the list of
8 # its properties (between rectangular brackets) consists of key=value
9 # pairs, seperated by spaces. This defines 'alias' as a shortcut for
10 # the rest of the line (more precisely, the contents to the right of
11 # the colon and possible whitespace).
12
13
14 # --- EXACT -------------------
15
16 EXACT: EXACT[verbose=0]
17
18 # --- BP ----------------------
19
20 BP: BP[updates=SEQFIX,tol=1e-9,maxiter=10000,logdomain=0]
21 BP_SEQFIX: BP[updates=SEQFIX,tol=1e-9,maxiter=10000,logdomain=0]
22 BP_SEQRND: BP[updates=SEQRND,tol=1e-9,maxiter=10000,logdomain=0]
23 BP_SEQMAX: BP[updates=SEQMAX,tol=1e-9,maxiter=10000,logdomain=0]
24 BP_PARALL: BP[updates=PARALL,tol=1e-9,maxiter=10000,logdomain=0]
25 BP_SEQFIX_LOG: BP[updates=SEQFIX,tol=1e-9,maxiter=10000,logdomain=1]
26 BP_SEQRND_LOG: BP[updates=SEQRND,tol=1e-9,maxiter=10000,logdomain=1]
27 BP_SEQMAX_LOG: BP[updates=SEQMAX,tol=1e-9,maxiter=10000,logdomain=1]
28 BP_PARALL_LOG: BP[updates=PARALL,tol=1e-9,maxiter=10000,logdomain=1]
29 MP_SEQFIX: BP[updates=SEQFIX,tol=1e-9,maxiter=10000,logdomain=0,inference=MAXPROD]
30 MP_SEQRND: BP[updates=SEQRND,tol=1e-9,maxiter=10000,logdomain=0,inference=MAXPROD]
31 MP_SEQMAX: BP[updates=SEQMAX,tol=1e-9,maxiter=10000,logdomain=0,inference=MAXPROD]
32 MP_PARALL: BP[updates=PARALL,tol=1e-9,maxiter=10000,logdomain=0,inference=MAXPROD]
33 MP_SEQFIX_LOG: BP[updates=SEQFIX,tol=1e-9,maxiter=10000,logdomain=1,inference=MAXPROD]
34 MP_SEQRND_LOG: BP[updates=SEQRND,tol=1e-9,maxiter=10000,logdomain=1,inference=MAXPROD]
35 MP_SEQMAX_LOG: BP[updates=SEQMAX,tol=1e-9,maxiter=10000,logdomain=1,inference=MAXPROD]
36 MP_PARALL_LOG: BP[updates=PARALL,tol=1e-9,maxiter=10000,logdomain=1,inference=MAXPROD]
37
38 # --- FBP ---------------------
39
40 FBP: FBP[updates=SEQFIX,tol=1e-9,maxiter=10000,logdomain=0]
41
42 # --- TRWBP -------------------
43
44 TRWBP: TRWBP[updates=SEQFIX,tol=1e-9,maxiter=10000,logdomain=0,nrtrees=0]
45
46 # --- JTREE -------------------
47
48 JTREE_HUGIN: JTREE[updates=HUGIN,verbose=0]
49 JTREE_SHSH: JTREE[updates=SHSH,verbose=0]
50 JTREE_HUGIN_MAP: JTREE[updates=HUGIN,verbose=0,inference=MAXPROD]
51 JTREE_SHSH_MAP: JTREE[updates=SHSH,verbose=0,inference=MAXPROD]
52
53 # --- MF ----------------------
54
55 MF_SEQRND: MF[tol=1e-9,maxiter=10000]
56
57 # --- TREEEP ------------------
58
59 TREEEP: TREEEP[type=ORG,tol=1e-9,maxiter=10000,verbose=0]
60 TREEEPWC: TREEEP[type=ALT,tol=1e-9,maxiter=10000,verbose=0]
61
62 # --- MR ----------------------
63
64 MR_DEFAULT: MR[updates=FULL,inits=RESPPROP,verbose=0,tol=1e-9]
65 MR_RESPPROP_FULL: MR[updates=FULL,inits=RESPPROP,verbose=0,tol=1e-9]
66 MR_RESPPROP_LINEAR: MR[updates=LINEAR,inits=RESPPROP,verbose=0,tol=1e-9]
67 MR_CLAMPING_FULL: MR[updates=FULL,inits=CLAMPING,verbose=0,tol=1e-9]
68 MR_CLAMPING_LINEAR: MR[updates=LINEAR,inits=CLAMPING,verbose=0,tol=1e-9]
69 MR_EXACT_FULL: MR[updates=FULL,inits=EXACT,verbose=0,tol=1e-9]
70 MR_EXACT_LINEAR: MR[updates=LINEAR,inits=EXACT,verbose=0,tol=1e-9]
71
72 # --- HAK ---------------------
73
74 GBP_MIN: HAK[doubleloop=0,clusters=MIN,init=UNIFORM,tol=1e-9,maxiter=10000,verbose=0]
75 GBP_BETHE: HAK[doubleloop=0,clusters=BETHE,init=UNIFORM,tol=1e-9,maxiter=10000,verbose=0]
76 GBP_DELTA: HAK[doubleloop=0,clusters=DELTA,init=UNIFORM,tol=1e-9,maxiter=10000,verbose=0]
77 GBP_LOOP3: HAK[doubleloop=0,clusters=LOOP,init=UNIFORM,loopdepth=3,tol=1e-9,maxiter=10000,verbose=0]
78 GBP_LOOP4: HAK[doubleloop=0,clusters=LOOP,init=UNIFORM,loopdepth=4,tol=1e-9,maxiter=10000,verbose=0]
79 GBP_LOOP5: HAK[doubleloop=0,clusters=LOOP,init=UNIFORM,loopdepth=5,tol=1e-9,maxiter=10000,verbose=0]
80 GBP_LOOP6: HAK[doubleloop=0,clusters=LOOP,init=UNIFORM,loopdepth=6,tol=1e-9,maxiter=10000,verbose=0]
81 GBP_LOOP7: HAK[doubleloop=0,clusters=LOOP,init=UNIFORM,loopdepth=7,tol=1e-9,maxiter=10000,verbose=0]
82 GBP_LOOP8: HAK[doubleloop=0,clusters=LOOP,init=UNIFORM,loopdepth=8,tol=1e-9,maxiter=10000,verbose=0]
83
84 HAK_MIN: HAK[doubleloop=1,clusters=MIN,init=UNIFORM,tol=1e-9,maxiter=10000,verbose=0]
85 HAK_BETHE: HAK[doubleloop=1,clusters=BETHE,init=UNIFORM,tol=1e-9,maxiter=10000,verbose=0]
86 HAK_DELTA: HAK[doubleloop=1,clusters=DELTA,init=UNIFORM,tol=1e-9,maxiter=10000,verbose=0]
87 HAK_LOOP3: HAK[doubleloop=1,clusters=LOOP,init=UNIFORM,loopdepth=3,tol=1e-9,maxiter=10000,verbose=0]
88 HAK_LOOP4: HAK[doubleloop=1,clusters=LOOP,init=UNIFORM,loopdepth=4,tol=1e-9,maxiter=10000,verbose=0]
89 HAK_LOOP5: HAK[doubleloop=1,clusters=LOOP,init=UNIFORM,loopdepth=5,tol=1e-9,maxiter=10000,verbose=0]
90 HAK_LOOP6: HAK[doubleloop=1,clusters=LOOP,init=UNIFORM,loopdepth=6,tol=1e-9,maxiter=10000,verbose=0]
91 HAK_LOOP7: HAK[doubleloop=1,clusters=LOOP,init=UNIFORM,loopdepth=7,tol=1e-9,maxiter=10000,verbose=0]
92 HAK_LOOP8: HAK[doubleloop=1,clusters=LOOP,init=UNIFORM,loopdepth=8,tol=1e-9,maxiter=10000,verbose=0]
93
94 # --- LC ----------------------
95
96 LCBP_FULLCAVin_SEQFIX: LC[cavity=FULL,reinit=1,updates=SEQFIX,maxiter=10000,cavainame=BP,cavaiopts=[updates=SEQMAX,tol=1e-9,maxiter=10000,logdomain=0],tol=1e-9,verbose=0]
97 LCBP_FULLCAVin_SEQRND: LC[cavity=FULL,reinit=1,updates=SEQRND,maxiter=10000,cavainame=BP,cavaiopts=[updates=SEQMAX,tol=1e-9,maxiter=10000,logdomain=0],tol=1e-9,verbose=0]
98 LCBP_FULLCAVin_NONE: LC[cavity=FULL,reinit=1,updates=SEQFIX,maxiter=0,cavainame=BP,cavaiopts=[updates=SEQMAX,tol=1e-9,maxiter=10000,logdomain=0],tol=1e-9,verbose=0]
99 LCBP_FULLCAV_SEQFIX: LC[cavity=FULL,reinit=0,updates=SEQFIX,maxiter=10000,cavainame=BP,cavaiopts=[updates=SEQMAX,tol=1e-9,maxiter=10000,logdomain=0],tol=1e-9,verbose=0]
100 LCBP_FULLCAV_SEQRND: LC[cavity=FULL,reinit=0,updates=SEQRND,maxiter=10000,cavainame=BP,cavaiopts=[updates=SEQMAX,tol=1e-9,maxiter=10000,logdomain=0],tol=1e-9,verbose=0]
101 LCBP_FULLCAV_NONE: LC[cavity=FULL,reinit=0,updates=SEQFIX,maxiter=0,cavainame=BP,cavaiopts=[updates=SEQMAX,tol=1e-9,maxiter=10000,logdomain=0],tol=1e-9,verbose=0]
102 LCBP_PAIRCAVin_SEQFIX: LC[cavity=PAIR,reinit=1,updates=SEQFIX,maxiter=10000,cavainame=BP,cavaiopts=[updates=SEQMAX,tol=1e-9,maxiter=10000,logdomain=0],tol=1e-9,verbose=0]
103 LCBP_PAIRCAVin_SEQRND: LC[cavity=PAIR,reinit=1,updates=SEQRND,maxiter=10000,cavainame=BP,cavaiopts=[updates=SEQMAX,tol=1e-9,maxiter=10000,logdomain=0],tol=1e-9,verbose=0]
104 LCBP_PAIRCAVin_NONE: LC[cavity=PAIR,reinit=1,updates=SEQFIX,maxiter=0,cavainame=BP,cavaiopts=[updates=SEQMAX,tol=1e-9,maxiter=10000,logdomain=0],tol=1e-9,verbose=0]
105 LCBP_PAIRCAV_SEQFIX: LC[cavity=PAIR,reinit=0,updates=SEQFIX,maxiter=10000,cavainame=BP,cavaiopts=[updates=SEQMAX,tol=1e-9,maxiter=10000,logdomain=0],tol=1e-9,verbose=0]
106 LCBP_PAIRCAV_SEQRND: LC[cavity=PAIR,reinit=0,updates=SEQRND,maxiter=10000,cavainame=BP,cavaiopts=[updates=SEQMAX,tol=1e-9,maxiter=10000,logdomain=0],tol=1e-9,verbose=0]
107 LCBP_PAIRCAV_NONE: LC[cavity=PAIR,reinit=0,updates=SEQFIX,maxiter=0,cavainame=BP,cavaiopts=[updates=SEQMAX,tol=1e-9,maxiter=10000,logdomain=0],tol=1e-9,verbose=0]
108 LCBP_PAIR2CAVin_SEQFIX: LC[cavity=PAIR2,reinit=1,updates=SEQFIX,maxiter=10000,cavainame=BP,cavaiopts=[updates=SEQMAX,tol=1e-9,maxiter=10000,logdomain=0],tol=1e-9,verbose=0]
109 LCBP_PAIR2CAVin_SEQRND: LC[cavity=PAIR2,reinit=1,updates=SEQRND,maxiter=10000,cavainame=BP,cavaiopts=[updates=SEQMAX,tol=1e-9,maxiter=10000,logdomain=0],tol=1e-9,verbose=0]
110 LCBP_PAIR2CAVin_NONE: LC[cavity=PAIR2,reinit=1,updates=SEQFIX,maxiter=0,cavainame=BP,cavaiopts=[updates=SEQMAX,tol=1e-9,maxiter=10000,logdomain=0],tol=1e-9,verbose=0]
111 LCBP_PAIR2CAV_SEQFIX: LC[cavity=PAIR2,reinit=0,updates=SEQFIX,maxiter=10000,cavainame=BP,cavaiopts=[updates=SEQMAX,tol=1e-9,maxiter=10000,logdomain=0],tol=1e-9,verbose=0]
112 LCBP_PAIR2CAV_SEQRND: LC[cavity=PAIR2,reinit=0,updates=SEQRND,maxiter=10000,cavainame=BP,cavaiopts=[updates=SEQMAX,tol=1e-9,maxiter=10000,logdomain=0],tol=1e-9,verbose=0]
113 LCBP_PAIR2CAV_NONE: LC[cavity=PAIR2,reinit=0,updates=SEQFIX,maxiter=0,cavainame=BP,cavaiopts=[updates=SEQMAX,tol=1e-9,maxiter=10000,logdomain=0],tol=1e-9,verbose=0]
114 LCBP_UNICAV_SEQFIX: LC[cavity=UNIFORM,updates=SEQFIX,maxiter=10000,tol=1e-9,verbose=0,cavaiopts=[],cavainame=NONE]
115 LCBP_UNICAV_SEQRND: LC[cavity=UNIFORM,updates=SEQRND,maxiter=10000,tol=1e-9,verbose=0,cavaiopts=[],cavainame=NONE]
116
117 LCTREEEP: LC[cavity=FULL,reinit=1,updates=SEQFIX,maxiter=10000,cavainame=TREEEP,cavaiopts=[type=ORG,tol=1e-9,maxiter=10000,verbose=0],tol=1e-9,verbose=0]
118 LCMF: LC[cavity=FULL,reinit=1,updates=SEQFIX,maxiter=10000,cavainame=MF,cavaiopts=[tol=1e-9,maxiter=10000,verbose=0],tol=1e-9,verbose=0]
119 LCBP: LCBP_FULLCAVin_SEQRND
120
121 # --- GIBBS -------------------
122
123 GIBBS: GIBBS[iters=1000,burnin=100,verbose=0]
124 GIBBS_1e1: GIBBS[iters=10,burnin=1,verbose=0]
125 GIBBS_1e2: GIBBS[iters=100,burnin=10,verbose=0]
126 GIBBS_1e3: GIBBS[iters=1000,burnin=100,verbose=0]
127 GIBBS_1e4: GIBBS[iters=10000,burnin=1000,verbose=0]
128 GIBBS_1e5: GIBBS[iters=100000,burnin=10000,verbose=0]
129 GIBBS_1e6: GIBBS[iters=1000000,burnin=100000,verbose=0]
130 GIBBS_1e7: GIBBS[iters=10000000,burnin=100000,verbose=0]
131 GIBBS_1e8: GIBBS[iters=100000000,burnin=100000,verbose=0]
132 GIBBS_1e9: GIBBS[iters=1000000000,burnin=100000,verbose=0]
133
134 # --- CBP ---------------------
135
136 CBP: CBP[max_levels=12,updates=SEQMAX,tol=1e-9,rec_tol=1e-9,maxiter=500,choose=CHOOSE_RANDOM,recursion=REC_FIXED,clamp=CLAMP_VAR,min_max_adj=1.0e-9,bbp_cfn=CFN_FACTOR_ENT,verbose=0,rand_seed=0,bbp_props=[verbose=0,tol=1.0e-9,maxiter=10000,damping=0,updates=SEQ_BP_REV],clamp_outfile=]
137 BBP: CBP[choose=CHOOSE_BBP]