This is the source repo. for the physDBD
Python package. It allows the creation of physics-based machine learning models in TensorFlow
for modeling stochastic reaction networks.
-
Install:
pip install physDBD
-
See the example notebook.
-
Read the documentation.
This repo. implements a TensorFlow package for modeling stochastic reaction networks with a dynamic PCA model. Please see this paper for technical details:
O. K. Ernst, T. Bartol, T. Sejnowski and E. Mjolsness. Physics-based machine learning for modeling stochastic IP3-dependent calcium dynamics. arXiv:2109.05053
The original implementation in the paper is written in Mathematica and can be found here. The Python package developed here translates these methods to TensorFlow
.
The only current supported probability distribution is the Gaussian distribution defined by PCA; more general Gaussian distributions are a work in progress.
TensorFlow 2.5.0
or later. Note: later versions not tested.Python 3.7.4
or later.
Use pip
:
pip install physDBD
Alternatively, clone this repo. and use the provided setup.py
:
python setup.py install
See the dedicated documentation page.
See the notebook in the example notebook.
Tests are run using pytest
and are located in tests.
O. K. Ernst, T. Bartol, T. Sejnowski and E. Mjolsness. Physics-based machine learning for modeling stochastic IP3-dependent calcium dynamics. arXiv:2109.05053