Join the newly launched
Discord community for real-time discussions, peer support, and direct interaction with the Meridian team!
meridian.model.model.save_mmm
Stay organized with collections
Save and categorize content based on your preferences.
Save the model object to a pickle
file path.
meridian.model.model.save_mmm(
mmm: meridian.model.model.Meridian
,
file_path: str
)
WARNING: There is no guarantee for future compatibility of the binary file
output of this function. We recommend using load_mmm()
with the same
version of the library that was used to save the model.
Args |
mmm
|
Model object to save.
|
file_path
|
File path to save a pickled model object.
|
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 2025-09-23 UTC.
[[["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 2025-09-23 UTC."],[],["The function `save_mmm` saves a model object to a specified file path using the `pickle` format. The function takes two arguments: the model object (`mmm`) and the file path (`file_path`). It outputs a binary file, but future compatibility is not guaranteed. Users are advised to use the same library version for both saving and loading models. The model object to save and the path for the file are essential.\n"],null,[]]