Quality of Analysis for Machine Learning
Project description
QoA4ML - Quality of Analytics for Machine Learning Services
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.
Examples
Examples are in examples.
QoA4ML Observability
The code is in observability
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
- Hong-Linh Truong, Minh-Tri Nguyen, "QoA4ML -A Framework for Supporting Contracts in Machine Learning Services", The 2021 IEEE International Conference on Web Services (ICWS 2021), to appear.
- Minh-Tri Nguyen, Hong-Linh Truong Demonstration Paper: Monitoring Machine Learning Contracts with QoA4ML, Companion of the 2021 ACM/SPEC International Conference on Performance Engineering (ICPE'21), Apr. 19-23, 2021
- https://www.researchgate.net/publication/341762862_R3E_-An_Approach_to_Robustness_Reliability_Resilience_and_Elasticity_Engineering_for_End-to-End_Machine_Learning_Systems
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file qoa4ml-0.3.14rc0.tar.gz
.
File metadata
- Download URL: qoa4ml-0.3.14rc0.tar.gz
- Upload date:
- Size: 49.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 39bb5b4f21dcfe2aef3d6c835e647f4f1c0664b7d138ffd09db3ee2a7a5566d5 |
|
MD5 | 5fa09c47e8de7ee0a50f18cd1ef76619 |
|
BLAKE2b-256 | 8412646efc96a1522ab582f4b14381e0858412ad8ab0db7c375098bbea3c4d09 |
File details
Details for the file qoa4ml-0.3.14rc0-py3-none-any.whl
.
File metadata
- Download URL: qoa4ml-0.3.14rc0-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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 94f7c1a12793b2892240ab0f1e3e2b5cea6a5e2be25e4e2d4662cafb294ac87a |
|
MD5 | e4416b70b233c9742167c1c0a05c9b44 |
|
BLAKE2b-256 | 12d6c1c42ff3c70b5323e7d3d32bc8432ee1bc522a3a3c4a33067a53a3a12922 |