Giter Site home page Giter Site logo

zhengweihuaynu / crude-oil-prices-prediction-with-lstm---europe Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rudresh99/crude-oil-prices-prediction-with-lstm---europe

0.0 1.0 0.0 159 KB

Crude oil price prediction using LSTM model The average daily settlement price for Brent front-month futures contracts increased by 22% from April to May, the largest percentage increase for any month since March 1999. However, even with this increase, prices remain significantly lower than the first-quarter 2020 average.

Jupyter Notebook 100.00%

crude-oil-prices-prediction-with-lstm---europe's Introduction

Crude-Oil-Prices-Prediction-With-LSTM--Europe

The average daily settlement price for Brent front-month futures contracts increased by 22% from April to May, the largest percentage increase for any month since March 1999. However, even with this increase, prices remain significantly lower than the first-quarter 2020 average. Several factors likely provided support to crude oil prices. Initial oil consumption data and additional efforts by major oil producers indicate that the oversupply in global oil markets has not been as severe as EIA had forecast in the May STEO. As U.S. states and countries in the Organization of Economic Cooperation and Development (OECD) began to reopen from lockdown, early indicators of petroleum consumption have shown increases from the low April levels. EIA estimates that the global consumption of petroleum and other liquid fuels averaged 82.9 million barrels per day (b/d) in May, up 3.7 million b/d from April consumption and 2.9 million b/d more than forecast in the May STEO.

Citation from Redwood Center for Theoretical Neuroscince (Berkeley University)

http://redwood.berkeley.edu

http://redwood.berkeley.edu/vs265/Brian-Cheung-LSTMS.pdf

Overall LSTM Structure

LSTM Node Anatomy

alt text

How LSTM Param Number is computed?

  1. To decide how to handle the memory each LSTM Cell has 3 Gates:

    • input (what to let in),
    • forget (what to forget) and
    • output (what to write to the output)
  2. LSTM Cell State is its memory

  3. LSTM Hidden State is equivalent to the Cell output:

    • lstm_hidden_state_size (number of neurons = memory cells) = lstm_outputs_size
  4. Parameters:

    • weights for the inputs (lstm_inputs_size)
    • weights for the outputs (lstm_outputs_size)
    • bias variable
  5. Result from previous point - for all 3 Gates and for Cell State ( = 4)

    PARAMETERS=4× LSTM outputs size×(weights LSTM inputs size+weights LSTM outputs size+1 bias variable)

Output After Applying LSTM Model

g2

crude-oil-prices-prediction-with-lstm---europe's People

Contributors

rudresh99 avatar

Watchers

 avatar

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.