Join the newly launched
Discord community for real-time discussions, peer support, and direct interaction with the Meridian team!
Module: schema.processors.model_processor
Stay organized with collections
Save and categorize content based on your preferences.
Defines common and base classes for processing trained Meridian model to an MMM schema.
Classes
class DatedSpec: A spec with a [start_date, end_date) closed-open date range semantic.
class DatedSpecResolver: Resolves date parameters in specs based on a model's time coordinates.
class ModelProcessor: Performs model-based analysis or optimization.
class OptimizationSpec: A dated spec for optimization.
class TrainedModel: Encapsulates a trained MMM model.
Functions
ensure_trained_model(...): Ensure the given model is a trained model, and wrap it in a TrainedModel.
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-12-09 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-12-09 UTC."],[],[]]