Closed karajan9 closed 4 years ago
I just noticed that adding start values for the optimization errors: https://github.com/TuringLang/Turing.jl/issues/1298
Nice catch! No doubt will be fixed soon! Shall we merge or hold off until this is fixed?
I don't think I have an opinion on this. It's not really used anywhere right now (except by me internally) so I don't think it makes much of a difference.
Ok, I’ll merge it.
As mentioned before, with Turings new capabilities things get much easier. We don't have to find a starting point and adding return statements to the model is not necessary.
I'm not sure if making a difference between the 1D case and the rest makes sense, it's just a little more convenient because it allows
rand(distr, 10)
to return aVector
then. But then again, 1D isn't really that special.I was thinking about adding a
QuApResult
type so we can have convenientrand(result)
,precis(result)
(or what else have you) functions.