Skip to main content

Python library designed provide core dqml metrics without huge dependencies, as well as common API shared by metrics

Project description

DQM-ML Core

This package defines the foundational API and core metrics for the DQM-ML V2 framework.

Key Concepts

DatametricProcessor

The base class for all metrics and feature extractors. It supports a streaming architecture by splitting computation into two phases:

  1. Batch Level: compute_batch_metric() updates intermediate statistics for a single chunk of data.
  2. Dataset Level: compute() aggregates these statistics into final scores.

Included Metrics

  • Completeness: Analyzes null/missing values.
  • Representativeness: Statistical distribution analysis (Chi-Square, KS, etc.).

For Developers

To create a new metric:

  1. Subclass dqm_ml_core.api.data_processor.DatametricProcessor.
  2. Define needed_columns(), generated_features(), and generated_metrics().
  3. Implement the streaming logic in compute_batch_metric() and compute().

Project details


Download files

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

Source Distribution

dqm_ml_core-1.1.5.tar.gz (13.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dqm_ml_core-1.1.5-py3-none-any.whl (15.2 kB view details)

Uploaded Python 3

File details

Details for the file dqm_ml_core-1.1.5.tar.gz.

File metadata

  • Download URL: dqm_ml_core-1.1.5.tar.gz
  • Upload date:
  • Size: 13.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.28 {"installer":{"name":"uv","version":"0.9.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for dqm_ml_core-1.1.5.tar.gz
Algorithm Hash digest
SHA256 80597698afbc8912bb4a61b8239d11393efe03935a1053e7cd8fbd124cf8e4ae
MD5 c2d200df284fcac1775301aaff13e61a
BLAKE2b-256 4d3756b183d9a65f357ea200dba5462a7d25e14de384476949578b64de10bdd0

See more details on using hashes here.

File details

Details for the file dqm_ml_core-1.1.5-py3-none-any.whl.

File metadata

  • Download URL: dqm_ml_core-1.1.5-py3-none-any.whl
  • Upload date:
  • Size: 15.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.28 {"installer":{"name":"uv","version":"0.9.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for dqm_ml_core-1.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 227e13822cef551ddc91c9bd89325f85a9e53470b8a4f5da29adfd7b87140a16
MD5 73f18a328688dc7fab36ce1c34c5edd0
BLAKE2b-256 e78d007c30e888fae079f9b68356b7513dbbbe43191ba860a8601a2da0efb6fd

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page