Dataset Viewer
Auto-converted to Parquet Duplicate
eda_mean
float64
0.42
4.52
eda_std
float64
0.05
1.02
eda_peaks
int64
0
13
hr_mean
float64
50.4
114
hr_std
float64
1
14.5
hr_skewness
float64
-0.37
0.62
face_au01
float64
0
0.43
face_au06
float64
0
1
face_au12
float64
0
1
face_landmark_distance1
float64
26.3
36.1
face_landmark_distance2
float64
38
54.4
face_landmark_ratio1
float64
0.55
1.6
emotion_label
stringclasses
6 values
1.074507
0.276585
3
69.585207
6.579213
0.076743
0.076526
0.132384
0.176151
30.54256
44.073165
0.953427
Neutral
1.036294
0.198717
3
64.260159
4.091976
-0.14123
0.173282
0.013754
0.071886
29.774224
45.135056
0.857525
Neutral
0.918343
0.239936
3
70.332768
4.398293
0.185228
0.099325
0.04245
0.118785
28.942289
46.64509
0.877916
Neutral
1.03133
0.373847
3
64.12099
4.884352
-0.03011
0.026074
0.033591
0.109843
29.280156
44.078722
1.105712
Neutral
1.051543
0.232308
4
64.71088
6.031
0.093128
0.058039
0.116204
0.080746
29.690788
45.662527
1.097555
Neutral
0.928124
0.381253
4
69.443023
4.92799
0.100353
0.118082
0.044683
0.04019
29.35488
45.722791
1.153804
Neutral
0.994626
0.308705
3
74.693931
5.091761
-0.198757
0.089016
0
0.141095
30.357113
47.955788
0.948173
Neutral
0.878726
0.247024
4
68.494729
5.097078
0.096864
0.064897
0.14577
0.116438
29.672338
44.215784
0.853649
Neutral
1.044418
0.158463
3
70.783166
4.657285
-0.080228
0.091936
0.100256
0.088271
30.404051
48.772372
1.017458
Neutral
1.038633
0.306023
5
69.776662
4.807639
0.030155
0.098264
0.004061
0.098674
28.831322
47.285646
1.075193
Neutral
1.118655
0.358686
5
67.271838
4.009464
-0.05663
0.104983
0.17014
0.029907
29.496524
41.898673
1.006856
Neutral
0.840654
0.221675
3
71.420777
5.813517
-0.123086
0.111373
0.054029
0.177497
31.307143
41.785034
1.018463
Neutral
1.038982
0.352194
3
72.345469
5.250493
0.034645
0.065999
0.038152
0.033977
30.232254
45.586145
0.928565
Neutral
1.279866
0.202532
4
71.421499
6.158596
-0.082068
0.148169
0.040435
0.132828
30.412781
46.64412
1.189679
Neutral
0.963192
0.29229
3
67.738792
5.276691
0.082718
0.10065
0.055524
0.059209
31.453534
44.470686
1.272017
Neutral
1.09385
0.277654
4
67.428527
5.473238
-0.007283
0.05766
0.046455
0.124124
28.485153
44.10697
1.08564
Neutral
1.032114
0.211614
3
66.262784
5.058209
-0.114297
0.117889
0.108659
0.119266
30.560785
47.166102
1.10538
Neutral
0.79335
0.351505
7
67.186525
5.570891
0.113557
0.1477
0.125752
0.125689
30.651391
44.369462
1.075897
Neutral
0.884076
0.531466
1
69.289544
5.68626
-0.161272
0.076403
0.075732
0.104094
31.088951
45.12856
0.892226
Neutral
0.892704
0.304557
2
72.038793
7.143944
0.063392
0
0.063482
0.110823
30.186454
43.676427
1.085243
Neutral
0.881122
0.17997
3
69.655791
4.525055
-0.065333
0.188273
0.125249
0.143288
30.404982
42.478232
1.091786
Neutral
1.318323
0.426691
2
73.097396
5.443819
0.077463
0.053653
0.024032
0.075788
29.940475
38.517465
0.897561
Neutral
0.962115
0.255996
3
66.25665
6.441273
-0.143586
0.158158
0.181621
0.028493
30.010233
43.036983
1.04621
Neutral
1.029859
0.311352
4
68.199349
6.586017
-0.123782
0.206652
0.10349
0.080734
28.047912
44.69643
1.058832
Neutral
1.042149
0.241064
4
68.131901
5.357015
-0.069291
0.14498
0.089594
0.07535
30.3073
46.625724
1.062963
Neutral
0.875651
0.29791
3
68.319457
6.277665
-0.059157
0.127355
0.137365
0.130519
29.797807
44.564638
1.109878
Neutral
1.123812
0.368195
3
72.440529
5.324166
-0.013014
0.10485
0.165274
0.10105
30.595157
43.363559
1.209239
Neutral
0.849097
0.362412
4
66.357434
4.987753
-0.089725
0.10379
0.157906
0.139583
29.322838
46.950239
0.985294
Neutral
0.876175
0.217778
3
69.035842
5.244967
-0.050694
0.076448
0.120647
0.071814
30.23205
42.103831
0.859254
Neutral
0.892233
0.385766
3
69.359659
4.980984
-0.100253
0.099074
0.115545
0.173768
29.711341
45.645437
0.917277
Neutral
1.077902
0.369014
3
74.598217
5.224092
0.001259
0.104884
0.094562
0.120086
29.22699
45.04902
1.0498
Neutral
1.217672
0.387232
3
72.877812
7.189803
-0.08083
0.058014
0.207659
0.061633
29.400607
40.752209
0.947424
Neutral
0.88613
0.395042
2
70.451181
4.101585
0.049192
0.033988
0.117088
0.193809
31.831459
47.35888
0.953082
Neutral
0.74303
0.140557
2
74.061617
5.005244
0.004698
0.077497
0.094273
0.161891
30.62285
42.864759
0.985762
Neutral
1.018044
0.146589
4
71.543317
5.332314
-0.074849
0.177558
0.135581
0.043768
30.115675
47.358594
1.006752
Neutral
1.309112
0.364538
4
75.266023
4.035077
0.068605
0.152921
0.087552
0.148579
28.241261
42.633483
0.796077
Neutral
0.959589
0.462862
2
72.152627
3.296618
-0.005555
0.119203
0.175118
0.103705
29.967305
40.865116
0.991088
Neutral
0.80433
0.248613
2
72.009018
4.937321
0.095514
0.050714
0.11833
0.053006
30.504047
43.939485
0.920713
Neutral
0.983945
0.496473
3
66.894273
4.300274
0.021398
0.094384
0.072318
0.040106
29.77903
46.228333
1.075751
Neutral
0.920425
0.148481
4
68.272545
6.644968
-0.024904
0.128828
0.086247
0
30.31125
51.157762
1.111957
Neutral
0.980812
0.224365
2
67.133379
4.353427
-0.108155
0.184357
0.019678
0.110173
30.88164
44.984055
1.147994
Neutral
1.011605
0.196275
3
67.416147
4.124382
-0.13828
0.146309
0.176156
0.126946
31.909417
42.202865
1.056297
Neutral
0.902404
0.304852
2
68.538624
5.270457
-0.005024
0.088053
0.07038
0.0568
29.092436
43.846457
1.075539
Neutral
1.075138
0.133059
4
67.067334
4.337376
0.05706
0.061837
0.104967
0.137569
28.195118
41.744915
1.004808
Neutral
1.038958
0.293392
2
67.28705
4.348164
0.00474
0.056979
0.13193
0.016924
29.615444
47.012586
0.942311
Neutral
1.125354
0.052836
2
66.610879
5.577072
-0.020305
0.118557
0.12649
0.172078
29.396015
45.17318
0.984432
Neutral
1.175167
0.251239
3
70.763263
5.394452
-0.042098
0.114489
0.11688
0.079406
32.075401
46.742249
0.967398
Neutral
1.180182
0.112921
3
68.775774
5.018418
0.167644
0.116346
0
0.049596
29.780899
46.658811
0.778886
Neutral
1.035342
0.33385
3
72.312596
5.632782
0.227069
0.109093
0.026071
0.157188
30.248221
44.081278
0.915016
Neutral
1.12455
0.347898
3
67.431749
6.03754
-0.051002
0.086506
0.103578
0.076117
29.021236
44.111413
1.03773
Neutral
1.113548
0.341343
5
67.233504
4.226211
-0.124465
0.011064
0.14348
0.167782
31.496044
46.308731
0.994442
Neutral
1.041995
0.310939
4
66.623533
5.481009
0.022388
0.060476
0.222288
0.106461
30.471468
48.764049
1.134542
Neutral
1.238978
0.305572
4
68.466353
3.307535
0.152955
0.0921
0.05052
0.093711
29.573119
42.975791
0.834514
Neutral
1.123476
0.266422
5
70.219954
4.740409
-0.150314
0.087713
0.035502
0.035246
29.727276
39.606227
0.994571
Neutral
0.96536
0.273111
2
72.088619
7.57336
0.005922
0.100696
0.192448
0.156328
29.975875
45.39617
0.985564
Neutral
0.913951
0.228715
3
68.359423
4.745023
0.150399
0
0.098362
0.072829
31.091507
47.49217
0.792661
Neutral
0.948597
0.188942
5
68.885677
5.935678
0.127156
0.136084
0.029624
0.061109
28.870948
43.950959
1.048937
Neutral
0.816681
0.371096
3
72.138995
4.639034
0.115933
0.045947
0.087984
0.081259
30.615936
46.186203
0.969045
Neutral
1.04892
0.247728
4
66.246659
4.295656
-0.140846
0.022169
0.146201
0.090755
30.60601
42.439141
1.175479
Neutral
0.687711
0.245508
3
75.089369
4.962365
0.11033
0.105711
0.110551
0.095164
30.150302
44.272776
0.994305
Neutral
1.04617
0.317087
3
64.869495
5.018434
0.034758
0.073012
0.032591
0.137163
29.221695
45.391691
0.902163
Neutral
1.061238
0.325603
4
64.892249
6.665474
0.101437
0.007956
0.151458
0.12363
28.720423
43.750363
1.002609
Neutral
1.077649
0.238848
2
67.822769
4.076767
-0.135168
0.051206
0.109338
0.062231
31.053642
43.101202
1.263238
Neutral
1.073998
0.242436
3
70.554508
7.560085
-0.009606
0.157464
0.057082
0.135015
29.296824
44.930023
1.17708
Neutral
0.905955
0.363241
4
75.437346
5.62181
-0.157022
0.063643
0.135388
0.071877
29.752481
44.851133
1.062067
Neutral
1.026655
0.355979
4
65.993967
5.833922
0.045918
0.096492
0.11901
0.130529
28.339039
45.859236
1.020769
Neutral
1.040737
0.296044
4
66.169754
5.028318
0.002976
0.146914
0.045947
0.152658
29.483955
45.192242
0.953772
Neutral
0.934826
0.425576
2
69.072484
4.813128
-0.043973
0.172349
0.111107
0.076063
30.196555
47.063689
0.851444
Neutral
1.040058
0.248271
4
72.668892
7.298898
-0.036284
0.077725
0.104114
0.153274
31.453384
48.159144
0.947714
Neutral
0.936972
0.199586
2
69.154646
4.965315
0.023421
0.177525
0.032777
0.054067
29.001646
46.968645
0.978601
Neutral
0.99258
0.316645
3
72.024458
5.289169
0.24553
0.068113
0.043864
0.11912
29.469003
43.753719
0.944452
Neutral
0.904392
0.216764
3
73.56705
4.447777
0.063293
0.110146
0.171025
0.071463
28.484256
48.09501
1.179588
Neutral
0.908082
0.365854
5
68.836895
4.823053
-0.07983
0.031034
0.114293
0.116723
29.26907
44.933746
1.179456
Neutral
0.922358
0.552693
2
70.671364
4.510561
0.104416
0.134095
0.099179
0.15942
31.846707
46.167856
0.964071
Neutral
1.088598
0.406667
4
73.326111
6.382159
0.064871
0.091644
0.141024
0.125364
30.146714
47.413018
0.918306
Neutral
1.055301
0.31911
3
68.819984
3.640144
0.074625
0.132274
0.101437
0.163923
32.163255
44.384444
1.021915
Neutral
1.037408
0.36079
3
74.73236
4.553566
0.019409
0.153682
0.095235
0.113951
28.973485
45.265939
0.929988
Neutral
1.179257
0.456552
3
65.430439
4.4448
0.188116
0.027599
0.072054
0.118861
27.801194
45.880029
0.949795
Neutral
0.846815
0.17197
4
72.125069
5.650201
-0.009918
0.192332
0.11219
0.071796
28.929915
41.94895
0.930809
Neutral
0.993162
0.174846
4
70.730018
4.917849
0.11173
0.117136
0.087938
0.117603
30.456753
46.139535
1.044771
Neutral
1.096408
0.291026
4
73.987458
4.323608
0.180094
0.097992
0.109826
0.13545
28.569225
45.256209
0.931895
Neutral
1.126097
0.254769
1
68.042128
3.416097
0.076041
0.13929
0.077691
0.005523
30.425458
43.066048
0.995229
Neutral
0.99946
0.277904
3
66.524906
5.208383
-0.204173
0.087641
0.17517
0.143868
29.318016
42.99676
0.97189
Neutral
1.269653
0.439936
4
71.922529
5.05963
-0.064694
0.134911
0.071441
0.128629
30.393485
46.790386
1.063517
Neutral
1.157433
0.507526
2
68.394294
6.735964
0.019791
0.067429
0.16587
0.10988
29.516114
44.359305
1.042417
Neutral
1.078425
0.472754
3
68.2789
5.038003
0.012003
0.130676
0.098782
0.207114
28.977207
44.485247
0.833142
Neutral
1.059883
0.177423
2
71.941588
5.224452
0.10471
0.184196
0.075841
0.178699
29.541116
47.157362
0.996149
Neutral
0.974106
0.447654
4
72.65098
4.374437
0.03958
0.124702
0.132616
0.02118
30.260674
43.89939
0.932838
Neutral
0.996167
0.37717
0
73.518187
6.148766
-0.173971
0.081878
0.12718
0.081469
28.88033
42.410637
1.116083
Neutral
0.929845
0.307682
2
71.039512
5.996267
-0.049376
0.022171
0.097654
0.123852
29.571885
48.00152
1.085022
Neutral
0.947702
0.338194
3
68.952227
6.030283
0.023879
0.087048
0.083918
0.203837
29.80365
44.856797
0.996278
Neutral
1.109144
0.307864
1
70.155838
5.916328
0.034649
0.149901
0.136632
0.095964
27.103745
49.176749
0.986041
Neutral
1.166227
0.237623
5
66.880282
4.809318
0.021743
0.143503
0.130639
0.047329
30.495682
45.300838
1.036496
Neutral
1.360512
0.410553
4
69.827144
5.63873
-0.1143
0.181672
0.110055
0.152533
28.853655
45.605271
0.924572
Neutral
0.990379
0.461371
3
70.986287
4.755843
0.096409
0.159474
0.116068
0.121096
28.772392
46.1948
1.070117
Neutral
0.955365
0.282693
3
74.12712
3.903725
-0.144005
0.179725
0.092497
0.106279
29.153039
43.017215
0.784661
Neutral
0.904156
0.231185
5
66.030731
5.981765
-0.032483
0
0.182101
0.150491
32.290943
42.220855
0.83546
Neutral
1.153386
0.359475
4
77.319257
5.758929
0.028119
0.10521
0.169214
0.128195
29.937407
43.492071
0.971932
Neutral
0.746056
0.317989
4
69.704981
5.918317
-0.15705
0.050519
0.05057
0.044821
30.940771
43.035025
0.977537
Neutral
1.082508
0.239863
3
67.094967
3.407006
0.044047
0.099018
0.105269
0.033299
30.55249
45.447828
1.136414
Neutral
End of preview. Expand in Data Studio

