rdsea / QoA4ML

Quality of Analytics for Machine Learning

Home Page:https://rdsea.github.io/QoA4ML/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

QoA4ML - Quality of Analytics for Machine Learning Services

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 overal 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

About

Quality of Analytics for Machine Learning

https://rdsea.github.io/QoA4ML/

License:Other


Languages

Language:Python 93.2%Language:Open Policy Agent 5.1%Language:Shell 1.7%