This repository contains the final project for the course "Applied AI – Academic Perspectives: AI & Health" by Iñigo Aduna and Ahmad Beigrezaei from KU Leuven. The project aims to enhance the detection and management of Freezing of Gait (FOG) in Parkinson's disease using AI and machine learning techniques.
- Iñigo Aduna, KU Leuven (Brugge)
- Email: [email protected]
- Ahmad Beigrezaei, KU Leuven (Brugge)
- Email: [email protected]
Inigo_Ahmad_AI_Health_Project_Final.pdf
: Final project report detailing the methodologies, experiments, and results.Exercise_FOG.ipynb
: Jupyter Notebook with code implementations and visualizations for the project.
- Introduction
- Data Availability
- Methodologies
- Results and Analysis
- Conclusion
- Future Work
- Bibliography
Freezing of Gait (FOG) is a common symptom of Parkinson's disease characterized by a brief, episodic absence or marked reduction of forward progression of the feet despite the intention to walk. It severely impacts the quality of life, leading to falls and a loss of independence.
Current FOG monitoring involves inertial measurement units (IMUs) placed on the patient’s body to record movement patterns during FOG episodes. However, these systems are complex, costly, and require professional setup and maintenance.
AI can automate the analysis of sensor data, providing real-time predictions of FOG episodes and enabling personalized treatment adjustments.
The dataset comprises data from seven patients, each equipped with six sensors located on the chest, lumbar region, left and right ankles, and left and right feet. The dataset includes 2,554 files, each representing a two-second window with 256 rows and 36 columns of sensor data.
- Train-Test 80/20 Split: Data from three accelerometers at the lumbar level were used to train a CNN model. Despite reasonable accuracy (82%), the model showed significant class imbalance issues.
- Leave-One-Subject-Out (LOSO) Cross Validation: Applied to evaluate the model's performance on unseen patients, revealing subject-specific variability.
- Class Weighting: Improved the F1 score for FOG detection by assigning greater weights to the minority class.
- Correlation Analysis: Identified redundant signals to optimize sensor selection. This approach increased average accuracy to 75% but highlighted the need for better handling of class imbalance.
- Frequency Domain Analysis: Utilized Discrete Fourier Transform (DFT) to analyze relevant frequency ranges associated with Parkinson's symptoms. This method showed potential but required further refinement.
- First Approach: Highlighted class imbalance issues; improvements seen with class weighting.
- Second Approach: Sensor optimization showed mixed results, with some improvements in accuracy but challenges with overfitting.
- Third Approach: Frequency-based analysis offered a novel perspective but yielded slightly lower performance than time-domain analysis.
AI and machine learning techniques offer significant potential for improving FOG detection and management in Parkinson's disease. Addressing class imbalance and optimizing sensor selection are crucial steps for future work.
- Synthetic Data Generation: Techniques like SMOTE to balance the dataset.
- Ensemble Learning: Combining multiple models to enhance generalization.
- Multi-Domain Feature Integration: Leveraging both temporal and frequency features.
- Adaptive Models: Tailoring models to individual patient profiles for more accurate FOG detection.
- Nutt JG, Bloem BR, Giladi N, et al. Freezing of gait: moving forward on a mysterious clinical phenomenon. Lancet Neurol. 2011;10(8):734-44. doi: 10.1016/S1474-4422(11)70143-0.
- Krizhevsky A, Sutskever I, Hinton GE. ImageNet Classification with Deep Convolutional Neural Networks. University of Toronto.
- O'Day J, Lee M, Seagers K, et al. Assessing inertial measurement unit locations for freezing of gait detection and patient preference. J Neuroeng Rehabil. 2022;19(1):20. doi: 10.1186/s12984-022-00992-x.
- Clone the repository.
git clone https://github.com/username/FOG-Detection.git
- Navigate to the project directory.
cd FOG-Detection
- Open the Jupyter Notebook.
jupyter notebook Exercise_FOG.ipynb
This project is licensed under the MIT License. See the LICENSE file for details.