DiscreteVariablesTaskForce / DiscreteSamplingFramework

Python classes describing discrete variable sampling/proposals
Eclipse Public License 2.0
1 stars 0 forks source link

refactor: proposals #57

Closed alecksphillips closed 11 months ago

alecksphillips commented 11 months ago

Change so that proposals represent a configuration of a proposal distribution, rather than a proposal conditional on the initial value.

An instance of DiscreteVariableProposal(some_config) is now a particular proposal distribution q(.|.), whereas before an instance of DiscreteVariableProposal(x) represented a proposal conditional on the starting value q(.|x). This will enable user-configuration of e.g. move probabilities (and potentially tuning of move probabilities by an as-yet-unspecified "proposal-generator"). This will also facilitate some refactoring I think needs to happen to enable reversible jump and HINTS to be integrated smoothly.