Skip to main content

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

Metadata

Release files for qoa4ml 0.3.18

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for qoa4ml 0.3.18
File Size Uploaded
qoa4ml-0.3.18.tar.gz 49.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for qoa4ml 0.3.18
File Interpreter ABI Platform
qoa4ml-0.3.18-py3-none-any.whl Python 3 none any Details

Total release size: 119.5 kB

Release files / qoa4ml-0.3.18.tar.gz

Download URL qoa4ml-0.3.18.tar.gz
Size 49.7 kB
Tags Source
SHA-256 checksum
How to use checksums
d641bb9f3ac7f8ceb65252b927bf1e125c2a17c352bc8f2377e0dc210a790362
BLAKE2b-256 checksum
How to use checksums
1c5d6dac28eee07278f772d26bba4d1a67bcf70dd1b8e86dc7ce747c9765e0d9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.10.14

Release files / qoa4ml-0.3.18-py3-none-any.whl

Download URL qoa4ml-0.3.18-py3-none-any.whl
Size 69.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9849edaceb47507b92f151dcac5b24157047d4982014a3d11875d4accc5ac0db
BLAKE2b-256 checksum
How to use checksums
5e3d4305f0e1950f8cb6eb9e116cdd87c641a18e731c97b3e6ba1e6c24fab02d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.10.14
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page