BayesianPreset

BayesianPreset()

A named, versioned Bayesian configuration with its provenance.

Attributes

Name Type Description
model_config Frozen and closed to extra fields.
name str The preset’s name, also its settings version.
description str One line on what the preset is for.
status PresetStatus How far to trust it.
provenance PresetProvenance Where its values come from.
workflow BayesianPredictionSettings Settings for bayesian_kpi_predictions.
posterior BayesianSettings Settings for BayesianPosterior, the same profile.

Methods

Name Description
posterior_settings Return the posterior settings, optionally with overrides.
workflow_settings Return the workflow settings, optionally with overrides.

posterior_settings

posterior_settings(**overrides)

Return the posterior settings, optionally with overrides.

Parameters

Name Type Description Default
**overrides object Fields to change; any change needs a new version. {}

Returns

Name Type Description
BayesianSettings The validated settings.

workflow_settings

workflow_settings(**overrides)

Return the workflow settings, optionally with overrides.

Parameters

Name Type Description Default
**overrides object Fields to change. Output selection and reading horizon keep the preset’s version; anything else needs a new version. {}

Returns

Name Type Description
BayesianPredictionSettings The validated settings.