[[["เข้าใจง่าย","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 `AdstockTransformer` computes the Adstock transformation of media data. It takes `alpha` (decay rate), `max_lag` (lag periods), and `n_times_output` (output time periods) as input. The `forward` method calculates Adstock for each geo, time period, and media channel using the formula `sum_{i=0}^max_lag media_{g,t-i,m} alpha^i`. Input `media` is a tensor of media values. The output is a tensor representing Adstock-transformed media with specified dimensions.\n"],null,[]]