Meridian GeoX is now available. Run geo experiments to calibrate your MMM.
Get started here
meridian.model.model.load_mmm
Stay organized with collections
Save and categorize content based on your preferences.
Load the model object from a pickle file path.
meridian.model.model.load_mmm(
file_path: str
) -> meridian.model.model.Meridian
WARNING: There is no guarantee for backward compatibility of the binary file
input of this function. We recommend using load_mmm() with the same
version of the library that was used to save the model's pickled file.
Args |
file_path
|
File path to load a pickled model object from.
|
Returns |
mmm
|
Model object loaded from the file path.
|
Raises |
FileNotFoundError
|
If file_path does not exist.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-11-05 UTC.
[null,null,["Last updated 2026-11-05 UTC."],[],["The function `load_mmm` loads a model object from a specified `pickle` file path. It takes the file path as input and returns the loaded model object. The function raises a `FileNotFoundError` if the file path doesn't exist. It is recommended to use the same library version for loading as was used for saving, as there's no backward compatibility guarantee for the binary file format.\n"]]