Skip to main content

Quality of Analysis for Machine Learning

Project description

QoA4ML - Quality of Analytics for Machine Learning Services


Documentation PyPI - Status PyPI - Wheel PyPI - Version PyPI - Python Version PyPI - Downloads Code style: Ruff GitTutorial Python CI License

Introduction

QoA4ML consists of a set of utilities and specs for supporting quality of analytics in ML services. Especially, we focus on ML services across edge-cloud continuum, which are built as a composition of services.

QoA4ML Specification

The design of QoA4ML specification is in language

QoA4ML Utilities

Developers can call many functions from a QoAClient and QoA4ML's utilities to evaluate/report ML-specific attributes (e.g., data quality, inference performance), build the quality reports, and send them to the observation services. The QoAClient can be initiated with various configurations for specifying observation server and communication protocols (e.g., messaging) in different formats (e.g., json and yaml).

The detail documents for QoA4ML utilization is presented in qoa4ml_lib

For a local build and use QoA4ML one can do:

$python3 -m pip install build
$cd qoa4ml_lib/
$python -m build

QoA4ML Reports

QoA Reports are implemented in QoA4ML Utilities, an object supports developers in reporting metrics, computation graphs, and inference graphs of ML services in a concrete format. Report schema

Examples

Examples are in examples.

QoA4ML Observability

The code is in observability

The overall architecture of the Observability Service

QoA4ML Monitor is a component monitoring QoA for a ML model which is deployed in a serving platform.

  • Monitoring Service: third party monitoring service used for managing monitoring data.
    • We use Prometheus and other services: provide information on how to configure them.
  • QoA4MLObservabilityService: a service reads QoA4ML specifications and real time monitoring data and detect if any violation occurs

Implementation using OPA

OPA engine is used to implement the service for checking violation under qoa4mlopa

ROHE Implementation

Another new engine is currently developed under rohe_ObService

References

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

qoa4ml-0.3.12.tar.gz (49.7 kB view details)

Uploaded Source

Built Distribution

qoa4ml-0.3.12-py3-none-any.whl (69.7 kB view details)

Uploaded Python 3

File details

Details for the file qoa4ml-0.3.12.tar.gz.

File metadata

  • Download URL: qoa4ml-0.3.12.tar.gz
  • Upload date:
  • Size: 49.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.14

File hashes

Hashes for qoa4ml-0.3.12.tar.gz
Algorithm Hash digest
SHA256 d0e29e98fc2f6ae4ab0b8c022c32b86d51f979ac9be20c157989517f25b03919
MD5 115f245fe9d7d18e09cae857bbcca7fc
BLAKE2b-256 440280f7465151e3f264f8153e774cbc93e13c60911705154883d0c7fd28a40c

See more details on using hashes here.

File details

Details for the file qoa4ml-0.3.12-py3-none-any.whl.

File metadata

  • Download URL: qoa4ml-0.3.12-py3-none-any.whl
  • Upload date:
  • Size: 69.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.14

File hashes

Hashes for qoa4ml-0.3.12-py3-none-any.whl
Algorithm Hash digest
SHA256 b7f1f141a35cc6f81653de9fcdb2b7239c128a022e8de255bcaa490bae30a8db
MD5 afe1d01fbd4b78a023bcc9d01701041a
BLAKE2b-256 a45aa188f5816523d9a6aacc6fe64dce271cb6d75b6c6db8da250dcb0a1a67de

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page