Code Monkey home page Code Monkey logo

time-series-analysis-using-lstm-rnn-and-gru's Introduction

Time-series-Analysis-using-LSTM-RNN-and-GRU

Time series Analysis using LSTM, RNN, and GRU with PyTorch

Here I am implementing some of the RNN structures, such as RNN, LSTM, and GRU to build an understanding of deep learning models for time-series forecasting. I have worked on some of the feature engineering techniques that are widely applied in time-series forecasting, such as one-hot encoding, lagging, and cyclical time features. The libraries used are Scikit-learn, Pandas, and PyTorch, an open-source machine learning library. I have followed this great article you can find more details over here link. It will give you extensive detail about this. Time Series Dataset I am using is from PJM’s Hourly Energy Consumption data, a univariate time-series dataset of 10+ years of hourly observations collected from different US regions. From all files, I am working with the PJM East region data, which originally has the hourly energy consumption data from 2001 to 2018, but you can use any dataset.

Data Distribution:

DataGraph

RNN Results:

RNN

LSTM Results:

LSTM

GRU Results:

GRU

time-series-analysis-using-lstm-rnn-and-gru's People

Contributors

sheezashabbir 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

Watchers

 avatar

time-series-analysis-using-lstm-rnn-and-gru's Issues

The question about path of model

It is a amazing project thanks for you very much! but when I implements the code, I met a error I don't know how to solve. Its specific information is as follows:
OSError: [Errno 22] Invalid argument: 'RNNModel(\n (rnn): RNN(56, 64, num_layers=3, batch_first=True, dropout=0.2)\n (fc): Linear(in_features=64, out_features=1, bias=True)\n)_2022-09-16 09:59:58'
What should I do? Looking forward your reply! Thank you again!

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.