[ANN] BayesDensity.jl - A package for univariate nonparametric Bayesian density estimation

Hi Julia users!

I am pleased to announce the first release of the BayesDensity.jl package!

The goal of BayesDensity.jl is to provide a uniform interface to nonparametric Bayesian density estimation in one dimension. The package provides an alternative to kernel methods for smooth density estimation, providing implementations of several popular Bayesian approaches such as Dirichlet process mixtures and finite mixture models via both Markov chain Monte Carlo methods and variational inference. The package also makes it easy to visualize the resulting density estimates through its Makie.jl and Plots.jl extensions.

For the visually minded reader, here is a plot showing off the packages capabilities (using a HistSmoother and featuring the famous “claw” density)

A full list of the methods available in the package can be found in the documentation.
The package follows a monorepo approach, so that most of the provided models can be installed independently from each other.

I hope you will check out this package, or better yet, find it useful!

2 Likes