Join the newly launched Discord
community for real-time discussions, peer support, and direct interaction with the Meridian team!
meridian.model.media.OrganicMediaTensors Stay organized with collections
Save and categorize content based on your preferences.
Container for organic media tensors.
meridian
.
model
.
media
.
OrganicMediaTensors
(
organic_media
:
(
meridian
.
backend
.
Tensor
|
None
)
=
None
,
organic_media_transformer
:
(
meridian
.
model
.
transformers
.
MediaTransformer
|
None
)
=
None
,
organic_media_scaled
:
(
meridian
.
backend
.
Tensor
|
None
)
=
None
)
organic_media_transformer
A MediaTransformer
to scale media tensors using
the model's organic media data.
The organic media tensor after pre-modeling
transformations including population scaling and scaling by the media
non-zero value.
Methods
__eq__
__eq__
(
other
)
Return self==value.
organic_media_transformer
None
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."],[],["`OrganicMediaTensors` is a container for media tensors, including `organic_media` derived from `InputData`, and a `MediaTransformer` for scaling. It stores the original media, scaled media (`organic_media_scaled`), counterfactual media (`organic_media_counterfactual`), and scaled counterfactual media (`organic_media_counterfactual_scaled`). The class provides methods such as `__eq__` for comparison. Additionally, class variables, initially set to `None`, represent these different media states and the transformer.\n"]]