Brain-Heart Tech & Beyond
Hi there, 👋 it's Nguyen Ngoc Yen Nga here.
I'm on a journey to explore my fascination with the brain and its connection to the body. This space is where I document what I’m learning.
This notebook is rooted in EmotionWave, a project focused on EEG-ECG fusion—combining brain and heart data, aiming to give:
An overview of different real world applications and industries,
How researchers are approaching and experimenting with different AI/ML architects,
An EEG-ECG stress detection machine learning pipeline as an beginner-friendly use case.
Whether you're just curious or diving into neurotech yourself, I hope you find something useful along the way! :)
Jump right in 👇
🧠Exploring Brain-Heart Dynamics Applications
A structured overview of EEG-ECG applications in biofeedback, neurocardiology, adaptive gaming, and health monitoring, highlighting the interdisciplinary potential of brain-heart integration.
🤖 Machine Learning for Emotion Recognition
A survey of machine learning and deep learning models for EEG-ECG emotion recognition, comparing traditional and advanced techniques for emotion and stress analysis.
âš¡ Hands-On Stress Detection ML Model
A practical, reproducible EEG-ECG-based stress detection system using machine learning, providing a baseline model for further research in brain-heart dynamics.
Why Brain-Heart Tech?
Neurotechnology is no longer confined to research labs—it's becoming part of our daily lives. From smartwatches that track heart rhythms to headphones that measure brain activity, we’re seeing the rise of consumer devices that integrate biosignal monitoring.
🩺 ECG in Everyday Devices

Heart monitoring is now at our fingertips with ECG-enabled wearables from Apple, Samsung, Google, and more.
🧠EEG in Everyday Devices

Brainwave-sensing earbuds and headsets are emerging to enhance focus, sleep, and even VR experiences.
🚀 The Future: Multi-Biosignal Wearables

Apple’s next-gen AirPods patent (No. 20230225659) hints at a future where a single device could measure EEG, ECG, EMG, and more—paving the way for smarter brain-computer interfaces and personalized health tech. 🥳
Table of Content
OVERVIEW OF APPLICATIONS IN BRAIN-HEART DYNAMICS 2.1. Intro 2.2. Enhanced Hybrid Brain-Computer Interfaces 2.3. Emotion Recognition 2.4. Neurofeedback and Heart Rhythm (Biofeedback) Regulation 2.4.1. Sleep, Performance Enhancement, and Cognitive Health 2.4.2. Stress Management, Creativity, and Clinical Applications 2.5. Personalized Health Monitoring and Adaptation 2.6. Neurocardiology: Cardiovascular and Neurological Disorders 2.7. Adaptive Gaming and VR Experience 2.8. Outro
OVERVIEW OF MODELS AND TECHNIQUES FOR EMOTION RECOGNITION 3.1. Datasets 3.2. Existing Models and Techniques for Emotion Recognition 3.3. Machine Learning Models 3.3.1. Decision Trees 3.3.2. Random Forest 3.3.3. Light Gradient Boosting Machine (LightGBM) 3.3.4. K-Nearest Neighbors 3.3.5. Support Vector Machines (SVM) 3.3.6. Naive Bayes 3.4. Deep Learning Models 3.4.1. Convolutional Neural Networks 3.4.2. Long Short-Term Memory Networks (LSTM) 3.4.3. Temporal Convolutional Networks 3.4.4. Attention Networks 3.4.5. Transformer Models 3.4.6. Graph Neural Networks 3.5. Generative Models and Data Augmentation 3.5.1. Variational Autoencoders 3.5.2. Generative Adversarial Networks 3.6. Other Architectures
STRESS DETECTION MODEL WITH EEG-ECG 4.1. Introduction 4.2. Dataset Overview 4.3. Data Processing and System Design 4.4. Data Loading and Parsing 4.5. EEG Preprocessing and Feature Extraction 4.6. ECG Preprocessing and Feature Extraction 4.7. Merge ECG and EEG Features for Stress Detection 4.8. Model Development 4.9. Results and Evaluation
APPENDIX & BIBLIOGRAPHY Appendix A. Overview of Methods and Results for Emotion Recognition Studies Appendix B. Visualization of Mean Power Spectral Density (PSD) Across EEG Channels for Different Emotion Appendix C. Distribution of Emotion Dimension Ratings (Valence, Arousal, Dominance) Across Target Bibliography
What is this notebook about?
Welcome to my personal learning notebook on hybrid brain-computer interfaces (hBCIs) and how our brain and heart work together.
While emotion recognition is one application of this, hBCIs have far broader potential, from cognitive load monitoring to adaptive gaming and neurorehabilitation. This is not a formal guide but rather a place where I document what I’m learning about EEG, ECG, and their applications.
Why brain-heart dynamics matter?
Most brain-computer interfaces (BCIs) today focus only on brain signals (EEG), but the brain doesn’t work in isolation—it constantly communicates with the rest of the body. Your heart rate, breathing, and even gut activity influence your cognitive state and emotions. That’s where hybrid BCIs come in.
For example, by combining EEG (brain activity) with ECG (heart activity), we can:
Improve the accuracy of brain-computer interfaces
Detect stress and cognitive load more reliably
Personalize adaptive neurotech for real-world applications
Enhance mental health monitoring beyond subjective self-reports
Emotion recognition is just one piece of the puzzle. Understanding brain-heart dynamics as well as multi-biosignals opens the door to new possibilities in assistive technology, neurofeedback, and human-computer interaction.
Who is this notebook for?
This notebook is for anyone curious about neurotechnology—especially those who are just starting out and might feel a bit overwhelmed by the field (like I did!). A fundamental familiarity with Machine Learning would be helpful too.
It might be useful if you:
Come from a non-STEM background but want to understand the possibilities of neurotechnology
Are an interdisciplinary researcher who wants a friendly introduction to EEG, ECG, and neurotech
Are a developer or engineer interested in applying machine learning to biosignals
Simply love learning about the brain and body and want to tinker with data! :)
How to use this notebook?
This notebook is meant to be exploratory and evolving—it’s not a step-by-step tutorial but more of a collection of learning notes, experiments, and insights.
Feel free to:
Read through sections that interest you—you don’t have to go in order
Use this as a starting point to dive deeper into neurotech
Reach out or discuss ideas—I’d love to connect with others exploring this space!
Since I’m learning as I go, I’ll update and refine things over time. If something doesn’t make sense or could be improved, I appreciate any feedback, I'm reachable at nganguyen.ngocyen@gmail.com! Let’s explore brain-heart interfaces together. ðŸ§
Last updated