Neural Network Training & Diagnostics on EEG Brain Signals
This is real BCI data! The same type of signal used to help people with paralysis control prosthetic limbs and communicate through thought.
Expect ~60% accuracy. Chance is 50%. In BCI research, 60% on a binary task is a meaningful result. Don’t expect 95%!
Week 2: Prompting · Week 4: Debugging · Week 6: Refactoring · Week 8: Documentation · Week 10: Complex Debugging
Weak
“My neural network doesn’t work.”
Strong
“Training loss stays flat at 0.693 (ln(2)) after 50 epochs. Accuracy hovers at 50%. I’m using CrossEntropyLoss + Adam(lr=0.001), 320 input features, 64 hidden units, ReLU, dropout(0.3). Here’s my full training loop: [paste]. What could be wrong?”
No traceback = no easy fix. When a neural network silently fails, you must describe the symptoms — loss curve shape, expected vs actual accuracy, data characteristics.
starter.ipynb or starter.pyChance: 50.0%
LogReg baseline: ~60% accuracy
Simple MLP: ~58–62% (may not beat LogReg!)
Key diagnostic: loss curve should decrease below 0.693