Git Product home page Git Product logo

19i-1772_19i-1796_a2's Introduction

CI/CD Pipeline for Machine Learning System -->

This repository contains a CI/CD pipeline for a machine learning system, implemented using the following tools:

MLOPS Assignment#2

19I-1772 Abdullah, 19I-1796 Majid Ahmad

Github and Github Actions Flask Jenkins Docker Live Stream Selection Initially, we selected a live stream as input to our system. In this example, we chose the Pakistan Stock Exchange. You can modify this to suit your needs.

Model Training

We trained several machine learning models on the selected live stream using Python and its libraries, such as scikit-learn and pandas. You can find the code for training the models in the models folder.

Flask Application

We wrapped the trained models in a Flask application, which can be used in two modes: Screenshots pull

Live Dashboard

The live dashboard shows live data from the selected stream along with the predictions of our machine learning models. It also displays different metrics of the models. You can access the dashboard by running the Flask application and navigating to http://localhost:5000. pull pull

Live Dashboard Screenshot

Prediction Service

The Flask app also provides a prediction service, where a user can provide an instance of the live data to get the accuracy of the models. You can access this service by making a POST request to http://localhost:5000/predict with the live data in JSON format. pull

Delivery Phase The delivery phase is implemented using Jenkins. Jenkins is connected to our Github repository and is triggered on appropriate events, such as pushes and pull requests. When Jenkins is triggered, it initiates a build and creates a Docker image of our Flask application. This image is then pushed to our public Docker registry and hosted as a web application. pull pull

Jenkins Pipeline Screenshot

pull

Conclusion This CI/CD pipeline demonstrates a workflow for developing and deploying machine learning systems. You can modify and extend this pipeline to suit your specific needs. If you have any questions or feedback, feel free to contact us.

19i-1772_19i-1796_a2's People

Contributors

code-mj12 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.