Closed danielturek closed 10 months ago
CAR failure was a hiccup of mine. I've fixed on devel and am rerunning that test set. (Except I can't seem to rerun until the others finish...)
@paciorek whenever you push the CAR (testing) fix to devel
, could you please merge that fix also into this branch (samplers_to_data
) and push the changes? I'll be away from a computer starting shortly until much later today.
Having trouble getting it to rerun failed test with the fixes on devel. Just going to merge as things seem fine.
Adds an argument
allowData
toaddSampler
method. A few details:configureMCMC
entry point will never assign samplers to data, even if data nodes are included in thenodes
argument. There is no support for this; there is noallowData
argument toconfigureMCMC
.Samplers can be added to data nodes, using:
When
allowData = FALSE
, data nodes are filtered out of thetarget
nodes. WhenallowData = TRUE
, samplers can be added to data nodes.Suport is also provided for using default sampler assignment logic to [any set of nodes, which can include] data nodes. This is accessed using:
Note that
posterior_predictive
samplers will never be assigned to data nodes, since they are not posterior predictive. A small case could be made for supporting this, but if a user is intentionally assigning samplers to data nodes, then the presumption is they are advanced enough to consider what sampler they would like to add, and if not, they can accept the (valid) default non-PP sampler assignmentTesting added, NEWS updated.