Meridian GeoX is now available. Run geo experiments to calibrate your MMM.
Get started here
meridian.model.adstock_hill.compute_hill_powers
Stay organized with collections
Save and categorize content based on your preferences.
Computes the (media ** slope, ec ** slope) terms of the Hill function.
meridian.model.adstock_hill.compute_hill_powers(
media: meridian.backend.Tensor,
ec: meridian.backend.Tensor,
slope: meridian.backend.Tensor
) -> tuple[backend.Tensor, backend.Tensor]
Args |
media
|
Tensor with dimensions [..., n_geos, n_media_times,
n_media_channels].
|
ec
|
Tensor with dimensions [..., n_media_channels].
|
slope
|
Tensor with dimensions [..., n_media_channels].
|
Returns |
A tuple (t1, t2) of tensors representing media ** slope with dimensions
[..., n_geos, n_media_times, n_media_channels] and ec ** slope with
dimensions [..., 1, 1, n_media_channels].
|
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 2026-11-05 UTC.
[null,null,["Last updated 2026-11-05 UTC."],[],[]]