DataRobot library to compute statistics aggregations
Project description
MLOps Stats Aggregation Library (Python)
Usage
The Python library for MLOps stats aggregation has two entry points:
aggregate_stats
The aggregate_stats
function in
aggregation.py
is the primary entry point into the library. This function accepts dataframes of raw features and/or predictions and
aggregates statistics suitable to be submitted to DataRobot MLOps for deployment monitoring. In order to use this function,
the types of each tracked feature must be specified, and certain feature types (e.g. currency) require additional format
information. See the docstring and type declarations of aggregate_stats
for details about specific requirements.
merge_stats
The merge_stats
function defined in
merging.py
is used to merge together the outputs of calls to aggregate_stats
. It returns a value with the same shape as that
returned by aggregate_stats
. Merging stats makes sense (for example) in the MLOps Tracking Agent, which will buffer
stats aggregated by the MLOps Reporting Library. The agent can merge those buffered stats before sending them in a
single payload to DataRobot MLOps.
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 Distributions
Built Distribution
File details
Details for the file datarobot_mlops_stats_aggregator-10.2.0-py3-none-any.whl
.
File metadata
- Download URL: datarobot_mlops_stats_aggregator-10.2.0-py3-none-any.whl
- Upload date:
- Size: 42.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.7.17 Linux/5.10.217-205.860.amzn2.x86_64
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5390c942dc48fd7f30673a9215934bab95430a76868a90c0ec645045e99978c9 |
|
MD5 | 996054303421d628f8a223e6ef1606b0 |
|
BLAKE2b-256 | 1d35d0377eeb2706aa0565e36b409ca7480125c390fa630e2d3fbd9518f3912c |