Giter Site home page Giter Site logo

performance_monitor_mlops's Introduction

Performance Monitoring Capstone Project

Detect data drift and real time monitoring loss function

How to run an example

Tools:

  • Evidently - library for the metrics calculations
  • Prometheus - service to store the metrics
  • Grafana - service to build the dashboards
  • Docker - service to rule them all

You can run experiment in two ways:

Run with data which we prepare:

  1. Install Docker if you haven't used it before.
  2. Build container using
docker compose up
  1. Install dependencies.
  • install dependencies
pip install -r requirements.txt
  1. Then run the docker image from the example directory:
./scripts/example_run_request.py

Run with your data:

  1. Install Docker if you haven't used it before.
  2. Build container using
docker compose up
  1. Prepare your data as dict format and send it via endpoint(http://localhost:8085/iterate/data-car) Alt text

Dashboard

  1. Explore the dashboard.

Go to the browser and access the Grafana dashboard at http://localhost:3000. At first, you will be asked for login and password. Both are admin.

To see the monitoring dashboard in the Grafana interface, click "General" and navigate to the chosen dashboard (e.g. "Evidently Data Drift").

Alt text

  1. Stop the example.

To stop the process of sending data, cancel the execution of the example script (press CTRL-C).

If the Docker containers were not stopped after that, run a command:

docker compose down

performance_monitor_mlops's People

Contributors

phuctan214 avatar

Stargazers

 avatar  avatar Nguyễn Duy Tân avatar

Watchers

 avatar

performance_monitor_mlops's Issues

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.