CoupledProposals¶
- class telescopic.couplings.CoupledProposals(x, y, identical, forward_x, forward_y)¶
The coupled proposals of
npairs of chains, with what each proposal’s ratio needs.- Attributes:
- x, y
ndarray, shape (n, d) The proposals of the first and the second chains. On identical rows
yequalsx: a copy of its rows, orxitself when every pair shares one draw, as underShared; a coupled step then evaluates it once.- identical
ndarrayof bool, shape (n,) Rows where the two proposals are equal.
- forward_x, forward_yobject
What
log_alpha()needs of each chain’s draw, assample()returns it.
- x, y
- forward_x¶
Alias for field number 3
- forward_y¶
Alias for field number 4
- identical¶
Alias for field number 2
- x¶
Alias for field number 0
- y¶
Alias for field number 1