-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathout.txt
573 lines (547 loc) · 14 KB
/
out.txt
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
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
C=5, rbf svm
89.25
83.8333333333
c=5, rbf svm, gamma=0.005
89.0833333333
83.1666666667
C=0.001 linear svm
87.75
81.1666666667
C=5 poly 3rd deg svm
80.8333333333
73.3333333333
C=5 poly many degrees max at 1 svm
86.3333333333
79.1666666667
knn n=30
83.9166666667
n=10
79.6666666667
rf n=60
83.8333333333
76.1666666667
ada
66.3333333333
53.0833333333
SVM RBF
Male
Accuracy avg : 89.0833333333
Recall avg : 89.0833333333
Precision avg : 90.9229717042
F1 avg : 89.068171441
Female
Accuracy avg : 83.1666666667
Recall avg : 83.1666666667
Precision avg : 86.2259401818
F1 avg : 82.4134298578
Normalized male confusion matrix
[[134 13 0 1 0 1 1 0]
[ 6 131 0 2 0 0 9 2]
[ 2 0 145 0 0 3 0 0]
[ 3 4 1 126 1 2 11 2]
[ 0 0 1 2 132 15 0 0]
[ 0 3 7 2 0 138 0 0]
[ 0 16 0 5 0 2 122 5]
[ 1 4 1 0 0 0 3 141]]
Normalized female confusion matrix
[[139 0 0 2 0 0 2 7]
[ 0 131 7 0 10 0 1 1]
[ 0 5 126 0 3 10 5 1]
[ 10 3 0 106 0 10 16 5]
[ 0 4 2 0 144 0 0 0]
[ 1 1 14 4 1 120 9 0]
[ 3 1 1 6 0 8 107 24]
[ 1 0 0 5 0 0 19 125]]
for male
recall precision f1
anger 0.89 0.93 0.90
disgust 0.87 0.81 0.83
fear 0.97 0.95 0.95
happy 0.84 0.93 0.87
neutral 0.88 0.99 0.93
sadness 0.92 0.87 0.89
sarcastic 0.81 0.85 0.82
surprise 0.94 0.95 0.94
for female
anger 0.93 0.92 0.92
disgust 0.87 0.93 0.88
fear 0.84 0.88 0.84
happy 0.71 0.90 0.76
neutral 0.96 0.93 0.94
sadness 0.80 0.84 0.79
sarcastic 0.71 0.71 0.68
surprise 0.83 0.79 0.79
SVM linear
Male
Accuracy avg : 87.75
Recall avg : 87.75
Precision avg : 89.5593226218
F1 avg : 87.7981593723
Female
Accuracy avg : 81.1666666667
Recall avg : 81.1666666667
Precision avg : 83.7375656751
F1 avg : 80.4610499027
Normalized male confusion matrix
[[132 13 0 3 1 0 1 0]
[ 7 136 0 2 0 0 4 1]
[ 1 0 140 1 1 7 0 0]
[ 3 3 1 124 4 4 10 1]
[ 0 0 0 5 130 15 0 0]
[ 0 2 6 4 0 138 0 0]
[ 2 15 0 11 0 0 116 6]
[ 4 6 0 0 0 0 3 137]]
Normalized female confusion matrix
[[137 1 1 5 0 0 1 5]
[ 1 130 8 1 9 0 0 1]
[ 1 6 126 1 2 10 3 1]
[ 6 3 1 104 0 16 18 2]
[ 0 8 3 0 139 0 0 0]
[ 2 4 13 4 0 115 12 0]
[ 3 1 3 9 1 10 101 22]
[ 4 0 0 6 0 0 18 122]]
for male
recall precision f1
anger 0.88 0.90 0.88
disgust 0.91 0.82 0.85
fear 0.93 0.96 0.94
happy 0.83 0.84 0.83
neutral 0.87 0.97 0.91
sadness 0.92 0.85 0.88
sarcastic 0.77 0.88 0.81
surprise 0.91 0.95 0.92
for female
anger 0.91 0.91 0.90
disgust 0.87 0.89 0.86
fear 0.84 0.84 0.83
happy 0.69 0.80 0.71
neutral 0.93 0.94 0.92
sadness 0.77 0.80 0.74
sarcastic 0.67 0.71 0.66
surprise 0.81 0.82 0.80
SVM POLY
Male
Accuracy avg : 80.8333333333
Recall avg : 80.8333333333
Precision avg : 87.2781804653
F1 avg : 81.0039793509
Female
Accuracy avg : 73.3333333333
Recall avg : 73.3333333333
Precision avg : 82.0982738509
F1 avg : 73.0588752718
Normalized male confusion matrix
[[110 28 0 2 0 8 2 0]
[ 1 138 0 1 0 3 6 1]
[ 0 4 118 0 0 27 0 1]
[ 0 15 1 108 0 15 11 0]
[ 0 0 0 3 122 21 4 0]
[ 0 2 0 1 0 147 0 0]
[ 0 36 0 4 0 4 104 2]
[ 4 14 0 0 0 6 3 123]]
Normalized female confusion matrix
[[ 98 4 0 17 0 1 24 6]
[ 0 129 3 0 5 4 9 0]
[ 0 12 96 0 2 22 17 1]
[ 2 1 0 94 0 11 40 2]
[ 0 18 1 1 125 0 5 0]
[ 0 4 7 1 0 122 16 0]
[ 0 1 0 5 0 5 127 12]
[ 0 1 0 5 0 0 55 89]]
for male
recall precision f1
anger 0.73 0.96 0.82
disgust 0.92 0.63 0.73
fear 0.79 0.99 0.87
happy 0.72 0.93 0.79
neutral 0.81 1.00 0.89
sadness 0.98 0.67 0.79
sarcastic 0.69 0.83 0.71
surprise 0.82 0.97 0.88
for female
anger 0.65 0.99 0.76
disgust 0.86 0.81 0.82
fear 0.64 0.90 0.73
happy 0.63 0.84 0.67
neutral 0.83 0.97 0.88
sadness 0.81 0.78 0.75
sarcastic 0.85 0.45 0.58
surprise 0.59 0.84 0.65
KNN
Male
Accuracy avg : 82.75
Recall avg : 82.75
Precision avg : 85.8998559132
F1 avg : 82.7462002996
Female
Accuracy avg : 75.3333333333
Recall avg : 75.3333333333
Precision avg : 79.0512800359
F1 avg : 74.4465490703
Male confusion matrix
[[115 20 0 7 0 7 1 0]
[ 5 130 0 3 1 1 8 2]
[ 1 2 136 0 0 10 0 1]
[ 2 10 2 108 1 15 11 1]
[ 0 0 0 2 133 15 0 0]
[ 0 3 6 4 2 135 0 0]
[ 1 32 0 4 2 3 103 5]
[ 5 5 2 1 0 2 2 133]]
Female confusion matrix
[[110 2 1 20 0 2 12 3]
[ 0 137 6 0 4 1 0 2]
[ 0 20 93 1 1 27 8 0]
[ 4 3 1 107 1 12 18 4]
[ 0 5 3 0 141 1 0 0]
[ 0 5 9 4 1 123 8 0]
[ 7 2 2 13 0 18 82 26]
[ 8 0 0 4 0 2 25 111]]
for male
recall precision f1
anger 0.77 0.90 0.82
disgust 0.87 0.70 0.75
fear 0.91 0.94 0.92
happy 0.72 0.87 0.77
neutral 0.89 0.96 0.92
sadness 0.90 0.75 0.81
sarcastic 0.69 0.82 0.73
surprise 0.89 0.95 0.91
for female
anger 0.73 0.87 0.78
disgust 0.91 0.82 0.85
fear 0.62 0.83 0.69
happy 0.71 0.77 0.70
neutral 0.94 0.96 0.95
sadness 0.82 0.69 0.72
sarcastic 0.55 0.60 0.53
surprise 0.74 0.79 0.73
RF
Male
Accuracy avg : 83.4166666667
Recall avg : 83.4166666667
Precision avg : 86.9869081997
F1 avg : 83.4670981548
Female
Accuracy avg : 75.25
Recall avg : 75.25
Precision avg : 79.4084629967
F1 avg : 74.1419021786
Male confusion matrix
[[124 17 2 2 1 0 4 0]
[ 6 124 3 2 0 2 9 4]
[ 1 5 137 0 1 5 1 0]
[ 5 10 5 114 1 5 7 3]
[ 0 0 0 3 133 13 1 0]
[ 1 2 8 12 0 127 0 0]
[ 1 24 0 7 1 7 105 5]
[ 2 6 3 0 0 0 2 137]]
Female confusion matrix
[[116 3 2 7 0 1 4 17]
[ 0 125 6 2 12 1 0 4]
[ 0 10 107 0 7 20 5 1]
[ 10 9 0 102 2 11 14 2]
[ 0 7 1 0 142 0 0 0]
[ 2 8 13 7 3 109 7 1]
[ 3 1 3 14 1 13 77 38]
[ 4 0 0 7 0 2 12 125]]
for male
recall precision f1
anger 0.83 0.91 0.85
disgust 0.83 0.72 0.75
fear 0.91 0.88 0.89
happy 0.76 0.86 0.79
neutral 0.89 0.98 0.93
sadness 0.85 0.83 0.82
sarcastic 0.70 0.85 0.74
surprise 0.91 0.93 0.91
for female
anger 0.77 0.90 0.80
disgust 0.83 0.82 0.80
fear 0.71 0.84 0.76
happy 0.68 0.75 0.68
neutral 0.95 0.89 0.91
sadness 0.73 0.73 0.69
sarcastic 0.51 0.71 0.56
surprise 0.83 0.71 0.74
ADA
Male
Accuracy avg : 71.3333333333
Recall avg : 71.3333333333
Precision avg : 77.6474758563
F1 avg : 71.3402586035
Female
Accuracy avg : 59.6666666667
Recall avg : 59.6666666667
Precision avg : 65.5077636788
F1 avg : 59.1845023206
Normalized male confusion matrix
[[112 15 1 13 0 3 4 2]
[ 15 102 1 16 1 1 13 1]
[ 3 12 107 1 0 23 3 1]
[ 2 8 1 121 1 6 11 0]
[ 1 1 1 15 110 15 7 0]
[ 1 3 8 16 1 119 1 1]
[ 0 25 2 32 3 5 78 5]
[ 13 14 1 6 0 3 6 107]]
Normalized female confusion matrix
[[ 87 2 7 18 0 3 26 7]
[ 1 118 6 6 10 2 6 1]
[ 1 19 90 4 5 25 6 0]
[ 21 8 2 74 1 8 33 3]
[ 0 40 2 0 108 0 0 0]
[ 1 8 21 6 3 88 19 4]
[ 8 3 2 22 1 8 76 30]
[ 5 0 0 7 0 1 62 75]]
for male
recall precision f1
anger 0.75 0.78 0.75
disgust 0.68 0.63 0.61
fear 0.71 0.90 0.78
happy 0.81 0.61 0.67
neutral 0.73 0.96 0.82
sadness 0.79 0.73 0.73
sarcastic 0.52 0.67 0.56
surprise 0.71 0.93 0.79
for female
anger 0.58 0.74 0.63
disgust 0.79 0.65 0.69
fear 0.60 0.74 0.64
happy 0.49 0.56 0.50
neutral 0.72 0.91 0.76
sadness 0.59 0.69 0.60
sarcastic 0.51 0.34 0.40
surprise 0.50 0.61 0.52
ANN1: epo:20, h1:100, h2:100
Male
Accuracy avg : 87.0
Recall avg : 87.0
Precision avg : 88.998034373
F1 avg : 86.9526213237
Female
Accuracy avg : 79.0833333333
Recall avg : 79.0833333333
Precision avg : 82.7173655593
F1 avg : 77.9493819288
Male confusion matrix
[[132 14 0 1 0 1 1 1]
[ 10 124 0 2 0 1 8 5]
[ 3 0 142 0 1 4 0 0]
[ 4 3 4 116 5 4 12 2]
[ 0 0 1 5 132 11 1 0]
[ 1 1 6 5 1 135 0 1]
[ 0 14 0 6 1 2 121 6]
[ 3 3 1 0 0 0 1 142]]
Female confusion matrix
[[130 1 2 7 0 0 2 8]
[ 0 129 8 1 10 1 0 1]
[ 0 8 123 2 3 10 3 1]
[ 10 3 1 101 0 14 18 3]
[ 1 5 2 0 142 0 0 0]
[ 0 0 19 7 1 112 11 0]
[ 4 2 5 13 1 11 92 22]
[ 3 0 1 7 0 0 19 120]]
for male
recall precision f1
anger 0.88 0.89 0.87
disgust 0.83 0.82 0.81
fear 0.95 0.93 0.94
happy 0.77 0.89 0.82
neutral 0.88 0.95 0.91
sadness 0.90 0.87 0.87
sarcastic 0.81 0.85 0.82
surprise 0.95 0.91 0.93
for female
anger 0.87 0.90 0.87
disgust 0.86 0.91 0.86
fear 0.82 0.79 0.79
happy 0.67 0.82 0.67
neutral 0.95 0.92 0.93
sadness 0.75 0.80 0.73
sarcastic 0.61 0.69 0.60
surprise 0.80 0.78 0.79
mlpc, 100 epochs, 100 hidden neurons
Male
Accuracy avg : 87.0
Recall avg : 87.0
Precision avg : 89.3697182447
F1 avg : 86.9963345301
Female
Accuracy avg : 81.1666666667
Recall avg : 81.1666666667
Precision avg : 84.2573509687
F1 avg : 80.3127556099
Male confusion matrix
[[131 13 0 1 1 1 1 2]
[ 11 121 2 3 1 2 7 3]
[ 1 0 143 0 2 4 0 0]
[ 5 2 4 118 6 1 12 2]
[ 0 0 2 3 134 11 0 0]
[ 1 1 8 3 1 135 0 1]
[ 0 17 0 4 0 2 121 6]
[ 2 4 2 0 0 0 1 141]]
Female confusion matrix
[[135 1 2 5 0 0 3 4]
[ 0 132 6 0 10 0 1 1]
[ 2 5 126 1 3 7 5 1]
[ 9 1 1 103 0 13 19 4]
[ 1 5 1 0 143 0 0 0]
[ 0 0 10 4 1 122 13 0]
[ 2 1 2 13 1 13 92 26]
[ 2 0 1 6 0 0 20 121]]
for male
recall precision f1
anger 0.87 0.89 0.87
disgust 0.81 0.83 0.79
fear 0.95 0.91 0.92
happy 0.79 0.92 0.84
neutral 0.89 0.93 0.91
sadness 0.90 0.88 0.88
sarcastic 0.81 0.87 0.82
surprise 0.94 0.91 0.92
for female
anger 0.90 0.92 0.90
disgust 0.88 0.93 0.89
fear 0.84 0.86 0.84
happy 0.69 0.83 0.70
neutral 0.95 0.92 0.93
sadness 0.81 0.83 0.79
sarcastic 0.61 0.66 0.59
surprise 0.81 0.79 0.78
ann, 2 layers, 100 each, 50 epocycles
Accuracy avg : 87.3333333333
Recall avg : 87.3333333333
Precision avg : 89.3495574844
F1 avg : 87.3029174914
Female
Accuracy avg : 78.8333333333
Recall avg : 78.8333333333
Precision avg : 82.7977946868
F1 avg : 77.8311276368
Male confusion matrix
[[131 14 0 1 1 1 1 1]
[ 11 127 1 4 0 1 5 1]
[ 1 0 141 0 3 5 0 0]
[ 4 2 3 120 4 5 11 1]
[ 0 0 2 3 133 12 0 0]
[ 1 1 6 5 1 135 0 1]
[ 0 17 0 4 0 2 120 7]
[ 2 2 2 0 0 0 3 141]]
Female confusion matrix
[[127 0 2 7 0 0 1 13]
[ 0 128 8 1 11 1 0 1]
[ 6 11 116 1 3 10 3 0]
[ 9 1 1 107 0 14 16 2]
[ 1 6 2 0 141 0 0 0]
[ 0 0 13 6 2 118 11 0]
[ 3 1 5 14 1 10 93 23]
[ 4 2 3 7 0 0 18 116]]
for male
recall precision f1
anger 0.87 0.90 0.87
disgust 0.85 0.82 0.81
fear 0.94 0.92 0.93
happy 0.80 0.91 0.84
neutral 0.89 0.95 0.91
sadness 0.90 0.86 0.87
sarcastic 0.80 0.87 0.82
surprise 0.94 0.93 0.93
for female
anger 0.85 0.89 0.84
disgust 0.85 0.90 0.85
fear 0.77 0.83 0.77
happy 0.71 0.79 0.71
neutral 0.94 0.92 0.92
sadness 0.79 0.81 0.76
sarcastic 0.62 0.71 0.61
surprise 0.77 0.77 0.76
ANN, in-20-20-out 50 epochs
Male
Accuracy avg : 86.75
Recall avg : 86.75
Precision avg : 88.6398763274
F1 avg : 86.7484615531
Female
Accuracy avg : 74.9166666667
Recall avg : 74.9166666667
Precision avg : 78.8784933175
F1 avg : 73.8185642014
Male confusion matrix
[[131 13 1 0 0 1 3 1]
[ 10 127 1 1 0 1 10 0]
[ 1 0 138 0 1 9 1 0]
[ 4 3 3 117 6 5 11 1]
[ 0 1 3 2 133 11 0 0]
[ 1 1 8 4 4 131 0 1]
[ 0 16 0 3 0 0 124 7]
[ 2 2 2 0 0 0 4 140]]
Female confusion matrix
[[118 5 5 6 0 0 3 13]
[ 0 125 13 1 8 0 0 3]
[ 5 14 108 1 4 14 4 0]
[ 7 1 1 98 1 15 21 6]
[ 2 8 0 0 140 0 0 0]
[ 0 1 14 4 2 115 14 0]
[ 4 1 4 18 3 14 86 20]
[ 6 3 2 10 1 0 19 109]]
for male
recall precision f1
anger 0.87 0.90 0.87
disgust 0.85 0.83 0.81
fear 0.92 0.90 0.90
happy 0.78 0.93 0.84
neutral 0.89 0.93 0.91
sadness 0.87 0.84 0.85
sarcastic 0.83 0.82 0.81
surprise 0.93 0.94 0.93
for female
anger 0.79 0.88 0.80
disgust 0.83 0.83 0.81
fear 0.72 0.79 0.73
happy 0.65 0.77 0.66
neutral 0.93 0.91 0.91
sadness 0.77 0.78 0.73
sarcastic 0.57 0.60 0.55
surprise 0.73 0.76 0.72
SVM RBF on training by grouping:
Male
Precision avg : 84.8416522257
Female
Precision avg : 84.053443268
['anger', 'disgust', 'fear', 'happy', 'neutral', 'sadness', 'sarcastic', 'surprise']
Normalized male confusion matrix
[[117 28 0 3 0 0 2 0]
[ 10 128 0 1 0 0 10 1]
[ 3 0 135 2 1 9 0 0]
[ 5 2 1 121 3 4 13 1]
[ 0 0 2 4 131 13 0 0]
[ 1 2 7 4 0 136 0 0]
[ 0 21 0 9 1 1 105 13]
[ 2 6 0 1 0 0 0 141]]
Normalized female confusion matrix
[[140 1 1 2 0 0 3 3]
[ 1 136 5 2 4 1 0 1]
[ 0 10 120 1 3 12 3 1]
[ 7 3 0 115 0 4 20 1]
[ 0 6 2 0 142 0 0 0]
[ 0 2 15 4 0 120 9 0]
[ 3 1 7 9 0 7 96 27]
[ 3 0 0 3 0 0 22 122]]
for male
recall precision f1
anger 0.78 0.78 0.77
disgust 0.85 0.77 0.78
fear 0.90 0.94 0.91
happy 0.81 0.85 0.82
neutral 0.87 0.87 0.87
sadness 0.91 0.88 0.88
sarcastic 0.70 0.78 0.73
surprise 0.94 0.92 0.92
for female
anger 0.93 0.91 0.92
disgust 0.91 0.87 0.88
fear 0.80 0.82 0.78
happy 0.77 0.86 0.79
neutral 0.95 0.96 0.95
sadness 0.80 0.84 0.82
sarcastic 0.64 0.64 0.63
surprise 0.81 0.81 0.80