Coder Social home page Coder Social logo

connectome_conv_net's Introduction

connectome_conv_net

The repository contains conv_net.py, the python (TensorFlow) source code of the convolutional neural network for connectome based classification. It also contains simulate_data.py, that reads in the uploaded .npy files with base and artificially modified connectomes, and creates a simulated dataset with tensors ready for the convolutional network. The simulation is the following: we took a bese connectome of a healthy adult, and replaced 10 rows and columns from the connectome of another subject (ROI IDs in ROI_IDs.npy). Individual instances were created by adding Gaussian-noise with a weight of 5 to these two connectomes (deatiled description in the research paper). The tensors are 150x499x499x1 numpy arrays, the first dimension encodes instances (subjects), the second and third dimensions, i.e. the 499x499 matrices are the individual connectomes. The fourth dimension encodes "channels" (like RGB in case of images).

conv_net.py can read in tensors, and contains the necessary functions to create cross-validation folds, randomize and normalize tensors etc. as well as the convolutional network model in tensorflow. The code outputs a .npz file that contains a vector of predicted labels and a vector of true labels (in the order described in the IDs variable)

RESEARCH PAPERS USING THIS SOFTWARE:

  • Meszlényi, R., Buza, K., and Vidnyánszky, Z. (2017a). Resting State fMRI Functional Connectivity-Based Classification Using a Convolutional Neural Network Architecture. Front. Neuroinformatics 11. doi:10.3389/fninf.2017.00061

connectome_conv_net's People

Contributors

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