Skip to content
This repository has been archived by the owner on Sep 10, 2023. It is now read-only.

Update to quap to Turings MAP #26

Merged
merged 3 commits into from
May 27, 2020

Conversation

karajan9
Copy link
Contributor

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 a Vector then. But then again, 1D isn't really that special.

I was thinking about adding a QuApResult type so we can have convenient rand(result), precis(result) (or what else have you) functions.

Actually use MAP if I'm saying I use MAP. Variable `MAP` had to be renamed to avoid conflict
@karajan9
Copy link
Contributor Author

I just noticed that adding start values for the optimization errors:
TuringLang/Turing.jl#1298

@goedman
Copy link
Member

goedman commented May 27, 2020

Nice catch! No doubt will be fixed soon! Shall we merge or hold off until this is fixed?

@karajan9
Copy link
Contributor Author

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.

@goedman
Copy link
Member

goedman commented May 27, 2020

Ok, I’ll merge it.

@goedman goedman merged commit e926b79 into StatisticalRethinkingJulia:master May 27, 2020
@karajan9 karajan9 deleted the patch-2 branch May 28, 2020 08:13
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants