Git Product home page Git Product logo

ct-haemorrhage-classification's Introduction

Haemorrhage prediction

This challenge requires us to perform a multilabel classification task to classify 3 types of intracranial haemorrhages from CT scans of the brain. The images are 128x128 and each of them depict a random coronal section of the brain. We modify the problem slightly to add the lack of a haemorrhage as a label which we call normal giving us 4 labels. We prototype with a pretrained resnet34 architechture using the fastai library built on top of pytorch. Once we have made all the necessary decision making, we build the final using a pretrained densenet169.

Steps to reproduce:

  1. Install the environment

conda env create -f environment.yml

  1. Download the data from https://www.kaggle.com/c/rsna-intracranial-hemorrhage-detection/overview. This repository only uses a subset of this data.

  2. Run the Jupyter notebook

This is a difficult problem due to the fact that we only have one 2D image of the brain for each haemorrhage. Furthermore, our images are of a very small size. Nevertheless, our final model performs reasonably well. Future steps to improve the model:

  • 3D images with more resolution
  • Train for longer
  • Perform more augmentation using transformations
  • Deeper architecture
  • Use a larger dataset
  • Convert black and white to colour images (this can sometimes help given that we are training on top of ImageNet which are all colour images) or otherwise account for this difference
  • Pretrain on other medical images (rather than ImageNet)
  • Remove the skull from the images (this technique is sometimes used but we decided not to try this both for simplicity as well due the fact that a survey of the literature suggested possible fractures in the skull could help improve our predictive power)

ct-haemorrhage-classification's People

Contributors

amin-nejad avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  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.