Deserializes the given MmmKernel proto into a Meridian model.
Args
serialized
The serialized object in the form of an MmmKernel proto.
serialized_version
The version of the serialized model. This is used to
handle changes in deserialization logic across different versions.
distribution_function_registry
Optional. A lookup table that maps string
keys to custom functions to be used as parameters in various
tfp.distributions.
eda_function_registry
A lookup table containing custom functions used by
EDASpec objects.
force_deserialization
If True, bypasses the safety check that validates
whether functions within a function registry have changed after
serialization. Use with caution. This should only be used if you have
intentionally modified a custom function and are confident that the
changes will not affect the deserialized model. A safer alternative is
to first deserialize the model with the original functions and then
serialize it with the new ones.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-05-05 UTC."],[],[]]