bijx.IMHInfo

class bijx.IMHInfo[source]

Bases: object

Information about the IMH sampling step.

__init__(is_accepted, accept_prob, proposal)
Parameters:
  • is_accepted (bool)

  • accept_prob (float)

  • proposal (IMHState)

Return type:

None

Methods

replace(**updates)

Returns a new object replacing the specified fields with new values.

Attributes

is_accepted

Whether the proposed move was accepted.

accept_prob

Acceptance probability for the proposed move.

proposal

The proposed state that was considered.

is_accepted: bool

Whether the proposed move was accepted.

accept_prob: float

Acceptance probability for the proposed move.

proposal: IMHState

The proposed state that was considered.

replace(**updates)

Returns a new object replacing the specified fields with new values.