cure-lab / LTSF-Linear

[AAAI-23 Oral] Official implementation of the paper "Are Transformers Effective for Time Series Forecasting?"

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

预测的时间序列有缺失值处理

lizhuoq opened this issue · comments

如果要预测的时间序列内有缺失值的情况,可以在构建dataset的时候在缺失位置padding一个值,然后在计算loss的时候对缺失位置进行mask计算loss,这样处理可行吗?希望收到您的回复,谢谢。