Skip to main content

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


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

File details

Details for the file datarobot_mlops_stats_aggregator-10.1.3-py3-none-any.whl.

File metadata

File hashes

Hashes for datarobot_mlops_stats_aggregator-10.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 c3a55bdbaa3d38e889b6fc0aaee5eb7b044c044fe6e8fc7d215b527a64e6e3a8
MD5 4008b97977a1ba3764554188336c6355
BLAKE2b-256 0c8c421bce42ab9dc8882a6e13fc77f018a2965f6cb669b5f6c9ba6fd12fbf34

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