Giter Site home page Giter Site logo

kaggle-dsb-2017's Introduction

Kaggle Data Science Bowl 2017

https://www.kaggle.com/c/data-science-bowl-2017

Final positions: 350/2000 (stage 1), 188/415 (stage 2).

Aim

  • Predict the chance of a patient developing cancer within the next year using 3D lung CT scans.

Approach

The data for the competition was slightly different to previous competition such as LUNA16, in that the only labelling of the data contained only an indication of whether or not a patient would go on to develop cancer with the next year. No lung nodule locations were provided (or labels of their expected malignancy). Two main steps are therefore to predict patient outcome:

  • Find candidate nodule locations
  • Predict malignancy of nodules

My approach focused on the modelling aspects of the task, with the aim of gaining more experience training and using deep neural networks in TensorFlow and Keras. I think significant improvements could be made by taking more care with preprocessing and with categorising of individual nodules after detection.

Preprocess patient data.

preprocessing.py

Preprocessing LUNA16 and training UNET

UNET.py

  • Preprocess LUNA16 data
  • Train UNET model.
  • Using the nodule locations and 3D lung data available in the LUNA16 dataset, train UNET to predict candidate nodule locations.

Finding candidate nodules

generateFeatures.py

  • Predict candidate nodule locations using simple image analysis techniques.

UNET.py

  • Predict candidate nodule locations based on predictions from trained UNET model.

Models

XGBMod.py

  • Manually extract meta features from preprocessing stages and nodule extraction and train a classification tree using XGBoost.

tfMod.py

  • Train a 3D convolutional neural network to predict malignancy of candidate nodules.

Ensembling

ensemble.py

  • Create ensemble of predictions from XGBMod models (Tree and DART) and 3D NN models using UNET and basic nodule predictions.

To do

  • Add UNET training code to UNET.
  • Finish adding training and prediction code to tfMod.

kaggle-dsb-2017's People

Contributors

garethjns avatar

Watchers

James Cloos 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.