-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bat_marginalize should come with an algorithm type and defaults #132
Comments
I guess this issue can also be closed as it was fixed with PR #133 |
Oh, yes. But we have the more rigorous API for |
So we should add the concept of marginalization to algotypes and algodefaults. |
Ah, ok. I will take a look at this. |
Hm, from a purist point of view, they would not include the indices of the original parameters. Do we need them? Actually, I've been thinking about adding a close relative to ValueShapes.jl that allows assigning a varshape to any generic multivariate |
Ah, what should we now do about this issue?
I will check again if we need the original shapes for a correct matching of names to indices in plotting, but I think we actually would not need them for this. Or will you take a look into this proposed
? |
Then let's drop them, it'll be much cleaner without.
Yes - I'm thinking about adding a generic "add NamedTupleShape to any dist" wrapper to ValueShapes - that would then make it possible to replace MarginalDist by that wrapper combined EmpiricalDistributions. |
bat_marginalize
should always return a NamedTuple(result = ...,)
, to leave room for additional, algorithm-specific output values. This is something like a standard for allbat_....()
functions now. Sorry, forgot to mention that on the PR that addedbat_marginalize
.CC @Cornelius-G, @VasylHafych
The text was updated successfully, but these errors were encountered: