Coder Social home page Coder Social logo

alzheimer-s-mri-detection-xgboost's Introduction

Alzheimer's Detection

data collected from: ADNI

Alzheimer's Disease Neuroimaging Initiative(ADNI) is a multisite study that aims to improve clinical trials for the prevention and treatment of Alzheimer’s disease.

The project is to detect Alzheimer's disease using MRI images and feature extraction applying machine learning

Data Acquisition

The MRI scan images datasets were used from the ADNI(Alzheimer’s Disease Neuroimaging Initiative) who provide these data for research work. The dataset units comprised of .nii format (Neuroimaging Informatics Technology Initiative). This MRI data set consists typically of various combination of images representing the projection of an anatomical volume onto an image plane (projection or planar imaging), a series of images representing thin slices through a volume (tomographic or multi-slice two-dimensional imaging).

Data pre-preprocessing: FreeSurfer software was conducted to provide us the details on statistics of volume on each brain's region. The output of Freesurfer are label, mri, stat, surf, what we need is just the stats that are the features of the brain such as volume, acreage of each brain region. Collecting all to create a table called tabular dataset which is used as the data of this model. Normalization of data reduces a variety of inconsistencies which can hinder data review.

After installing Freesurfer follow the document above ans make sure your device have strong CPU with many cores to perform the tool, do these steps:

1. export f='path/to/mri/data/file'

2. bash /FreeSurfer/recon

It takes about 6 to 7 hours per image or depends on your device. Finishing, we can check output file to make sure there is no error during the process by:

python check_prob_out_file.py -fs_log_dir <path/to/output/file>

Next, we convert these stat files to tabular data csv file:

python conver_stat_to_csv.py -fs_dir <path/output/freesurfer> -stat_dir <path/output/stat>

After that, excec_command will be collected (make sure you run separately on AD and CN groups), excec_command could be bash on Ubuntu shell, it convert stat to table file here is csv of each brain region. Finally, we got the completely csv file:

python collect_csv_main.py -stat_dir <path/to/final/stat>

alzheimer-s-mri-detection-xgboost's People

Contributors

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