-
Notifications
You must be signed in to change notification settings - Fork 0
/
em
480 lines (375 loc) · 10.5 KB
/
em
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
=== Run information ===
Scheme: weka.clusterers.EM -I 100 -N -1 -X 10 -max -1 -ll-cv 1.0E-6 -ll-iter 1.0E-6 -M 1.0E-6 -K 10 -num-slots 1 -S 100
Relation: tfidf
Instances: 108347
Attributes: 88
t0
t1
t2
t3
t4
t5
t6
t7
t8
t9
t10
t11
t12
t13
t14
t15
t16
t17
t18
t19
t20
t21
t22
t23
t24
t25
t26
t27
t28
t29
t30
t31
t32
t33
t34
t35
t36
t37
t38
t39
t40
t41
t42
t43
t44
t45
t46
t47
t48
t49
t50
t51
t52
t53
t54
t55
t56
t57
t58
t59
t60
t61
t62
t63
t64
t65
t66
t67
t68
t69
t70
t71
t72
t73
t74
t75
t76
t77
t78
t79
t80
t81
t82
t83
t84
t85
t86
t87
Test mode: evaluate on training data
=== Clustering model (full training set) ===
EM
==
Number of clusters selected by cross validation: 4
Number of iterations performed: 3
Cluster
Attribute 0 1 2 3
(0.74) (0.03) (0.11) (0.13)
============================================
t0
mean 0.0005 0.0002 0.0002 0.0002
std. dev. 0.0009 0.0004 0.0005 0.0006
t1
mean 0 0 0 0.0002
std. dev. 0.0008 0.0001 0.0005 0.0023
t2
mean 0 0.001 0.0004 0.0014
std. dev. 0.0001 0.0051 0.0017 0.0061
t3
mean 0.0001 0.0017 0.0009 0.0003
std. dev. 0.0004 0.0045 0.0048 0.0015
t4
mean 0 0 0 0
std. dev. 0 0 0 0
t5
mean 0 0.0008 0 0
std. dev. 0.0002 0.0026 0.0005 0.0003
t6
mean 0 0 0 0
std. dev. 0 0 0 0
t7
mean 0 0.0009 0.0013 0
std. dev. 0.0003 0.0082 0.0045 0
t8
mean 0 0.0002 0.0001 0
std. dev. 0.0008 0.0046 0.0006 0.0002
t9
mean 0 0.0006 0 0.0001
std. dev. 0 0.0037 0.0002 0.0007
t10
mean 0.0003 0.0043 0.0026 0.002
std. dev. 0.0012 0.0091 0.0054 0.0064
t11
mean 0.0001 0.003 0.0008 0.0001
std. dev. 0.0002 0.0099 0.0022 0.0002
t12
mean 0 0 0 0
std. dev. 0 0.0002 0 0
t13
mean 0 0 0 0
std. dev. 0 0 0 0
t14
mean 0.0009 0.0084 0.0021 0.0004
std. dev. 0.0034 0.0224 0.0074 0.0011
t15
mean 0 0.0001 0.0001 0
std. dev. 0.0005 0.0004 0.0014 0
t16
mean 0 0.0005 0 0
std. dev. 0.0001 0.0036 0.0001 0.0002
t17
mean 0 0.0001 0 0
std. dev. 0.0004 0.0025 0.0004 0.0004
t18
mean 0 0.0022 0.0002 0
std. dev. 0.0001 0.0113 0.001 0
t19
mean 0 0.0025 0.0001 0.0001
std. dev. 0 0.0101 0.0005 0.0005
t20
mean 0 0.0008 0.0014 0.0001
std. dev. 0.0001 0.0025 0.0066 0.0003
t21
mean 0 0.0005 0 0.0001
std. dev. 0 0.003 0.0005 0.0004
t22
mean 0 0.0005 0 0
std. dev. 0.0005 0.0029 0 0.0001
t23
mean 0 0.0003 0 0.0003
std. dev. 0.0009 0.0021 0.0002 0.0024
t24
mean 0 0 0 0
std. dev. 0.0007 0.0006 0.0001 0.0006
t25
mean 0.0001 0.0003 0.0007 0.0001
std. dev. 0.0005 0.0011 0.0026 0.0003
t26
mean 0 0 0 0
std. dev. 0 0 0 0
t27
mean 0 0 0 0
std. dev. 0.0001 0.0005 0 0.0001
t28
mean 0 0 0.0002 0.0004
std. dev. 0.0002 0.0004 0.0014 0.002
t29
mean 0 0 0.0003 0
std. dev. 0.0004 0.0003 0.0013 0.0004
t30
mean 0 0.0002 0 0
std. dev. 0.0004 0.0022 0.0001 0.0001
t31
mean 0 0.0004 0.0001 0.0002
std. dev. 0.0001 0.0028 0.0006 0.0009
t32
mean 0 0 0.0002 0
std. dev. 0.0005 0.0006 0.0014 0.0005
t33
mean 0 0.0005 0.0011 0
std. dev. 0.0003 0.0023 0.0033 0.0001
t34
mean 0 0 0 0
std. dev. 0.0002 0.0012 0.0002 0.0002
t35
mean 0 0.0001 0.0002 0
std. dev. 0.0002 0.0005 0.0016 0.0001
t36
mean 0 0 0 0
std. dev. 0.0002 0.0003 0.0003 0.0005
t37
mean 0 0 0 0
std. dev. 0.0001 0.0005 0.0001 0.0001
t38
mean 0 0.0004 0 0
std. dev. 0.0001 0.0014 0.0003 0.0002
t39
mean 0 0.0008 0.001 0.0003
std. dev. 0.0002 0.0025 0.0031 0.0013
t40
mean 0 0.0002 0 0
std. dev. 0.0003 0.0016 0.0003 0.0003
t41
mean 0 0.0001 0 0
std. dev. 0.0001 0.0007 0.0001 0.0001
t42
mean 0 0 0 0
std. dev. 0.0002 0.001 0.0002 0.0002
t43
mean 0 0.0012 0.0005 0
std. dev. 0 0.0061 0.0056 0.0003
t44
mean 0 0 0 0.0001
std. dev. 0.0006 0.0001 0.0003 0.0017
t45
mean 0 0.0001 0.0002 0.0005
std. dev. 0.0001 0.0006 0.001 0.0025
t46
mean 0 0.0005 0 0.0001
std. dev. 0 0.003 0.0005 0.0004
t47
mean 0 0 0 0
std. dev. 0 0.0001 0 0
t48
mean 0 0 0 0.0001
std. dev. 0.0001 0 0.0003 0.0018
t49
mean 0 0 0 0
std. dev. 0 0.0002 0 0
t50
mean 0 0 0 0
std. dev. 0 0.0001 0 0
t51
mean 0 0.0008 0.0001 0
std. dev. 0.0001 0.0043 0.0011 0.0002
t52
mean 0 0.001 0 0
std. dev. 0.0003 0.0049 0.0009 0.0005
t53
mean 0 0.0002 0.0001 0.0001
std. dev. 0 0.001 0.0006 0.001
t54
mean 0 0.0004 0 0.0002
std. dev. 0 0.0034 0 0.001
t55
mean 0 0.0011 0.0007 0.0003
std. dev. 0.0002 0.0036 0.0034 0.0013
t56
mean 0 0 0 0
std. dev. 0 0 0 0
t57
mean 0 0 0 0
std. dev. 0 0.0002 0.0002 0
t58
mean 0 0 0 0
std. dev. 0 0.0002 0 0
t59
mean 0 0 0 0
std. dev. 0 0.0003 0 0
t60
mean 0.0002 0.0002 0.0005 0.0001
std. dev. 0.0007 0.0011 0.0021 0.0003
t61
mean 0.0002 0.0003 0.001 0.0002
std. dev. 0.0008 0.0012 0.0033 0.0006
t62
mean 0 0 0 0
std. dev. 0.0001 0 0.0013 0.0005
t63
mean 0 0.0001 0.0002 0
std. dev. 0 0.0004 0.0018 0
t64
mean 0.0001 0.0028 0.0002 0
std. dev. 0.001 0.0104 0.0012 0.0003
t65
mean 0 0.0004 0 0
std. dev. 0.0001 0.0025 0.0004 0.0004
t66
mean 0 0.0002 0 0
std. dev. 0 0.0017 0.0004 0.0003
t67
mean 0 0 0 0
std. dev. 0 0 0 0
t68
mean 0 0.0008 0.0008 0
std. dev. 0.0004 0.0071 0.0026 0.0002
t69
mean 0 0.0004 0.0001 0
std. dev. 0 0.0061 0.0008 0.001
t70
mean 0 0.0002 0.0002 0
std. dev. 0.0007 0.0008 0.0022 0
t71
mean 0 0 0 0
std. dev. 0 0 0 0
t72
mean 0 0 0 0
std. dev. 0 0 0 0
t73
mean 0 0 0 0
std. dev. 0.0001 0.0005 0.0001 0.0001
t74
mean 0 0 0 0
std. dev. 0 0 0 0
t75
mean 0 0.0003 0 0
std. dev. 0 0.0037 0 0.0006
t76
mean 0 0.0055 0.0001 0.0017
std. dev. 0.0001 0.026 0.0007 0.006
t77
mean 0.0005 0.0014 0.0012 0.002
std. dev. 0.0015 0.0062 0.0049 0.0066
t78
mean 0 0.0002 0.0004 0.0002
std. dev. 0.0001 0.0017 0.0018 0.0008
t79
mean 0 0 0 0
std. dev. 0 0 0 0
t80
mean 0 0 0 0
std. dev. 0 0 0 0
t81
mean 0 0.0003 0 0
std. dev. 0 0.0022 0 0.0004
t82
mean 0 0.0002 0 0
std. dev. 0.0001 0.0008 0.0001 0.0001
t83
mean 0 0.0007 0.0001 0.0002
std. dev. 0.0001 0.0032 0.0009 0.0012
t84
mean 0 0.0001 0.0003 0.0001
std. dev. 0.0001 0.0007 0.0014 0.0005
t85
mean 0 0 0 0
std. dev. 0 0.0001 0.0003 0
t86
mean 0 0 0.0001 0
std. dev. 0.0001 0.0001 0.0003 0.0001
t87
mean 0 0 0 0
std. dev. 0 0 0 0
Time taken to build model (full training data) : 2798.61 seconds
=== Model and evaluation on training set ===
Clustered Instances
0 78134 ( 72%)
1 2398 ( 2%)
2 13750 ( 13%)
3 14065 ( 13%)
Log likelihood: 726.41596