Coder Social home page Coder Social logo

elzawawy / mrnet Goto Github PK

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

This is an assignment for Pattern Recognition Course taught at Alexandria University, Faculty of Engineering offered in Spring 2019. Our Official Contribution on developing a Model for MRNet dataset.

Jupyter Notebook 99.89% Python 0.11%
deep-learning transfer-learning mrnet pattern-recognition ensemble-learning

mrnet's Introduction

About the Competition and the MRNet Dataset

The MRNet dataset consists of 1,370 knee MRI exams performed at Stanford University Medical Center. The dataset contains 1,104 (80.6%) abnormal exams, with 319 (23.3%) ACL tears and 508 (37.1%) meniscal tears; labels were obtained through manual extraction from clinical reports. The dataset accompanies the publication of the MRNet work here.

**Competition details: (from Stanford's website) ** We are hosting a competition to encourage others to develop models for automated interpretation of knee MRs. Our test set (called internal validation set in the paper) has its ground truth set using the majority vote of 3 practicing board-certified MSK radiologists (years in practice 6–19 years, average 12 years). The MSK radiologists had access to all DICOM series, the original report and clinical history, and follow-up exams during interpretation.

More details from the official website here.

About Data handling

● Data is loaded as numpy array files.

● The dataset is contains 3 views of MRI Scans ○ Axial ○ Sagittal ○ Coronal

● Each view has exams that have the following interpretations ○ Abnormal ○ ACL ○ Meniscus

● Each exam has multiple scans but not all of them has the same number, so we used data interpolation in order to make all exams have 24 scans(slices).

● Another approach we took was to only take the 3 middle scans(slices) from each exam.

Transfer Learning Approach

● We used ResNet-50 as our base model for feature extraction and added trainable layers. We created 9 models each model perform binary classification on each label.

● Approach Results:

View Label Validation Accuracy

Axial ACL 74.16%

Axial Abnormal 89.16%

Axial Meniscus 70.83%

Coronal ACL 61.67%

Coronal Abnormal 79.16%

Coronal Meniscus 65.83%

Sagittal ACL 75.61%

Sagittal Abnormal 88.33%

Sagittal Meniscus 65.87%

Original MRNet Paper Approach:

● We used VGG-16 as our feature extractor. Data is fed into the VGG-16 base model then it is passed to a global average pooling layer. The output of GAP layer is passed to a max pooling layer then it is passed to a flatten layer that has after it a dense layer then a prediction layer that has a sigmoid neuron.

● Approach Results:

View Label Validation Accuracy

Axial ACL 75%

Axial Abnormal 85%

Axial Meniscus 70.83%

Coronal ACL 66.67%

Coronal Abnormal 85.83%

Coronal Meniscus 68.83%

Sagittal ACL 70.83%

Sagittal Abnormal 83.33%

Sagittal Meniscus 73.33%

Lastly: The Ensemble Learning:

● We made ensemble learning using Weighted Majority Voting method, using the 9 models of Transfer Learning Approach and 9 model of MRNet Paper Approach.

● Results:

Label Accuracy

Abnormal 89.16%

ACL 80%

Meniscus 71.67%

Overall reporting accuracy for our model is 80.28 %

mrnet's People

Contributors

elzawawy avatar oswidan97 avatar

Watchers

 avatar

Forkers

oswidan97

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.