Resolve "Make sure marginalized parameters are not sampled"
Closes #271 (closed)
Merge request reports
Activity
changed milestone to %Future
added Feature-request label
added 4 commits
Toggle commit listadded 1 commit
- ea6b6300 - Only return reference parameter values if likelihood is marginalized
added 1 commit
- 0e01a3fb - Fixed some remaining issues with marginalisation sampling test
Would it not be easier to just do
if getattr(likelihood, "prior", prior) != prior: raise SamplingMarginalisedParameterError()
or something? (I'm not sure that one can actually equate dictionaries like this, but some equivalent). The main point is just: is the prior the same as the likelihood prior?
@gregory.ashton the two priors explicitly should be different. The likelihood keeps the original prior used for the marginalisation but the sampled prior should be different.
@moritz.huebner is this something you plan to get merged in for this release? If so please tag it as such to avoid it being skipped.
changed milestone to %0.5.9
added 35 commits
-
0e01a3fb...b7915477 - 33 commits from branch
master
- 8fa49b49 - Merge remote-tracking branch 'origin/master' into...
- 265834ca - Worked in Colm's suggested solution for checking if marginalized parameters are sampled
-
0e01a3fb...b7915477 - 33 commits from branch
- Resolved by Moritz Huebner
@colm.talbot @gregory.ashton I changed this as it was suggested by Colm and it is now ready to be merged
mentioned in commit 3bf09dae