Multimodal Emotion & Physiological Analysis

Project Overview This project explores the relationship between physiological signals and facial micro expressions to improve emotion recognition in therapeutic settings. This research assists in determining which facial and physiological signals should be prioritized to detect clinical "misalignment" or hidden distress during therapy sessions.

  1. Dataset Selection & Description Source: The dataset is sourced from Kaggle (Face Emotion & Physiological Insight Dataset), containing pre-processed multimodal data for emotion recognition. Size: The dataset consists of 4,998 rows and 13 features, meeting the requirement for a substantial, non-basic dataset. Features: The dataset includes 12 numeric predictors and 1 categorical target variable: • Physiological Measures (6 features): Electrodermal Activity (eda_mean, eda_std, eda_peaks) and Heart Rate (hr_mean, hr_std, hr_skewness). • Facial Behavioral Measures (6 features): Intensity of Facial Action Units (face_au01, face_au06, face_au12) and Facial Landmark metrics (distances and ratios). Research Question: How does the intensity of movement in different facial regions (Action Units) influence the prediction of emotional states, and is the lower face more reliable than the upper face for detecting negative emotions? Target Variable: emotion_label, which classifies each data sample into one of six emotional states: Neutral, Happy, Sad, Angry, Fear, or Surprise. Prediction Goal: To use numeric physiological and facial features to accurately classify the patient’s emotional state.

  2. Data Cleaning & Preprocessing Missing Values & Duplicates: The dataset was found to be complete with no missing values and no duplicate rows. Fixing Typos: I applied the strip() method to the emotion label column to remove potential leading or trailing spaces. The data was kept as an 'object' type for readability during visualization. Scaling & Normalization: I identified a significant scaling issue (e.g., heart rate max of 113.7 vs. face_au01 max of 0.42). I performed Standardization and created a copy named "df_scaled". This ensures that the algorithm evaluates the "signal" from each data channel equally.

  3. Outlier Detection & Handling image Identification: Outliers were detected using Box Plots and the IQR method. Notably, there were 67 outliers in "hr_std", 51 in "face_au01", and 41 in "eda_peaks". Handling: I decided to keep all outliers rather than removing them. Justification: For my research question, these outliers represent the most clinically significant moments, such as peak emotional arousal or critical micro expressions. Removing them would create a "sterile" dataset incapable of detecting extreme emotional states.

  4. Descriptive Statistics & Insights Physiological Range: The mean heart rate is 81.28, with a wide range (50 to 113) indicating significant emotional variance. Regional Intensity: The mean for a smile (face_au12) is 0.44, significantly higher than the mean for "face_au01" (0.15). This suggests that lower-face movements are numerically more "intense". Correlations: image

• Physiological Cohesion: A remarkable 0.90 correlation was found between heart rate and skin conductance, allowing the algorithm to cross-reference these metrics for reliable arousal assessment. • Facial Synchronization: A 0.91 correlation between face_au06 and face_au12 identifies the "Duchenne Smile," helping the algorithm distinguish between social masks and genuine connection. • Face-Body Alignme

  1. Visualizations & Research Findings

Emotion Distribution: image The visualization reveals a perfectly balanced dataset with exactly 833 samples per emotion category.

Physiological Clusters: image The scatter plot reveals two distinct "data islands" (Baseline and Arousal). This indicates that the algorithm should be designed to detect physiological "jumps" rather than gradual changes.

Negative Emotion Patterns: image

Upper vs. Lower Face (Research Question Answer): image While heart rate increases during 'Angry' and 'Fear' states, smile intensity (au12) drops into negative values. This dissonance is a primary indicator of distress.

Research Questions: Analysis & Findings:

• RQ1 (Physiological Signature): The violin plot reveals a distinct physiological profile for each emotional state, allowing the algorithm to use heart rate as a reliable primary differentiator. image

• RQ2 (Upper vs. Lower Face): In negative emotions, the upper face acts as an active alarm while the lower face signifies distress through its inhibition. The algorithm can accurately predict distress by identifying the gap where brows rise but smiles vanish. image

