Git Product home page Git Product logo

mbam's Introduction

MBAM

Code for the Manifold Boundary Approximation Method

Install

Using pip

pip install mbam

From source

git clone https://github.com/mktranstrum/MBAM.git
pip install ./MBAM

Example

See examples.

  • Start by looking at exp_example.py. This script defines a simple model which is the sum of two exponentials sampled at 3 points. It defines a function to evaluate the model as well as its first and second derivatives with respect to the parameters. It then imports functions for solving the geodesic equation. It solves the geodesic equation and then plots the parameter values along the geodesic. The output of this script should be similar to exp_example.png

  • Next, consider the MMR.py which defines a model (a Michaelis-Menten reaction) by solving a nonlinear ordinary differential equation. This script defines a model by sampling by evaluating this model at three time points. It also defines functions for calculating first and second derivatives. Note that evaluating these derivatives involves solving the so-called sensitivity equations. Alternatively, they can be estimated using finite differences.
    The script MMR_Plots.py solves the geodesic equation for the MMR model and creates several plots to visualize the parameter space, parameter values along the geodesic, and the model manifold.

Attribution

Please cite Transtrum, Machta, and Sethna (2011) and Transtrum and Qiu (2014) if you find this code useful in your research.

License

mbam is free software distributed under the MIT License; see the LICENSE file for details.

mbam's People

Contributors

mktranstrum avatar yonatank93 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.