GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - petermartens98/EEG-Schizophrenia-Classification-CNN-Model: Python TensorFlow CNN Model trained on EEG signals to classify schizophrenia vs. control, with 98% accuracy in distinguishing neural patterns.

BranchesTags
Open more actions menu

Latest commit

 

History

11 Commits
11 Commits

Folders and files

NameName
Last commit message
Last commit date
EEG_Classification_CNN_Schizophrenia.ipynb
EEG_Classification_CNN_Schizophrenia.ipynb
 
 
README.md
README.md
 
 

Repository files navigation

🧠 EEG Schizophrenia Classification — CNN Model

A deep learning approach using Convolutional Neural Networks (CNNs) to classify Schizophrenia (SZ) vs Control (HC) subjects from EEG recordings — achieving up to 98% accuracy.


🚀 Overview

This project leverages EEG (electroencephalogram) data to distinguish between schizophrenia and healthy control subjects through a convolutional neural network trained on preprocessed EEG signals.

By combining spatial–temporal EEG feature learning and advanced signal preprocessing (via MNE and SciPy), the model identifies neural patterns consistent with schizophrenia-related connectivity disruptions.


🧩 Tools & Frameworks

  • Python (NumPy, Pandas, SciPy)
  • TensorFlow / Keras (CNN modeling & training)
  • Scikit-learn (evaluation & metrics)
  • MNE-Python (EEG data processing & visualization)
  • Matplotlib / Seaborn (plotting & diagnostics)

📊 Dataset

  • Source: RePol Dataset (Elżbieta Olejarczyk & Wojciech Jernajczyk)
  • Description: EEG recordings from 45 subjects (both schizophrenia and control groups).
  • Recording Specs: 19 channels, 250 Hz sampling rate, ~20 min sessions per participant.
  • Preprocessing:
    • Bandpass filtering (1–45 Hz)
    • Artifact rejection (ICA & thresholding)
    • Channel normalization

🧠 Research Inspiration

Graph-based analysis of brain connectivity in schizophrenia
E. Olejarczyk, W. Jernajczyk — PLOS ONE
View Paper →

This study demonstrated that functional connectivity graphs derived from EEG data can reveal disrupted neural network organization in schizophrenia — inspiring this model’s exploration of deep spatial representations through CNNs.


🧬 Model Architecture

  • Input: 1D EEG signal windows per channel
  • Layers:
    1. 1D Convolution (spatial filtering)
    2. Batch Normalization
    3. Max Pooling
    4. Dropout (regularization)
    5. Dense Layers (feature fusion)
    6. Softmax Output (binary classification: SZ / HC)
  • Optimizer: Adam
  • Loss: Binary Cross-Entropy

📈 Results

Metric Score
Accuracy 0.98
Precision 0.97
Recall 0.98
F1-Score 0.975

Confusion matrix and ROC-AUC visualizations confirm robust generalization across subjects.


🔁 Future Improvements

  • Integrate Graph Neural Networks (GNNs) for functional connectivity learning.
  • Explore EEGNet and Transformer-based models for temporal attention.
  • Incorporate frequency-band-specific features (delta–gamma decomposition).
  • Develop subject-wise cross-validation for improved clinical realism.

About

Python TensorFlow CNN Model trained on EEG signals to classify schizophrenia vs. control, with 98% accuracy in distinguishing neural patterns.

Topics

classificationcnnconvolutional-neural-networkseegpythonschizophreniatensorflow

Resources

Readme
Activity

Stars

11 stars

Watchers

1 watching

Forks

2 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.