Skip to content
Projetos

oliverguhr/transformer-time-series-prediction

Ver no GitHub

Sobre

Prova de conceito de um modelo de previsão de séries temporais baseado em transformer.

Outros projetos

Como estes números são medidos

Crescimento medido de estrelas

em 24 h
-1
em 7 dias
0
em 15 dias
0
em 1 mês
0

Variações líquidas em períodos sobrepostos, não totais diários. Medições ausentes ficam em branco. Estrelas indicam interesse, não qualidade.

README.md

Original

Transformer Time Series Prediction

This repository contains two Pytorch models for transformer-based time series prediction. Note that this is just a proof of concept and most likely not bug free nor particularly efficient.

  • transformer-singlestep.py contains a single-step prediction model
  • transformer-multistep.py contains a multi-step prediction model

This is the output of a single step prediction model that has been trained for 100 epochs on the daily minimum temperature dataset.

For any serious use case, head over to the flow-forecast package.

image

The model is also capable of multi-step predictions. In this case, the model predicted 200 steps based on 100 steps input. It was able to learn long term trend from the training data:

image

(input blue, prediction red)

Explore projetos relacionados

Carregando…