@cameron Maybe the relatively new BridgeStan can help you
https://discourse.mc-stan.org/t/bridgestan-1-0-0-released/29742
@cameron Maybe the relatively new BridgeStan can help you
https://discourse.mc-stan.org/t/bridgestan-1-0-0-released/29742
We’re very happy to announce the release of version 1.0.0 of BridgeStan. What is BridgeStan? To quote from the documentation, BridgeStan provides efficient in-memory access through Python, Julia, and R to the methods of a Stan model, including log densities, gradients, Hessians, and constraining and unconstraining transforms. In other words, BridgeStan lets you define a model in Stan, compile it to C++, then access it efficiently through Python, Julia, or R. BridgeStan does not perform an...