Code Monkey home page Code Monkey logo

bci_learning's Introduction

This is the codepack that accompanies "Learning by neural reassociation" by Matthew D. Golub, Patrick T. Sadtler , Emily R. Oby, Kristin M. Quick, Stephen I. Ryu, Elizabeth C. Tyler-Kabara, Aaron P. Batista, Steven M. Chase, and Byron M. Yu., Nature Neuroscience, 2018. The article can be found online at https://www.nature.com/articles/s41593-018-0095-3.

Thanks to Jay Hennig and Emily Oby for helpful feedback on the codepack.

Codepack version: 1.1

Feedback, comments, suggestions, bug reports, etc, are welcomed and encouraged. Please direct correspondence to Matt Golub ([email protected]).

SETUP:

To run the codepack, you must download CVX for Matlab from www.cvxr.com/cvx/. Place the uncompressed "cvx" folder inside the top-level folder of this codepack.

MATLAB VERSIONS:

This codepack was developed and tested using Matlab R2015a. We have also had success with Matlab R2013a, R2016a, and R2017b. This codepack may not be compatible with earlier Matlab versions (e.g., not compatible with R2011b).

DESCRIPTION:

This codepack includes:

  1. The optimization routines used to predict after-learning neural activity and behavior according to the 5 hypotheses described in the paper: realignment, rescaling, reassociation, partial realignment, and subselection.

  2. The primary analysis routines used to compare the experimental data to the predictions of the aforementioned hypotheses. These analyses include repertoire visualization (as in Fig. 3), repertoire change (as in Fig. 4b), covariability along the BCI mappings (as in Fig. 5c), changes in variance vs changes in pushing magnitude (as in Fig. 6f), behavior (as in Fig. 7), and movement-specific repertoire change (as in Fig. 8c).

  3. Data from a representative experiment (monkey J, 20120305).

Running this script will, for the representative data, generate the predicted neural activity (from 1, above), run the analyses (from 2, above), and generate figures that correspond to these analyses and parallel the paper's main figures.

@ Matt Golub, 2018.

bci_learning's People

Contributors

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