ConsiderationSetMixedLogit.create_idata_attrs#

ConsiderationSetMixedLogit.create_idata_attrs()[source]#

Create attributes for the InferenceData object.

Z_tilde is not serialized into the attrs dict because it is a large numeric array. When loading a saved model, callers must re-supply consideration_instruments before prediction. Shape metadata is stored so loaders can validate the new array.