Join the newly launched
Discord community for real-time discussions, peer support, and direct interaction with the Meridian team!
meridian.model.adstock_hill.HillTransformer
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
मीडिया के हिल रूपांतरण की गणना करने वाली क्लास.
यहां से इनहेरिट किया गया: AdstockHillTransformer
meridian.model.adstock_hill.HillTransformer(
ec: tf.Tensor, slope: tf.Tensor
)
ऑर्ग |
ec
|
[..., n_media_channels] डाइमेंशन वाला टेन्सर. बैच डाइमेंशन
(...) वैकल्पिक हैं, लेकिन अगर बैच डाइमेंशन शामिल किए गए हैं, तो वे
ec के बैच डाइमेंशन से मेल खाते हैं.
|
slope
|
[..., n_media_channels] डाइमेंशन वाला टेन्सर. बैच डाइमेंशन
(...) वैकल्पिक हैं, लेकिन अगर बैच डाइमेंशन शामिल किए गए हैं, तो वे
slope के बैच डाइमेंशन से मेल खाते हैं.
|
तरीके
forward
सोर्स देखें
forward(
media: tf.Tensor
) -> tf.Tensor
दिए गए media
टेंसर के हिल ट्रांसफ़ॉर्मेशन को कैलकुलेट करता है.
हिल फ़ंक्शन के लिए परिणामों की गणना करता है, जो घटने का कारण है
मीडिया इफ़ेक्ट की वापसी.
ऑर्ग |
media
|
[..., n_geos, n_media_times,
n_media_channels] डाइमेंशन वाला टेन्सर. बैच डाइमेंशन (...) ज़रूरी नहीं हैं. हालांकि, अगर बैच डाइमेंशन का इस्तेमाल करें, तो
डाइमेंशन शामिल किए गए हैं. वे slope के बैच डाइमेंशन से मेल खाने चाहिए
और ec . मीडिया के लिए बैच आयाम की ज़रूरत नहीं है, भले ही slope
और ec में बैच डाइमेंशन शामिल हैं.
|
रिटर्न |
[..., n_geos, n_media_times, n_media_channels] डाइमेंशन वाला टेन्सर
का प्रतिनिधित्व करते हुए करते हैं.
|
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2024-11-10 (UTC) को अपडेट किया गया.
[[["समझने में आसान है","easyToUnderstand","thumb-up"],["मेरी समस्या हल हो गई","solvedMyProblem","thumb-up"],["अन्य","otherUp","thumb-up"]],[["वह जानकारी मौजूद नहीं है जो मुझे चाहिए","missingTheInformationINeed","thumb-down"],["बहुत मुश्किल है / बहुत सारे चरण हैं","tooComplicatedTooManySteps","thumb-down"],["पुराना","outOfDate","thumb-down"],["अनुवाद से जुड़ी समस्या","translationIssue","thumb-down"],["सैंपल / कोड से जुड़ी समस्या","samplesCodeIssue","thumb-down"],["अन्य","otherDown","thumb-down"]],["आखिरी बार 2024-11-10 (UTC) को अपडेट किया गया."],[],["The `HillTransformer` class computes the Hill transformation of media data, accounting for diminishing returns. It takes two main tensors as input: `ec` and `slope`, both with optional batch dimensions matching each other. The `forward` method applies the Hill function to a `media` tensor, which may include batch, geo, time, and media channel dimensions. This method returns a tensor with the same geo, time, and media channel dimensions as the input, representing the Hill-transformed media.\n"],null,[]]