stefanradev93 / BayesFlow

A Python library for amortized Bayesian workflows using generative neural networks.
https://bayesflow.org/
MIT License
286 stars 45 forks source link

add notebook: amortized point estimation #145

Closed vpratz closed 4 months ago

vpratz commented 4 months ago

A quick demonstration on how to use the new AmortizedPointEstimator class discussed in #121. Contains the illustrative example of the original paper.

stefanradev93 commented 4 months ago

Very nice! The ConfigurableMLP is now part of the library in helper_networks.py, so the notebook can directly import and use it.

vpratz commented 4 months ago

Thanks for the review! I extended ConfigurableMLP to allow for arbitrary output dimensionality, so now we can use it for the current use case (input_dim!=output_dim) as well.

stefanradev93 commented 4 months ago

Cool and good idea with the different dimensionalities!