stan icon indicating copy to clipboard operation
stan copied to clipboard

Expose Laplace Approximation

Open charlesm93 opened this issue 7 years ago • 2 comments

Summary:

Complements issue 755 in the math repo.

Description:

The goal is to design specialized functions to efficiently compute the posteriors of latent gaussian models. In particular we want to consider the case where the observations follow a conditional distribution which is Normal, Poisson, Binomial, and Negative Binomial.

Exposing the functions shouldn't be too hard, as at first glance the functions are not higher-order functions. This may change if we make the functions less specialized and more flexible.

Current Version:

v2.17.1

charlesm93 avatar May 04 '18 16:05 charlesm93

@charlesm93 --- thanks for following up on this. Could you include the specific signatures you're proposing either here or in the math lib issue?

I'd strongly suggest tackling one of these functions end-to-end first. At that point, the others should be easy to knock out or delegate.

bob-carpenter avatar May 28 '18 22:05 bob-carpenter

@bob-carpenter Yes, I'll get to it, though not in the immediate future. We still need a good proof of concept and tests to asses how efficacious the approximation is. But right now, I don't have time to get to it.

charlesm93 avatar May 30 '18 13:05 charlesm93