Downloads · 30 days
0
Aluode/WeakEEGSignalCategoryDetection
WeakEEGSignalCategoryDetection is a machine learning model from Aluode. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for pytorch. The card lists the license as mit.
[](https://www.python.org/) [](https://opensource.org/licenses/MIT) [](https://huggingface.co/Aluode/WeakEEGSignalCategoryDetection)
Downloads · 30 days
0
Access
Public
Updated Oct 4, 2025
Repo size
27 MB
Likes
0
Public
Click a slice to open those files.
.pth27 MB · 100%
From the Hugging Face model README
Research code for detecting weak category-specific signals in EEG data during visual object perception. Vibecoded after months of brain-decoding experiments—detects subtle probability shifts (Δ ~0.3-1.7%) for 38 COCO categories, excluding lab confounds.
This project explores whether EEG contains subtle info about viewed objects, controlling for lab artifacts (e.g., people/chairs). Using multi-label classification on the Alljoined dataset, we find statistically significant signals for foods/vehicles, with source localization revealing ventral temporal hotspots.
Key Insight: EEG encodes semantics weakly (~200-350ms post-stimulus) in object recognition networks, but effects are small (d<1.0)—exploratory, not production-ready BCI.
Test on ~700 samples (N≥10/category). Metrics: Mean prob shift (Δ), Cohen's d, t-test p.
| Category | Δ (Present - Absent) | d (Effect Size) | p-value | N (Present) | Notes |
|---|---|---|---|---|---|
| Broccoli | +0.0169 | 1.027 (large) | 0.001** | 10 | Strongest; uniform dist. |
| Cake | +0.0045 | 0.652 (medium) | 0.006* | 18 | Food reward? |
| Train | +0.0065 | 0.397 (small) | 0.056 | 24 | Marginal; motion bias. |
| Fire Hydrant | +0.0043 | 0.414 (small) | 0.084 | 18 | Bimodal (saliency?). |
Ventral temporal hotspots at 250ms (d=1.027).
from transformers import pipeline # Or load custom
# Custom load (PyTorch):
import torch
model = torch.load("clean_signal_detector.pth") # Load as in App.py
# Run on EEG: probs = torch.sigmoid(model(eeg_tensor))