Module: meridian.model.media
Stay organized with collections
Save and categorize content based on your preferences.
Structures and functions for manipulating media value data and tensors.
Classes
class MediaTensors
: Container for (paid) media tensors.
class OrganicMediaTensors
: Container for organic media tensors.
class OrganicRfTensors
: Container for Reach and Frequency (RF) organic media tensors.
class RfTensors
: Container for Reach and Frequency (RF) media tensors.
Functions
build_media_tensors(...)
: Derives a MediaTensors container from media values in given input data.
build_organic_media_tensors(...)
: Derives a OrganicMediaTensors container from values in given input data.
build_organic_rf_tensors(...)
: Derives an OrganicRfTensors container from values in given input.
build_rf_tensors(...)
: Derives an RfTensors container from RF media values in given input.
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-05-16 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-05-16 UTC."],[[["This content provides structures and functions for handling media value data and tensors."],["It defines four distinct tensor container classes: `MediaTensors`, `OrganicMediaTensors`, `OrganicRfTensors`, and `RfTensors`."],["The content includes functions to build these tensor containers from input data, including `build_media_tensors`, `build_organic_media_tensors`, `build_organic_rf_tensors`, and `build_rf_tensors`."],["The Reach and Frequency (RF) of media are key components of two of the tensor classes and respective functions."]]],["The core content details classes and functions for handling media data. It defines four classes: `MediaTensors`, `OrganicMediaTensors`, `OrganicRfTensors`, and `RfTensors`, which are containers for different types of media tensors. It also includes four functions: `build_media_tensors`, `build_organic_media_tensors`, `build_organic_rf_tensors`, and `build_rf_tensors`. These functions derive and create instances of the respective tensor container classes from input data values. The functions create these tensors containers for regular and organic reach and frequency.\n"]]