Join the newly launched Discord
community for real-time discussions, peer support, and direct interaction with the Meridian team!
Module: meridian.model
Stay organized with collections
Save and categorize content based on your preferences.
The Meridian API module that models the data.
Modules
adstock_hill
module: Function definitions for Adstock and Hill calculations.
knots
module: Auxiliary functions for knots calculations.
media
module: Structures and functions for manipulating media value data and tensors.
model
module: Meridian module for the geo-level Bayesian hierarchical media mix model.
posterior_sampler
module: Module for MCMC sampling of posterior distributions in a Meridian model.
prior_distribution
module: This file contains an object to store prior distributions.
prior_sampler
module: Module for sampling prior distributions in a Meridian model.
spec
module: Defines model specification parameters for Meridian.
transformers
module: Contains data transformers for various inputs of the Meridian model.
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-05 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-05 UTC."],[[["\u003cp\u003eThis module serves as the API for modeling data within the Meridian project.\u003c/p\u003e\n"],["\u003cp\u003eIt includes sub-modules for calculations related to Adstock and Hill functions.\u003c/p\u003e\n"],["\u003cp\u003eThe module handles media value data, knots, and model specifications.\u003c/p\u003e\n"],["\u003cp\u003eIt contains data transformers designed for different inputs required by the Meridian model.\u003c/p\u003e\n"],["\u003cp\u003eIt stores prior distributions used in the model.\u003c/p\u003e\n"]]],[],null,["\u003cbr /\u003e\n\n|----------------------------------------------------------------------------------------------------|\n| [View source on GitHub](https://github.com/google/meridian/blob/v1.2.0/meridian/model/__init__.py) |\n\nThe Meridian API module that models the data.\n\nModules\n\n[`adstock_hill`](../meridian/model/adstock_hill.md) module: Function definitions for Adstock and Hill calculations.\n\n[`knots`](../meridian/model/knots.md) module: Auxiliary functions for knots calculations.\n\n[`media`](../meridian/model/media.md) module: Structures and functions for manipulating media value data and tensors.\n\n[`model`](../meridian/model/model.md) module: Meridian module for the geo-level Bayesian hierarchical media mix model.\n\n[`posterior_sampler`](../meridian/model/posterior_sampler.md) module: Module for MCMC sampling of posterior distributions in a Meridian model.\n\n[`prior_distribution`](../meridian/model/prior_distribution.md) module: This file contains an object to store prior distributions.\n\n[`prior_sampler`](../meridian/model/prior_sampler.md) module: Module for sampling prior distributions in a Meridian model.\n\n[`spec`](../meridian/model/spec.md) module: Defines model specification parameters for Meridian.\n\n[`transformers`](../meridian/model/transformers.md) module: Contains data transformers for various inputs of the Meridian model."]]