Coder Social home page Coder Social logo

modeldbrepository / 264514 Goto Github PK

View Code? Open in Web Editor NEW
0.0 4.0 1.0 9 KB

Fitting predictive coding to the neurophysiological data (Spratling 2019)

Home Page: https://modeldb.science/264514

License: Other

MATLAB 99.15% M 0.85%
vision-posture-and-locomotion-sensory-processing matlab

264514's Introduction

----------------------------------------------------------------------------
INTRODUCTION
----------------------------------------------------------------------------

This code implements the simulation results reported in:

     M. W. Spratling, Fitting Predictive Coding to the Neurophysiological Data

Please cite this paper if this code is used in, or to motivate, any publications. 

----------------------------------------------------------------------------
USAGE
----------------------------------------------------------------------------

This code was tested with MATLAB Version 9.5.0.944444 (R2018b) running on Ubuntu
Linux version 16.04. It also runs using GNU Octave Version 4.0.0.

To re-run the experiments described in the paper, do the following.

Fig. 3b and c can be reproduced using the command:

    keller_fit;

    This produces three figures. The first reproduces the fit to the data
    proposed by Zmarz and Keller (2016) see their Fig 4D. The 2nd and 3rd images
    correspond to Fig. 3b and 3c in the current paper.

Fig. 3d can be reproduced using the command:

    stability;

    This produces two figures. The first is Fig 3d which shows the difference in
    response between the prediction neuron representing the cause underlying the
    input and the next most active prediction neuron. The second shows the same
    results, but when plotting the ratio between the response of the prediction
    neuron representing the cause underlying the input and the sum of all the
    prediction neuron responses.

    Results for other versions of the Rao and Ballard algorithm (see footnote
    "a") can be obtained by editing randb_pc_activation.m to replace the method
    of calculating "dy" by one of the other three versions that are currently
    commented out.

Fig. 3e can be reproduced using the command:

    multisensory_integration_log('randb');

    The first 6 images show the activities of the error and prediction neurons
    to different combinations of running speed (p) and visual flow (v). Image 11
    corresponds to Fig. 3e.
    
Fig. 3f can be reproduced using the command:
       
    multisensory_integration_log('DIM');

    The first 6 images show the activities of the error and prediction neurons
    to different combinations of running speed (p) and visual flow (v). Image 11
    corresponds to Fig. 3f.

264514's People

Contributors

tommorse avatar

Watchers

James Cloos avatar  avatar Robert A McDougal avatar  avatar

Forkers

opensourcebrain

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.