deserialize_variable_scaling#

pymc_marketing.mmm.scaling.deserialize_variable_scaling(d)[source]#

Deserialize a VariableScaling from a dict, handling both legacy and new formats.

Legacy format (pre-class-split) uses a method field to discriminate. New format uses the __type__ key injected by the serialization registry.