Skip to content

quovadisss/TimeSeriesForecasting_AI_team1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Long Sequence Time Forecasting(LSTF)

Project explanation

This project is to forecast long sequence time data on Stock Price. We also forecast Electricity Power Consumption to compare deep learning models. We built Informer for the main model and added Linformer, Seq2Seq and CNN. We found that Informer is powerful to forecast long sequences compare to other models.

Framework

  1. Preprocessing data for Stock Price and Electricity Power Consumption data.
  2. Spliting data into Train and Test set.
  3. Building Data Loaders.
  4. Building Models(Informer, Linformer, Seq2Seq and CNN).
  5. Inference.
  6. Plotting all the results and finding insights.

Usage

  1. python main.py --model informer --gpu_id 0 --output_attention
  2. or you can just execute run.sh file.

Plots(Example)

  • AMD Price in NASDAQ
    • Forecasting 1 hour / 7 hours / 14 hours / 30 hours
    • CNN AMD_CNN_type0 AMD_CNN_type1 AMD_CNN_type2 AMD_CNN_type3
    • S2S AMD_S2S_type0 AMD_S2S_type1 AMD_S2S_type2 AMD_S2S_type3
    • Informer AMD_informer_type0 AMD_informer_type1 AMD_informer_type2 AMD_informer_type3

Metric

스크린샷 2021-06-08 오전 6 55 19

Reference