GithubHelp home page GithubHelp logo

imadtoubal / parkinsons-ai Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cuuupid/parkinsons-ai

0.0 1.0 0.0 386 KB

Detect Parkinsons using XGBoost and NN's (as seen on Medium!)

Home Page: https://medium.com/@priansh/detect-parkinsons-with-10-lines-of-code-intro-to-xgboost-51a4bf76b2e6

License: MIT License

Jupyter Notebook 98.34% Python 1.66%

parkinsons-ai's Introduction

Detecting Parkinsons with ML

Open Word-Level In Colab

We'll use the data from UC Irvine's amazing dataset repository, specifically the Parkinsons ML database.

There are two datasets within this. The first is in the root folder (parkinsons.data which is included here too) and can be used to detect Parkinsons. The second is within the telemonitoring/ directory and contains UDPR scores for us to predict.

Approach

Parkinsons detection islikely best done with an XGBoost since outputs are 0 or 1 and it seems mostly linear.

The UDPR is very hard to fine tune with XGBoost. With an NN in Keras, we can fit much better. There are still some very bad apples in our data/predictions bur the performance is overall/on average much better.

Both approaches are provided in the Jupyter notebook for this repo (Train.ipynb). Run using jupyter notebook from this repo's root folder in the terminal.

You can find more info on the datasets in UCI's database. (info for Parkinsons detection) (info for UDPR)

Requirements

  • Python 3 (I highly recommend using Anaconda as this will save you a TON of time)
  • XGBoost (pip install xgboost)
  • Keras (pip install keras)
  • sklearn (pip install scikit-learn)
  • Jupyter (instructions)
  • Pandas (pip install pandas)
  • NumPy (pip install numpy)
  • Tensorflow or another Keras backend (pip install tensorflow or for GPU assuming CUDA and CUDNN already installed and in PATH, pip install tensorflow-gpu)

Credits

I don't own this dataset, it's provided in the link earlier.

Citations for the datasets used:

'Exploiting Nonlinear Recurrence and Fractal Scaling Properties for Voice Disorder Detection', 
Little MA, McSharry PE, Roberts SJ, Costello DAE, Moroz IM. 
BioMedical Engineering OnLine 2007, 6:23 (26 June 2007)
A Tsanas, MA Little, PE McSharry, LO Ramig (2009)
'Accurate telemonitoring of Parkinson.s disease progression by non-invasive speech tests',
IEEE Transactions on Biomedical Engineering (to appear).

If you use this repo please cite it:

Priansh Shah. (2018, April 4). Detecting Parkinsons with AI (Version DOI). Zenodo. 
http://doi.org/10.5281/zenodo.1211859

Bibtex:

@misc{priansh_shah_2018_1211859,
  author       = {Priansh Shah},
  title        = {Detecting Parkinsons with AI},
  month        = apr,
  year         = 2018,
  doi          = {10.5281/zenodo.1211859},
  url          = {https://doi.org/10.5281/zenodo.1211859}
}

parkinsons-ai's People

Contributors

cuuupid avatar imadtoubal avatar shlokkh avatar

Watchers

 avatar

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.