GithubHelp home page GithubHelp logo

time_series_forecasting's Introduction

time_series_forecasting's People

Contributors

cvxtz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

time_series_forecasting's Issues

有个 疑问

想问一下 代码怎么应用到多变量时间系列预测

Missing config.js file

Hello, I am using your code. But now I have a problem, I need to use your config.js file. You can provide it, or talk about how to write this code?

Skip connection in encoder and decoder

Hi, thanks for sharing this wonderful project. I notice that in the transformer encoder, there is a skip connection between the encoder output and input, i.e. src = self.encoder(src) + src_start.
It seem different from the original transformer model? Decoder also has the same connection.

def encode_src(self, src):
    src_start = self.input_projection(src).permute(1, 0, 2)

    in_sequence_len, batch_size = src_start.size(0), src_start.size(1)
    pos_encoder = (
        torch.arange(0, in_sequence_len, device=src.device)
        .unsqueeze(0)
        .repeat(batch_size, 1)
    )

    pos_encoder = self.input_pos_embedding(pos_encoder).permute(1, 0, 2)

    src = src_start + pos_encoder

    src = self.encoder(src) + src_start

    return src

Predictions

Hi Mate

Enjoying trying out a few of your projects really helping me on my deep learning journey, I'm currently doing your Transformer time series forecast project. I've got to the part where the model has trained and saved to transformer_ts.pth. How do I make the future predictions? I'm a noob to transformers lol

Hope for a reply
G

Question regarding the data shape.

Hi, first, thanks for sharing the code for the transformer network application in time series data. So I read your code and notice that your source, tgt_in, and tgt_out all are a matrix with 3 dimensions. I started to wonder what those dimensions mean. For instance, in LSTM applications, the 3 dimensions would mean, respectively: batch, timestamps, and features.

With all that in mind, I want to know if you follow the same data format of the LSTM network (batch, timestamps, features). Thanks in advance!!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.