Git Product home page Git Product logo

data-streaming-ml's Introduction

Data Streaming and continous prediciton

This reporisitory primarily focuses on establishing data pipelines to consume deep learning service.

Assignment 1

Implenting a CNN Multiclass Image Classifer for MNIST Fasion dataset and deploying model as a Web Application using streamlit. Application can be executed by navigating to 'assignment1' directory and running the below command in the terminal :

streamlit run assignment1/prediction.py

image

Assignment 2

Using python to interface Apache Kafka or Google Pub/Sub to stream messages in this case an image is put on the queue by a producer in base 64 format which is consumed by a consumer to reconstruct the image and dump as a file.

Assignment 3

Using the interfaces created in assignment 2 and model generated in assignment 1 to stream images from the test set of MNIST Fashion dataset to perform continous predictions as the streams are handled by the broker. The user has the choice to choose either Apache Kafka or Google Pub/Sub as the message broker. The Producer and Consumer methods are handled by seperate threads thus enabling multithreading for a faster production and delivery.

python assignment3/StreamPredict.py --help
usage: StreamPredict.py [-h] choice

Choose message broker

positional arguments:
  choice      1 - choose Apacha Kafka as message broker 2 - choose Google Pub/Sub as message broker

optional arguments:
  -h, --help  show this help message and exit

image

image

data-streaming-ml's People

Contributors

deepganguly98 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.