Giter Site home page Giter Site logo

cortex's Introduction

Cortex: a deep learning toolbox for neuroimaging

Cortex is a framework for training and evaluating neural networks using Theano. Cortex is not specific to, but includes tools for neuroimaging. Cortex is not meant to replace Theano, but is intended to be used as a compliment to scripting in python. It is very customizable, as all methods and classes are suggested templates, and pure Theano can be used when needed.

Warning

Cortex is a brand-new project and is under rapid development. If you encounter any bugs or have any feature requests, please email or create a GitHub issue.

Features

Currently Cortex supports the following models:

  • Feed forward networks
  • RBMs
  • RNNs, GRUs, and LSTMs
  • Helmholtz machines as well as variational inference methods
  • Common datasets, such as MNIST and Caltech silhoettes
  • Neuroimaging datasets, such as MRI

Installation

You can install Cortex using the Python package manager pip.

$ pip install cortex

To get the most up-to-date version, you can install from the git repository:

$ pip install git+git://github.com/rdevon/cortex.git

However, currently the demos give the best example of how to script using cortex. So, if this is your first time using cortex, it is recommended to clone from the github repository:

$ git clone https://github.com/rdevon/cortex.git
$ cd cortex
$ python setup.py install

If you don't have administrative rights, add the --user switch to the install commands to install the packages in your home folder. If you want to update Cortex, simply repeat the first command with the --upgrade switch added to pull the latest version from GitHub.

In either case, you need to run the setup script:

$ cortex-setup

Follow the instructions; you will be asked to specify default data and out directories. These are necessary only for the demos, and can be customized in your ~/.cortexrc file.

Requirements

Basic Requirements

Neuroimaging Requirements

Note

These are not required for basic functionality, but are necessary for neuroimaging tools. afni, in particular, needs to be installed manually.

Demos

Cortex has several command-line demos of functionality. If the basic dataset was installed using cortex-setup, then the following demos are available:

$ cortex-classifier-demo

$ cortex-rbm-demo

$ cortex-vae-demo

If you installed the neuroimaging data, then the neuroimaging demos can be run:

$ cortex-rbm-vbm-demo

$ cortex-rbm-olin-demo

These are partial datasets used for demo purposes only.

Documentation

Source documentation can be found here.

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.