GithubHelp home page GithubHelp logo

chebil-ilef / parkinson-disease-detection Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 911 KB

A flask web application that integrates a machine learning model with the capability to make accurate predictions regarding the presence of Parkinson's disease in individuals based on the analysis of their voice recordings

Home Page: https://parkinson.azurewebsites.net/

Python 0.09% Jupyter Notebook 99.88% HTML 0.03%
exploratory-data-analysis flask kneighborsclassifier machine-learning parkinsons-disease random-forest xgboost azure-deployment

parkinson-disease-detection's Introduction

๐Ÿง  Parkinson's Disease Prediction Web App

This project aims to develop a machine learning model with the capability to make accurate predictions regarding the presence of Parkinson's disease in individuals based on the analysis of their voice recordings. The model is deployed in a simple flask web app where you can enter the csv inorder to predict wether the person has PD or not.

Problem ๐ŸŽฏ

Parkinson's disease is a progressive neurodegenerative disorder primarily recognized for its impact on motor functions, giving rise to symptoms such as tremors, muscular rigidity, and difficulties in maintaining coordinated movements. By utilizing advanced computational techniques, this project seeks to establish a reliable tool for early detection and potential monitoring of Parkinson's disease through non-invasive voice analysis.

Steps ๐Ÿ“Š

  1. Explore the Dataset: Reveal the underlying trends, occurrences, and connections present in the data by identifying patterns, distributions, and relationships.
  2. Preprocessing Steps: Remove irrelevant features, address missing values, treat outliers, encode categorical variables.
  3. Conduct Extensive Exploratory Data Analysis (EDA): Dive deep into bivariate relationships against the target.
  4. Model Building: Establish pipelines for models that require scaling, implement classification models including KNN, SVM, Decision Trees and Random Forest.
  5. Evaluate and Compare Model Performance: Utilize precision, recall, F1-score, accuracy and cross validation score to gauge models' effectiveness.

Requirements ๐Ÿ“š

pip install -r requirements.txt

Models ๐Ÿ“

Models demonstrate high accuracy and F1-scores, indicating strong performance. However, there are some differences to consider:

  • Random Forest & XGBoost achieves higher metrics (BUT we might have risks of overfitting).
  • K Neighbors achieves good metric less than the other two yet less risk of overfitting. Given the performance of both models, either could be a suitable choice.

Deployment ๐Ÿ“ฒ

I deployed the app as a web service using Azure free services.

Note: If the URL doesn't work, it might be due to reaching the usage limit.

Save the Model ๐Ÿ“ฆ

We saved the model using pickle: parkinson-classifier-detection.pkl

Contributions ๐Ÿ› ๏ธ

Feel free to fork this repository, tweak the models, or contribute to its improvement! ๐ŸŒŸ

Any contribution or feedback is very welcome!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.