Skip to main content

core.Staged

core.Staged()

A weight-space method needing several passes.

Attributes

Name Description
requires What the method needs from the model and the likelihood.

Methods

Name Description
plan The method’s passes, before any data.

plan

core.Staged.plan(params, ctx, /)

The method’s passes, before any data.

Parameters

Name Type Description Default
params Params The params the curvature is taken at. required
ctx FitContext The fit’s context. required

Returns

Name Type Description
Pass[_R_co] The first Pass of a chain built with chain(...), ending in Done.

Raises

Name Type Description
CapabilityError Implementations may raise it when the model or likelihood lacks something the method needs.
StructureError Implementations may raise it when the params or layout don’t fit the method.