All Projects → montefiore-ai → hypothesis

montefiore-ai / hypothesis

Licence: BSD-3-Clause license
A Python toolkit for (simulation-based) inference and the mechanization of science.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to hypothesis

delfi
Density estimation likelihood-free inference. No longer actively developed see https://github.com/mackelab/sbi instead
Stars: ✭ 66 (+40.43%)
Mutual labels:  likelihood-free, simulation-based-inference
dbnR
Gaussian dynamic Bayesian networks structure learning and inference based on the bnlearn package
Stars: ✭ 33 (-29.79%)
Mutual labels:  inference
Volksdep
volksdep is an open-source toolbox for deploying and accelerating PyTorch, ONNX and TensorFlow models with TensorRT.
Stars: ✭ 195 (+314.89%)
Mutual labels:  inference
Grakn
TypeDB: a strongly-typed database
Stars: ✭ 2,947 (+6170.21%)
Mutual labels:  inference
Dl inference
通用深度学习推理服务,可在生产环境中快速上线由TensorFlow、PyTorch、Caffe框架训练出的深度学习模型。
Stars: ✭ 209 (+344.68%)
Mutual labels:  inference
Dawn Bench Entries
DAWNBench: An End-to-End Deep Learning Benchmark and Competition
Stars: ✭ 254 (+440.43%)
Mutual labels:  inference
Sparktorch
Train and run Pytorch models on Apache Spark.
Stars: ✭ 195 (+314.89%)
Mutual labels:  inference
inference-model-manager
Inference Model Manager for Kubernetes
Stars: ✭ 46 (-2.13%)
Mutual labels:  inference
object-flaw-detector-cpp
Detect various irregularities of a product as it moves along a conveyor belt.
Stars: ✭ 19 (-59.57%)
Mutual labels:  inference
Adlik
Adlik: Toolkit for Accelerating Deep Learning Inference
Stars: ✭ 237 (+404.26%)
Mutual labels:  inference
Bmw Yolov4 Inference Api Gpu
This is a repository for an nocode object detection inference API using the Yolov3 and Yolov4 Darknet framework.
Stars: ✭ 237 (+404.26%)
Mutual labels:  inference
Frozen Graph Tensorflow
Save, Load Frozen Graph and Run Inference From Frozen Graph in TensorFlow 1.x and 2.x
Stars: ✭ 212 (+351.06%)
Mutual labels:  inference
awesome-ml-demos-with-ios
The challenge projects for Inferencing machine learning models on iOS
Stars: ✭ 1,040 (+2112.77%)
Mutual labels:  inference
Elfi
ELFI - Engine for Likelihood-Free Inference
Stars: ✭ 208 (+342.55%)
Mutual labels:  inference
go-ml-benchmarks
⏱ Benchmarks of machine learning inference for Go
Stars: ✭ 27 (-42.55%)
Mutual labels:  inference
Pytorch Cpp Inference
Serving PyTorch 1.0 Models as a Web Server in C++
Stars: ✭ 194 (+312.77%)
Mutual labels:  inference
Tensorrt Laboratory
Explore the Capabilities of the TensorRT Platform
Stars: ✭ 236 (+402.13%)
Mutual labels:  inference
Models
Model Zoo for Intel® Architecture: contains Intel optimizations for running deep learning workloads on Intel® Xeon® Scalable processors
Stars: ✭ 248 (+427.66%)
Mutual labels:  inference
fastT5
⚡ boost inference speed of T5 models by 5x & reduce the model size by 3x.
Stars: ✭ 421 (+795.74%)
Mutual labels:  inference
approxposterior
A Python package for approximate Bayesian inference and optimization using Gaussian processes
Stars: ✭ 36 (-23.4%)
Mutual labels:  inference

A Python toolkit for (likelihood-free) inference and the mechanization of the scientific method.

Installation

From source

git clone https://github.com/montefiore-ai/hypothesis
cd hypothesis
pip install -e .

Inference

AALR-MCMC

TODO

Adversarial Variational Optimization

TODO

Amortized ratio estimation

TODO

Approximate Bayesian Computation

TODO

Approximate Bayesian Computation - Sequential Monte Carlo

TODO

Likelihood-free Inference by Ratio Estimation

TODO

Metropolis-Hastings

TODO

Benchmark problems

M/G/1

from hypothesis.benchmark.mg1 import Simulator
from hypothesis.benchmark.mg1 import Prior

simulator = Simulator()
prior = Prior()

inputs = prior.sample((10,)) # Draw 10 samples from the prior.
outputs = simulator(inputs)

Biomolecular docking

✔️ Supports experimental design

from hypothesis.benchmark.biomoleculardocking import Simulator
from hypothesis.benchmark.biomoleculardocking import Prior

simulator = Simulator()
prior = Prior()

inputs = prior.sample((10,)) # Draw 10 samples from the prior.
outputs = simulator(inputs)

from hypothesis.benchmark.biomoleculardocking import PriorExperiment # Experimental design space

prior_experiment = PriorExperiment()
experimental_designs = prior_experiment.sample((10,))

outputs = simulator(inputs, experimental_designs)

Stochastic Death model

✔️ Supports experimental design

from hypothesis.benchmark.death import Simulator
from hypothesis.benchmark.death import Prior

simulator = Simulator()
prior = Prior()

inputs = prior.sample((10,)) # Draw 10 samples from the prior.
outputs = simulator(inputs)

from hypothesis.benchmark.death import PriorExperiment # Experimental design space

prior_experiment = PriorExperiment()
experimental_designs = prior_experiment.sample((10,))

outputs = simulator(inputs, experimental_designs)

Stochastic SIR (Susceptible-Infected-Recovered) model

✔️ Supports experimental design

from hypothesis.benchmark.sir import Simulator
from hypothesis.benchmark.sir import Prior

simulator = Simulator()
prior = Prior()

inputs = prior.sample((10,)) # Draw 10 samples from the prior.
outputs = simulator(inputs)

from hypothesis.benchmark.sir import PriorExperiment # Experimental design space

prior_experiment = PriorExperiment()
experimental_designs = prior_experiment.sample((10,))

outputs = simulator(inputs, experimental_designs)

Stochastic Spatial SIR (Susceptible-Infected-Recovered) model

✔️ Supports experimental design

from hypothesis.benchmark.spatialsir import Simulator
from hypothesis.benchmark.spatialsir import Prior

simulator = Simulator()
prior = Prior()

inputs = prior.sample((10,)) # Draw 10 samples from the prior.
outputs = simulator(inputs)

from hypothesis.benchmark.spatialsir import PriorExperiment # Experimental design space

prior_experiment = PriorExperiment()
experimental_designs = prior_experiment.sample((10,))

outputs = simulator(inputs, experimental_designs)

Tractable

from hypothesis.benchmark.tractable import Simulator
from hypothesis.benchmark.tractable import Prior

simulator = Simulator()
prior = Prior()

inputs = prior.sample((10,)) # Draw 10 samples from the prior.
outputs = simulator(inputs)

Weinberg

✔️ Supports experimental design

from hypothesis.benchmark.weinberg import Simulator
from hypothesis.benchmark.weinberg import Prior

simulator = Simulator()
prior = Prior()

inputs = prior.sample((10,)) # Draw 10 samples from the prior.
outputs = simulator(inputs)

from hypothesis.benchmark.weinberg import PriorExperiment # Experimental design space

prior_experiment = PriorExperiment()
experimental_designs = prior_experiment.sample((10,))

outputs = simulator(inputs, experimental_designs)

License

Hypothesis is BSD-style licensed, as found in the LICENSE file.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].