Skip to content
#

bayesian-inference

Here are 1,046 public repositories matching this topic...

bob-carpenter
bob-carpenter commented May 23, 2020

Summary:

It'd be nice to have a builder pattern for var contexts to make them easy to construct for testing. Something that could be used like this:

MatrixXd m(3, 2); 
...
var_context vc
  = var_context::builder()
    .matrix("a", m)
    .real("f", 2.3)
    .build();

Current Version:

v2.23.0

lumip
lumip commented Aug 9, 2021

In SVI latent random variables sampled from the guide completely mask those sampled in the model during inference. However, nothing prevents us from specifying different shapes for such a sample site in model and guide respectively. This makes it easy to introduce confusing bugs when code in the model expects a certain shape that is different than what guide provides. This can easily happen if the

willtebbutt
willtebbutt commented Oct 19, 2019

There are a variety of interesting optimisations that can be performed on kernels of the form

k(x, z) = w_1 * k_1(x, z) + w_2 * k_2(x, z) + ... + w_L k_L(x, z)

A naive recursive implementation in terms of the current Sum and Scaled kernels hides opportunities for parallelism in the computation of each term, and the summation over terms.

Notable examples of kernels with th

Improve this page

Add a description, image, and links to the bayesian-inference topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the bayesian-inference topic, visit your repo's landing page and select "manage topics."

Learn more