Coder Social home page Coder Social logo

boltzmannmachinelearning's Introduction

BoltzmannMachineLearning

Implementation of the Boltzmann Machine Learning rules, to learn the group statistics of salamander retina neurons. In the Boltzmann Machine approximation, the dynamics of the individual neurons are neglected, and the system is modelled using couplings between the neurons and thresholds for 'firing'. This implementation explores a Boltzmann Machine with no hidden layer, which means that all neurons are fully connected with each other.

Report

A comprehensive analysis is provided in the write-up Boltzmann Machine learning.pdf.

Code

This projects contains three parts:

  1. Exact computation of statistics
  2. Approximation of statistics using Monte Carlo sampling
  3. Application of the Boltzmann Machine using Metropolis-Hasting Monte Carlo Markov Chain sampling, for the salamander retina neurons

The first two parts investigate the accuracy of the employed approximations, from which follows that the Metropolis-Hasting Monte Carlo Markov Chain sampler achieves the best performance. This sampler has also been implemented in C++, to speed up calculations in part 3.

Part 3 employs Metropolis-Hasting Monte Carlo Markov Chain sampling to learn the dynamics of a group of 160 neurons, as measured in a salamander. Here, the learned dynamics are also employed to predict the joint firing rates between multiple neurons.

In order to compile the C++ extension, follow the instructions in include/Eigen.md and include/Pybind11.m5. Then, compile from the command line with python3 setup.py build.

boltzmannmachinelearning's People

Contributors

joeranbosma avatar

Watchers

 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.