• RQ3 (Structural-Physiological Link): Physiological spikes are physically anchored to structural facial changes. This allows the algorithm to use rapid geometric shifts as a reliable proxy for internal arousal jumps. image

Final Conclusion

The exploratory analysis of this multimodal dataset proves that emotional recognition is most accurate when combining both physiological and behavioral signals. By cross referencing heart rate, skin conductance, and facial action units, we can identify emotional states that might otherwise be missed by a single channel analysis.

Key Takeaways:

Reliability of Arousal: The 0.90 correlation between Heart Rate and EDA confirms that the body’s physiological response is highly cohesive, allowing the algorithm to detect stress "triggers" or sudden emotional "jumps" with high confidence.

The "Dissonance" Marker: One of the most significant findings is that negative emotions like anger and fear are best identified through regional dissonance an increase in upper-face intensity (AU01) coupled with the inhibition of lower face movement (AU12).

Clinical Significance: Retaining statistical outliers was a critical decision, as these spikes represent the most valuable clinical moments, such as breakthroughs or anxiety peaks, which are essential for the algorithm to detect in a therapeutic setting.

In conclusion, this research provides a clear "digital signature" for distress, demonstrating that while the lower face may "mask" emotions, the combined data from the upper face and internal physiology provides a transparent view of the patient's true emotional state.

Downloads last month
14