Giter Club home page Giter Club logo

evt-mil's Introduction

EVT-MIL: Deep Multi-Instance Volumetric Image Classification with Extreme Value Distributions

Running the code

The code was tested in Keras with Tensorflow backend. The packages needed are listed in the requirements.txt (not all packages in file are used. Just did a pip freeze for my virtual environment.)

Installing python virtual environment and requirements

pip install virtualenv
virtualenv --no-site-packages vkeras
source vkeras/bin/activate
pip install -r path/to/requirements.txt

Prepare data

For each data-set:

  • Convert each instance into a numpy array with dimensions [height, width, channels] and save in a pre specified folder.
  • Create a csv file containing the following columns: ['instance_file_name', 'bag_name', 'bag_label', <additional information,>, 'Cross-validation_split'] for each instance. instance_file_name can be bag_name + a unique number, Cross-validation_split should be a number starting from zero.

Training the network and obtaining validation results

  • Adjust hyper parameters and paths defined in the file hyperparameters.py
  • Run train_3d_evt_mil_cv.py

The AUC values for validation data, at each epoch, will be writen to a .csv file in ./outputs folder

Publication

If you find this work useful in your research, please consider citing:

@ARTICLE{8805413,
author={R. {Tennakoon} and G. {Bortsova} and S. {Ørting} and A. K. {Gostar} and M. M. W. {Wille} and Z. {Saghir} and R. {Hoseinnezhad} and M. {de Bruijne} and A. {Bab-Hadiashar}},
journal={IEEE Transactions on Medical Imaging},
title={Classification of Volumetric Images Using Multi-Instance Learning and Extreme Value Theorem},
year={2019},
volume={},
number={},
pages={1-1},
doi={10.1109/TMI.2019.2936244},}

evt-mil's People

Contributors

ruwant avatar

Stargazers

 avatar JianJuly avatar

Watchers

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