GithubHelp home page GithubHelp logo

amrahsmaytas / aptos-2019-blindness-detection Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 1.0 1.29 MB

The challenge was to build a machine learning model to speed up disease detection. You’ll work with thousands of images collected in rural areas to help identify diabetic retinopathy automatically. If successful, you will not only help to prevent lifelong blindness, but these models may be used to detect other sorts of diseases in the future, like glaucoma and macular degeneration.

Jupyter Notebook 100.00%

aptos-2019-blindness-detection's Introduction

APTOS-2019-Blindness-Detection

The challenge was to build a machine learning model to speed up disease detection. You’ll work with thousands of images collected in rural areas to help identify diabetic retinopathy automatically. If successful, you will not only help to prevent lifelong blindness, but these models may be used to detect other sorts of diseases in the future, like glaucoma and macular degeneration.

My complete workflow for the APTOS 2019 competition:

  1. Loading & Exploration: A quick overview of the dataset
  2. Resize Images: We will resize both the training and test images to 224x224 so that it matches the ImageNet format.
  3. Mixup & Data Generator: We show how to create a data generator that will perform a random transformation to our datasets (flip vertically/horizontally, rotation, zooming). This will help our model generalize better to the data since it is fairly small (only ~3000 images).
  4. Quadratic Weighted Kappa: A thorough overview of the metric used for this competition, with an intuitive example. Check it out!
  5. Model: We will use a DenseNet-121 pre-trained on ImageNet. We will finetune it using Adam for 15 epochs, and evaluate it on an unseen validation set.
  6. Training & Evaluation: We take a look at the change in loss and QWK score through the epochs.

Better Results:

  1. More training can increase the accuracy although 60 epochs give an accuracy of 86%
  2. Parameter Tuning can significantly give you an edge over the accuracy.

In Top 46% ( 1330 in 3000 teams) at https://www.kaggle.com/satyamsharma

aptos-2019-blindness-detection's People

Contributors

amrahsmaytas avatar

Watchers

 avatar

Forkers

rsip4sh

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.