![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
abeec
is a sampler to perform Approximate Bayesian Computation (ABC) --- i.e., likelihood free posterior inference! It is based on the algorithm presented in Ishida et al. (2015).
Author: Nestor Espinoza (nespinoza@stsci.edu)
While for Cosmological applications an ABC sampler has already been published by the team of Ishida et al (cosmoabc
--- check their repository!),
there was a need to develop a more general scheme to allow some flexibility to the sampler. For instance, doing arbitrary prior distributions (e.g., with priors that might be correlated)
was not straightforward to implement, as well as have external functions for distances and simulators that could all benefit from a common parallelization scheme. On top of that, I wanted
a simple sampler that used the most basic python
libraries (e.g., numpy
and scipy
) at its core. That's where abeec
comes into place.
To perform ABC on a given dataset, you need three ingredients:
prior
from which to draw points.distance
to compute distances from simulated datasets to your dataset.simulator
, to simulate datasets to compare against your dataset.In abeec
, it is expected the user will provide classes defining the prior
, the distance
and the simulator
. All the sampler does it take those and apply the iterative importance
sampling scheme outlined in Ishida et al. (2015), giving back a sample from the posterior. Once those classes are written, one might simply run the
sampler as:
import abeec
from your_script import prior, distance, simulator
samples = abeec.sample(prior, distance, simulator)
The best is to check the examples under examples
.
Installation is as simple as:
python setup.py install
Or via PyPi:
pip install abeec
Read the LICENCE
file for licencing details on how to use the code. If you make use of this code, please cite Ishida et al. (2015) and link back
to this repository.
FAQs
abeec: a library to perform approximate bayesian computation
We found that abeec demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.