GithubHelp home page GithubHelp logo

rnn_lstm_route_for_stock_prediction's Introduction

About

Aimed to create a model capable of effectively forecasting and comparing the performance of economic sectors between countries using their stock indexes while also identifying the key driving features of economic growth.

Chose to analyze the stock sectors of the United States and India. The data used to train the model is from Yahoo Finance. Specifically, the model is trained using the closing prices of each sector. The first sector we are looking to analyze is the technology sector for both the United States and India.

Used pandas and numpy to prepare the data for the model. Data was split into training, validation, and testing data. The split was 80%, 10%, and 10%. The data spans from January 1st, 2017 to November 5th, 2023. Utilized keras' sequential model along with an LSTM layer and three dense layers in order to narrow down the model output to a single value for each respective date(each date's stock sector close). Though using the mean absolute error metric (3.4753%), it can be concluded that the model is extremely effective and is a good indicator of the technology sector in both India and the United States.

rnn_lstm_route_for_stock_prediction's People

Contributors

nicholasmatias avatar

Watchers

Kostas Georgiou avatar  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.