python library built on top of jax to facilitate automated exploration and simulation of computational models of biological processes
Project description
AutoDiscJax
Autodiscjax is a python library built on top of jax and equinox to facilitate automated exploration and simulation of computational models of biological processes (such as gene, proteins or metabolites networks). It provides several already-implemented modules and pipelines to organize experimentation on these biological network pathways using curiosity-driven learning and exploration algorithms.
Installation
pip install autodiscjax
Why use AutoDiscJax?
AutoDiscJax follows two main design principles:
- Everything is a module, where a module is simply a parametrized function that takes inputs and returns outputs (and log_data). All autodiscjax modules
adx.Module
are implemented as equinox moduleseqx.Module
, which essentially allows to represent the function as a callable PyTree (and hence to be compatible with jax transformations) while keeping an intuitive API for model building (python class with a _call_ method). The only add-on with respect to equinox is that when instantiating aadx.Module
, the user must specify the module's outputs PyTree structure, shape and dtype. - An experiment pipeline defines (i) how modules interact sequentially and exchange information, and (ii) what information should be collected and saved in the experiment history.
AutoDiscJax provides a handful of already-implement modules and pipelines to
- Simulate biological networks while intervening on them according to our needs
- Automatically organize experimentation in those systems, by implementing a variety of exploration approaches such as random, optimization-driven and curiosity-driven search
- Analyze the discoveries of the exploration method, for instance by testing their robustness to various perturbations
Finally, AutoDiscJax takes advantage of JAX mains features (just-in-time compilation, automatic vectorization and automatic differentation) which are especially advantageous for parallel experimentation and computational speedups, as well as gradient-based optimization.
License
The project is licensed under the MIT license.
Acknowledgements
AutoDiscJax is inspired by:
- the auto_disc library purpose and structure (by the FLOWERS team)
- the equinox library module definition (by Patrick Kidger)
See Also
Library to: sbmltoodejax
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file autodiscjax-0.4.1.tar.gz
.
File metadata
- Download URL: autodiscjax-0.4.1.tar.gz
- Upload date:
- Size: 28.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ccfefe533f4d43388e4c331288045836b0a27fc4c1275e2e056d3332f82544bb |
|
MD5 | 675744ea18558d3dacb6d831edd6f025 |
|
BLAKE2b-256 | e6309b8457fa41e6041b7a803714abd423b912e430ead235603d59e5f52a234d |
File details
Details for the file autodiscjax-0.4.1-py3-none-any.whl
.
File metadata
- Download URL: autodiscjax-0.4.1-py3-none-any.whl
- Upload date:
- Size: 28.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 397d98a0bbe0804bdb507d16f4ee2206cafc22ca410c1230ee73b86b2f7436e5 |
|
MD5 | 85b474f448e91b1de6e55320ccdda6da |
|
BLAKE2b-256 | 3406bbd9152628b736e47bead0fbec9629b61e530222eeceee17935884aedc92 |