EM bugfix. Convenience methods in Factor, Permute, Properties, EM.
[libdai.git] / tests / testem / testem.out
1 Number of samples: 20
2 Sample #0 has 2 observations.
3 Sample #1 has 2 observations.
4 Sample #2 has 2 observations.
5 Sample #3 has 2 observations.
6 Sample #4 has 2 observations.
7 Sample #5 has 2 observations.
8 Sample #6 has 2 observations.
9 Sample #7 has 2 observations.
10 Sample #8 has 2 observations.
11 Sample #9 has 2 observations.
12 Sample #10 has 2 observations.
13 Sample #11 has 2 observations.
14 Sample #12 has 2 observations.
15 Sample #13 has 2 observations.
16 Sample #14 has 2 observations.
17 Sample #15 has 2 observations.
18 Sample #16 has 2 observations.
19 Sample #17 has 2 observations.
20 Sample #18 has 2 observations.
21 Sample #19 has 2 observations.
22 Iteration 1 likelihood: -27.7259
23 Iteration 2 likelihood: -23.4297
24 Iteration 3 likelihood: -23.4297
25
26 Inferred Factor Graph:
27 ######################
28 1
29
30 2
31 0 1
32 2 2
33 4
34 0 0.166666666667
35 1 0.666666666667
36 2 0.833333333333
37 3 0.333333333333
38 Number of samples: 20
39 Sample #0 has 2 observations.
40 Sample #1 has 2 observations.
41 Sample #2 has 2 observations.
42 Sample #3 has 2 observations.
43 Sample #4 has 2 observations.
44 Sample #5 has 2 observations.
45 Sample #6 has 2 observations.
46 Sample #7 has 2 observations.
47 Sample #8 has 2 observations.
48 Sample #9 has 2 observations.
49 Sample #10 has 2 observations.
50 Sample #11 has 2 observations.
51 Sample #12 has 2 observations.
52 Sample #13 has 2 observations.
53 Sample #14 has 2 observations.
54 Sample #15 has 2 observations.
55 Sample #16 has 2 observations.
56 Sample #17 has 2 observations.
57 Sample #18 has 2 observations.
58 Sample #19 has 2 observations.
59 Iteration 1 likelihood: -27.7259
60 Iteration 2 likelihood: -23.7555
61 Iteration 3 likelihood: -23.7555
62
63 Inferred Factor Graph:
64 ######################
65 1
66
67 3
68 0 1 2
69 2 2 2
70 8
71 0 0.214285714286
72 1 0.642857142857
73 2 0.785714285714
74 3 0.357142857143
75 4 0.214285714286
76 5 0.642857142857
77 6 0.785714285714
78 7 0.357142857143
79 Number of samples: 5
80 Sample #0 has 5 observations.
81 Sample #1 has 4 observations.
82 Sample #2 has 6 observations.
83 Sample #3 has 6 observations.
84 Sample #4 has 5 observations.
85 Iteration 1 likelihood: -16.4893
86 Iteration 2 likelihood: -15.4406
87 Iteration 3 likelihood: -15.3299
88
89 Inferred Factor Graph:
90 ######################
91 3
92
93 3
94 2 6 7
95 2 2 2
96 8
97 0 0.396387112396
98 1 0.356649908835
99 2 0.603612887604
100 3 0.643350091165
101 4 0.805779039527
102 5 0.669278114097
103 6 0.194220960473
104 7 0.330721885903
105
106 3
107 0 1 6
108 2 2 2
109 8
110 0 1.03521336269
111 1 1.54747895212
112 2 2.31765218974
113 3 1.28041900719
114 4 4.922079813
115 5 2.52725575019
116 6 0.831279296316
117 7 0.262805630803
118
119 3
120 1 2 4
121 2 2 2
122 8
123 0 0.396387112396
124 1 0.603612887604
125 2 0.356649908835
126 3 0.643350091165
127 4 0.805779039527
128 5 0.194220960473
129 6 0.669278114097
130 7 0.330721885903
131 Number of samples: 5
132 Sample #0 has 5 observations.
133 Sample #1 has 4 observations.
134 Sample #2 has 6 observations.
135 Sample #3 has 6 observations.
136 Sample #4 has 5 observations.
137 Iteration 1 likelihood: -16.4893
138 Iteration 2 likelihood: -17.6905
139 Iteration 3 likelihood: -17.6582
140
141 Inferred Factor Graph:
142 ######################
143 3
144
145 3
146 2 6 7
147 2 2 2
148 8
149 0 0.495312199726
150 1 0.499107942908
151 2 0.504687800274
152 3 0.500892057092
153 4 0.640416549958
154 5 0.495122293924
155 6 0.359583450042
156 7 0.504877706076
157
158 3
159 0 1 6
160 2 2 2
161 8
162 0 0.495312199726
163 1 0.504687800274
164 2 0.499107942908
165 3 0.500892057092
166 4 0.640416549958
167 5 0.359583450042
168 6 0.495122293924
169 7 0.504877706076
170
171 3
172 1 2 4
173 2 2 2
174 8
175 0 0.495312199726
176 1 0.504687800274
177 2 0.499107942908
178 3 0.500892057092
179 4 0.640416549958
180 5 0.359583450042
181 6 0.495122293924
182 7 0.504877706076