Question: I am working with monthly time series data that has only two columns: month and value to predict. However, the data is non - stationary,
I am working with monthly time series data that has only two columns: "month" and "value to predict." However, the data is nonstationary, and I want to leverage Transformers for accurate predictions.
What are the best preprocessing techniques to handle nonstationary time series data?How can I prepare this data for input into a Transformer model?How should I design the Transformer to predict future values, such as forecasting the next or months?
I would appreciate code snippets or stepbystep instructions to preprocess the data, create windows, train the Transformer, and perform future predictions. Thank you!
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
