Draft
Conversation
Implements the EEG-GCNN paper (Wagh & Varatharajah, ML4H @ NeurIPS 2020) as a PyHealth 2.0 contribution with dataset, task, tests, docs, and ablation study script. New files: - pyhealth/datasets/eeg_gcnn.py — EEGGCNNDataset (TUAB normal + MPI LEMON) - pyhealth/datasets/configs/eeg_gcnn.yaml — YAML config - pyhealth/tasks/eeg_gcnn_nd_detection.py — EEGGCNNDiseaseDetection task (PSD features, spatial/functional/combined adjacency, configurable bands) - tests/test_eeg_gcnn.py — 23 tests using synthetic data - examples/eeg_gcnn_nd_detection_gcn.py — 3 ablation experiments - RST docs for dataset and task Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
"coherence" must be passed as "coh" to spectral_connectivity_epochs. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The ablation script can now run without real TUAB/LEMON data using `--demo`. Generates 40 synthetic patients with reproducible random PSD features and adjacency matrices, runs all 3 experiments through the full GCN training pipeline. Also fixes a bug where roc_auc_score failed on single-column y_prob output from binary classification. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.