Giter Site home page Giter Site logo

hadavand-s-minions / rsna-cervical-spine Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 3.0 20.07 MB

Python 0.05% Makefile 0.01% TeX 0.04% Jupyter Notebook 99.91%
minerva python hadavands-minons data-science dvc dvc-for-data-science kaggle kaggle-competition poetry poetry-python

rsna-cervical-spine's Introduction

rsna-cervical-spine

Data Science tutorial project by the Hadavand's Minions group to tackle the Kaggle project on cervical spine fracture detection.

About The Project

Our research question is “How can we quickly detect and locate vertebral fractures in the cervical spine from CT scans to aid in the prevention of neurologic deterioration and paralysis after trauma?”. The data we are working with consists of CT scans cervical spines of patients and the goal is identify whether a given vertebrae and therefore overall patient has a fracture. We got the data from .Kaggle RSNA competition here. The data consits of:

Two video walkthroughs of the image slices is shown below. The first contains plain image slices and the second contains image slices with their masks overlaird


We run exploratory analysis on the dataset and find a big class imbalance (there are way more cases with fractures than without) which helps us determine what models to choose and the metrics to evaluate. An indepth EDA can be found in the cervical_spine_eda notebook within the notebook directory

We use 4 classifaction models as in this notebook within the notebooks directory. The Basic RNN model has the best performance. It has the lowest loss, highest AUC and F1 scores and predicts the test set accurately. The loss and accrucacy are shown below

Tutorial Assignments

The following are the locations for the assignments done within this tutorial by the Hadavand's Minions group:

  1. Setting up your Project
  2. Exploratory_Analysis
  3. Final_Writeup

Project setup

The project was setup using cookiecutter as described in the project setup.

Tools used in this project

Project structure

.
├── config                      
│   ├── main.yaml                   # Main configuration file
│   ├── model                       # Configurations for training model
│   │   ├── model1.yaml             # First variation of parameters to train model
│   │   └── model2.yaml             # Second variation of parameters to train model
│   └── process                     # Configurations for processing data
│       ├── process1.yaml           # First variation of parameters to process data
│       └── process2.yaml           # Second variation of parameters to process data
├── data            
│   ├── final                       # data after training the model
│   ├── processed                   # data after processing
│   ├── raw                         # raw data
│   └── raw.dvc                     # DVC file of data/raw
├── docs                            # documentation for your project
├── dvc.yaml                        # DVC pipeline
├── .flake8                         # configuration for flake8 - a Python formatter tool
├── .gitignore                      # ignore files that cannot commit to Git
├── Makefile                        # store useful commands to set up the environment
├── models                          # store models
├── notebooks                       # store notebooks
├── .pre-commit-config.yaml         # configurations for pre-commit
├── pyproject.toml                  # dependencies for poetry
├── README.md                       # describe your project
├── src                             # store source code
│   ├── __init__.py                 # make src a Python module 
│   ├── process.py                  # process data before training model
│   └── train_model.py              # train model
└── tests                           # store tests
    ├── __init__.py                 # make tests a Python module 
    ├── test_process.py             # test functions for process.py
    └── test_train_model.py         # test functions for train_model.py

rsna-cervical-spine's People

Contributors

dependabot[bot] avatar eisha99 avatar inventrohyder avatar snwambui 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.