VentriCode is a cutting-edge medical diagnostic system that uses topological data analysis (TDA) to detect ventricular tachycardia from ECG signals.
- Core TDA algorithms for ECG analysis
- Topological feature extraction
- Data processing pipelines
- Machine learning models
- Web interface for ECG upload
- Real-time visualization
- Patient dashboard
- Results display
# Clone the repository
git clone https://github.com/sidjainnn/VentriCode.git
cd VentriCode
# Install dependencies
pip install -r requirements.txt
# Run analysis
python3 ecg_core_analysis.py# Switch to frontend branch
git checkout frontend
# Install frontend dependencies
npm install
# Start development server
npm start- ✅ Topological Data Analysis (TDA) for ECG signals
- ✅ Persistent homology computation
- ✅ Feature extraction for ventricular tachycardia detection
- ✅ Multi-patient batch processing
- ✅ Cross-platform compatibility
- 🔄 Interactive ECG visualization
- 🔄 Patient management system
- 🔄 Real-time analysis results
- 🔄 Medical report generation
Our system analyzes ECG signals using advanced mathematical techniques:
- Takens Embedding: Converts time series to point clouds
- Vietoris-Rips Persistence: Computes topological features
- Persistent Homology: Identifies abnormal cardiac patterns
| Patient | H0 Features | Avg Persistence | Status |
|---|---|---|---|
| Patient1 | 136 | 0.1317 | Normal |
| Patient2 | 146 | 0.2246 | Abnormal |
| Patient4 | 132 | 0.1314 | Normal |
| Patient5 | 302 | 0.1159 | Abnormal |
- Work on
mainbranch - Core algorithms and data processing
- API development
- Machine learning models
- Work on
frontendbranch - User interface development
- Visualization components
- User experience design
- Python 3.9+
- NumPy, Pandas, Scikit-learn
- Scikit-TDA, Giotto-TDA
- Plotly, Matplotlib
- React.js
- Material-UI
- D3.js for visualizations
- Node.js backend
This system is designed for medical hackathons with focus on:
- Real-world medical data analysis
- Innovative diagnostic techniques
- Interdisciplinary collaboration
- Healthcare impact
MIT License - See LICENSE file for details
- Fork the repository
- Create feature branch
- Commit your changes
- Push to the branch
- Create Pull Request
VentriCode - Where Topology Meets Cardiology 🫀