Git Product home page Git Product logo

spiketopics's Introduction

spiketopics

===========

Inferring binary features for neural populations.

This code implements a version of the Gamma-Poisson model on a pseudopopulation of independently recorded neurons. Details of the model and inference are in gamma_poisson_notes.tex.

Model fitting:

Model Code

  • gamma_model.py: Implements the Gamma model for firing rates with HMM state space dynamics.
  • helpers.py: miscellaneous functions useful for setting up the model and evaulating outputs.

Markov inference

  • forward_backward.py: Forward-Backward algorithm implemented using Numba's JIT facilities to provide much faster inference.
  • hsmm_forward_backward.py: Forward-Backward inference for the hidden semi-Markov model. Again uses Numba to provide just-in-time compilation.

Documentation:

The docs folder contains notes, papers, and other documentation for the algorithms.

Case Studies

The experiments folder contains case studies for the application of the algorithm to test data sets.

Nodes

The algorithm is defined by a graphical model with nodes in a directed graph corresponding to each variable. The nodes folder contains code defining odes for several common distribution types.

Testing

Unit tests are located in the tests folder. These can be run in their entirety by

nosetests

or as modules by

nosetests tests/name_of_test_module.py

spiketopics's People

Contributors

jmxpearson avatar ccxxxx avatar bayesianempirimancer 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.