BayesianBLP.create_idata_attrs#

BayesianBLP.create_idata_attrs()[source]#

Serialise scalar constructor arguments onto InferenceData.attrs.

market_data is intentionally stored as None rather than a serialised DataFrame: v1 does not support save/load round-trips (see save()). The None sentinel satisfies the base-class invariant that every __init__ parameter appears in attrs without falsely implying the DataFrame is persisted.