CoupledProposals

class telescopic.couplings.CoupledProposals(x, y, identical, forward_x, forward_y)

The coupled proposals of n pairs of chains, with what each proposal’s ratio needs.

Attributes:
x, yndarray, shape (n, d)

The proposals of the first and the second chains. On identical rows y equals x: a copy of its rows, or x itself when every pair shares one draw, as under Shared; a coupled step then evaluates it once.

identicalndarray of bool, shape (n,)

Rows where the two proposals are equal.

forward_x, forward_yobject

What log_alpha() needs of each chain’s draw, as sample() returns it.

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