marivo.analysis.ForecastOutput#

class marivo.analysis.ForecastOutput(*, item_id, kind='forecast_output', epistemic_kind='predicted', artifact_ref, subject, scope, derivation, bucket_start, bucket_end, predicted_value=None, prediction_interval=None, horizon_index, model, training_scope, evaluation_scope=None)[source]#

Bases: _DigestItemBase

Parameters:
  • item_id (str)

  • kind (Literal['forecast_output'])

  • epistemic_kind (Literal['predicted'])

  • artifact_ref (str)

  • subject (Subject | EventSubject | LifecycleSubject | SubjectSetSubject)

  • scope (AnalysisScope | EventAnalysisScope | EventFunnelAnalysisScope | EventTimeToEventAnalysisScope | LifecycleAnalysisScope | SubjectSetAnalysisScope)

  • derivation (DerivationRule)

  • bucket_start (str)

  • bucket_end (str)

  • predicted_value (float | None)

  • prediction_interval (tuple[float, float] | None)

  • horizon_index (Annotated[int, Ge(ge=1)])

  • model (str)

  • training_scope (AnalysisScope)

  • evaluation_scope (AnalysisScope | None)

model_config = {'extra': 'forbid', 'frozen': True}#

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].