EpochType

Contents

EpochType#

class liesel.goose.EpochType(*values)[source]#

Bases: IntEnum

Indicates which MCMC phase the epoch is part of.

Methods

is_adaptation(epoch_type)

Returns True if the epoch is part of the adaptation phase.

is_warmup(epoch_type)

Returns True if the epoch is part of the warmup phase.

Attributes

INITIAL_VALUES

Initial chain states before any sampling transitions.

FAST_ADAPTATION

Warmup phase for adapting fast kernel parameters, such as step sizes.

SLOW_ADAPTATION

Warmup phase that also adapts slow parameters, such as mass matrices.

BURNIN

Warmup sampling without further kernel adaptation.

POSTERIOR

Posterior sampling after warmup, without kernel adaptation.