thuml / Autoformer

About Code release for "Autoformer: Decomposition Transformers with Auto-Correlation for Long-Term Series Forecasting" (NeurIPS 2021), https://arxiv.org/abs/2106.13008
MIT License
2k stars 429 forks source link

decomposition visualization #115

Closed zhouliang-yu closed 1 year ago

zhouliang-yu commented 1 year ago

Hey, Thx so much for sharing this repo. I have some sort of questions related to the decomposition visualization: what is the tool to visualize the decomposed seasonal and trend series, any util API provided in your code? R4eZq.png

wuhaixu2016 commented 1 year ago

Hi, you can directly adopt the visual function in https://github.com/thuml/Autoformer/blob/main/utils/tools.py. The visualized components are trend_part and seasonal_part in line 94 of https://github.com/thuml/Autoformer/blob/main/models/Autoformer.py

zhouliang-yu commented 1 year ago

yeah its cool,thx!


发件人: wuhaixu2016 @.> 发送时间: Saturday, February 11, 2023 9:40:48 PM 收件人: thuml/Autoformer @.> 抄送: Zhouliang Yu (SDS, 120040077) @.>; Author @.> 主题: Re: [thuml/Autoformer] decomposition visualization (Issue #115)

Hi, you can directly adopt the visual function in https://github.com/thuml/Autoformer/blob/main/utils/tools.py. The visualized components are trend_part and seasonal_part in line 94 of https://github.com/thuml/Autoformer/blob/main/models/Autoformer.py

― Reply to this email directly, view it on GitHubhttps://github.com/thuml/Autoformer/issues/115#issuecomment-1426772565, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ATC7UWQJGAP6KVGIX73OAKLWW6JGBANCNFSM6AAAAAAUXJZ2CY. You are receiving this because you authored the thread.Message ID: @.***>