This project implements a machine learning model for the prediction of Parkinson's disease. It uses ensemble learning methods and various feature selection techniques to predict Parkinson's disease based on a set of relevant features. The application includes a web interface built with React and Tailwind for users to input data, receive predictions, and view the prediction history.
- Project Overview
- Methodology
- Model Training and Evaluation
- Web Interface
- Technologies Used
- Installation and Usage
- Contributing
- License
This project focuses on predicting Parkinson’s disease using machine learning. The model is trained using a dataset that includes features such as UPDRS, Tremor, Functional Assessment, MoCA, and Rigidity. The primary goal is to develop an accurate model to help in early detection of Parkinson’s disease. A web-based interface is integrated for real-time predictions.
- Dataset with Parkinson’s-related features is gathered.
- EDA is performed to understand data distribution and anomalies.
- Handling missing values through imputation.
- Removing irrelevant features for efficiency.
- Detecting and handling outliers using IQR.
- Normalizing numerical data using StandardScaler.
- Encoding categorical variables.
- Univariate Feature Selection
- Mutual Information
- Lasso (L1 Regularization)
- Correlation-based Feature Selection
- Data split into training and testing sets (80-20, 70-30, 60-40).
- Random Forest, Gradient Boosting, AdaBoost, Stacking, Bagging, Voting.
- Accuracy, Precision, Recall, F1-score.
- Confusion Matrix, AUC-ROC Curve.
- AdaBoost model achieved 86.67% accuracy and 91.59% AUC-ROC Score.
- Deployed through a web interface.
The top five features found to have the highest correlation with Parkinson’s disease:
- UPDRS (Unified Parkinson’s Disease Rating Scale)
- Tremor
- Functional Assessment
- MoCA (Montreal Cognitive Assessment)
- Rigidity
- Sign Up / Sign In Pages: User authentication.
- Home Page:
- Input values for the top five features.
- Displays prediction results with probability scores.
- View past predictions.
- History Page:
- Shows previous predictions with timestamps.
- Machine Learning: Python, Scikit-learn, Pandas, NumPy, Matplotlib, Seaborn.
- Backend: Flask (ML model integration), Node.js, Express.js, JWT, CORS.
- Frontend: React.js, Tailwind CSS.
- Database: MongoDB.
- Python 3.x
- Node.js & npm
- MongoDB (local/cloud)
- pip
git clone https://github.com/yourusername/parkinson-disease-prediction.git
cd parkinson-disease-prediction
cd backend/model-src
pip install
python app.py
cd backend
npm install
npm run dev
cd frontend
npm install
npm run dev
Now, access the application at http://localhost:5173
.