We need that for MLE and MML, too. The one you want to
coordinate with is Rob Trangucci, who's in charge of the MLE
and MML efforts.
The code should probably go somewhere more general than in
with VB, like in the model utility class.
I'm happy to chime in on design, but it should be relatively
simple. We have the multi_normal_rng function already defined.
And the transform is available through the generated model code,
though it's not pretty to use standalone.
What we really need to do is change the model, which currently
uses the method write_array to convert the array of unconstrained
parameters to an array of constrained parameters. Then there
are methods to pull out the parameter names and sizes/dimesnions
in the order they're generated by the model. Just be careful to
keep in mind it's last-index major (column major for matrices).
- Bob
> --
> You received this message because you are subscribed to the Google Groups "stan development mailing list" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
stan-dev+u...@googlegroups.com.
> For more options, visit
https://groups.google.com/d/optout.