Coder Social home page Coder Social logo

pybambi's Introduction

pyBAMBI

pyBAMBI:Resurrecting BAMBI for the pythonic deep learning era
Author: Dark Machines collaboration
Organiser:Will Handley
Version: 0.2.0
GitHub:https://github.com/DarkMachines/pyBAMBI
Documentation:https://pybambi.readthedocs.io/
Website:https://darkmachines.org
Paper:https://arxiv.org/abs/1110.2997
Build Status https://circleci.com/gh/DarkMachines/pyBAMBI.svg?style=svg Test Coverage Status Documentation Status

Quick links

Notes

Currently, there is a test script in test.py, which shows how to call pyBAMBI. The main piece of work to be done is to implement neural network modelling in pybambi/dumper.py from the view onto the live points every nlive iterations.

Installation instructions

You can clone the repository with

git clone [email protected]:DarkMachines/pyBAMBI.git

Although if you wish to contribute, you can either create a new branch and push (if you are a member of the DarkMachines sampling community) or fork the repository to your own account.

You can run the tests with either of the commands:

python -m pytest tests
python setup.py test

pybambi's People

Contributors

mjw63 avatar patscott avatar williamjameshandley avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pybambi's Issues

Create basic neural network code

Leading on from #3, PR #9 introduced a simple 'nearest neighbor' neural network to act as a template for better implementations. Any volunteers with experience implementing neural networks would be much appreciated.

Give kerasnet choice of neural network architecture

@mjw63 has done a good job starting off implementing neural networks in keras with #12.

Currently pybambi/neuralnetworks/kerasnet.py has a hard-coded, three layer 200 neuron-per-layer neural network. Ideally there would be more user-choice about this.

Comments/discussion welcome as to what is the most pythonic/re-usable way to provide this functionality. Perhaps allowing __init__ to take model as an argument, where model is a keras-class?

Define a default neural network architecture

We need to try and define a default neural network architecture, loss function, training scheme and activation function, that works reasonably well on a variety of likelihood functions. This can be tested in parallel with #4 using an external script which @mjw63 can supply. It relies on samples from #15 being available.

Also involved: @melli1992

100% test coverage

The newest functionality is not fully covered by the test suite. Any help in increasing coverage would be much appreciated

Write framework for neural network code

This should be placed in pybambi/neural_networks.py, and be called in dumper. A placeholder 'identity with noise' neural network would do for testing the bambi setup, but we should ideally have a keras-based framework for choosing a neural network

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.