GithubHelp home page GithubHelp logo

m2ds_datastream's Introduction

Stock forecasting with stream-learning neural networks

This project is a team project for the Data Stream Processing's course at Ecole Polytechnique. The goal is to predict the stock market using stream-learning neural networks helped with nlp integration of twitter sentiment estimation.

Table of contents

Authors

Getting Started

Clone the repository

To clone the repository, run the following command:

git clone https://github.com/TitouanLMT/M2DS_DataStream/tree/main

Prerequisites

The requirements are in the requirements.txt file. You can install them with the following command:

pip install -r requirements.txt

Run the project

This part assumes you are running the commands in seperate terminals.

1. Zookeeper

To run the project, you need to run a Zookeeper server. To do so, run the following command, assuming you are in the correct Zookeeper directory:

zookeeper-server-start.sh config/zookeeper.properties

2. Kafka

To run the project, you need to run a Kafka server. To do so, run the following command, assuming you are in the correct Kafka directory:

kafka-server-start.sh config/server.properties

This script is used to train the model. Run it with the following command:

python model_training_continual.py

This script is used to handle the dataset. Run it with the following command:

python dataset_handler.py

This script is used to make predictions. Run it with the following command:

python rolling_prediction.py

This script is used to mock the stock API. Run it with the following command:

python stock_mock_API.py

Results

The resuls can be seen in the presentation slides of the project.

References

m2ds_datastream's People

Contributors

titouanlmt avatar tvbv avatar gooodluke 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.