Skip to main content

EazyML Responsible-AI: Data Quality Assessment

Python PyPI package Code Style

EazyML

Overview

eazyml-data-quality is a python utility designed to evaluate the quality of datasets by performing various checks such as data shape, emptiness, outlier detection, balance, and correlation. It helps users identify potential issues in their datasets and provides detailed feedback to ensure data readiness for downstream processes. It offers APIs for data quality assessment across multiple dimensions, including:

Features

  • Missing Value Analysis: Detect and impute missing values.
  • Bias Detection: Uncover and mitigate bias in datasets.
  • Data Drift and Model Drift Analysis: Monitor changes in data distributions over time.
  • Data Shape Quality: Validates dataset dimensions and checks if the number of rows is sufficient relative to the number of columns.
  • Data Emptiness Check: Identifies and reports missing values in the dataset.
  • Outlier Detection: Detects and removes outliers based on statistical analysis.
  • Data Balance Check: Analyzes the balance of the dataset and computes a balance score.
  • Correlation Analysis: Identify multicollinearity, relationships between features and provides alerts for highly correlated features.
  • Summary Alerts: Consolidates key quality issues into a single summary for quick review.

With eazyml-data-quality, you can ensure that your training data is clean, balanced, and ready for machine learning.

Installation

To use the Data Quality Checker, ensure you have Python installed on your system.

User installation

The easiest way to install data quality is using pip:

pip install -U eazyml-data-quality

Dependencies

This package requires:

  • pandas
  • scikit-learn
  • numpy
  • openpyxl
  • eazyml-insight

Usage

Here's an example of how you can use the APIs from this package.

Imports

from eazyml_data_quality import ez_data_quality

Initialize and Read Data

# Initialize the EazyML automl library.
_ = ez_init()

# Define training data (Replace with the correct data path).
train_data_path = "path_to_your_training_data.csv"

# Define test data (Replace with the correct data path).
test_data_path = "path_to_your_test_data.csv"

Perform Data Quality

# Define the outcome (target variable)
outcome = "target"  # Replace with your target variable name

# Customize options to perform data quality
dqa_options = {
               "data_shape": "yes",
               "data_balance": "yes",
               "data_emptiness": "yes",
               "data_outliers": "yes",
               "remove_outliers": "yes",
               "outcome_correlation": "yes",
               "data_drift": "yes",
               "model_drift": "yes",
               "prediction_data": test_data_path,
               "data_completeness": "yes",
               "data_correctness": "yes"
              }

# Call the EazyML API to perform data quality
dqa_response = ez_data_quality(train_data_path, outcome, options=dqa_options)

# dqa_response is a dictionary object with following keys.
# print(dqa_response.keys())
# dict_keys(['success', 'message', 'data_shape_quality', 'data_emptiness_quality', 'data_outliers_quality', 'data_balance_quality', 'data_correlation_quality', 'data_completeness_quality', 'data_correctness_quality', 'drift_quality', 'data_bad_quality_alerts'])

# the response object contains a dictionary with the results of all data quality checks, along with the data quality alerts selected by the user.

You can find more information in the documentation.

  • Documentation

  • Homepage

  • If you have questions or would like to discuss a use case, please contact us here

  • Here are the other packages from EazyML suite:

    • eazyml-automl: eazyml-automl provides a suite of APIs for training, optimizing and validating machine learning models with built-in AutoML capabilities, hyperparameter tuning, and cross-validation.
    • eazyml-data-quality: eazyml-data-quality provides APIs for comprehensive data quality assessment, including bias detection, outlier identification, and drift analysis for both data and models.
    • eazyml-counterfactual: eazyml-counterfactual provides APIs for optimal prescriptive analytics, counterfactual explanations, and actionable insights to optimize predictive outcomes to align with your objectives.
    • eazyml-insight: eazyml-insight provides APIs to discover patterns, generate insights, and mine rules from your datasets.
    • eazyml-xai: eazyml-xai provides APIs for explainable AI (XAI), offering human-readable explanations, feature importance, and predictive reasoning.
    • eazyml-xai-image: eazyml-xai-image provides APIs for image explainable AI (XAI).

License

This project is licensed under the Proprietary License.


Maintained by EazyML
© 2025 EazyML. All rights reserved.

Release files for eazyml-data-quality 0.0.41

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for eazyml-data-quality 0.0.41
File Size Uploaded
eazyml_data_quality-0.0.41.tar.gz 27.6 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for eazyml-data-quality 0.0.41
File Interpreter ABI Platform
eazyml_data_quality-0.0.41-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 56.0 MB

Release files / eazyml_data_quality-0.0.41.tar.gz

Download URL eazyml_data_quality-0.0.41.tar.gz
Size 27.6 MB
Tags Source
SHA-256 checksum
How to use checksums
0b370501f0e16fc6d3891c58025dc8e6d99421887ce59d73e8af4d1a8ff06104
BLAKE2b-256 checksum
How to use checksums
3f30b52b9feb1857191b3ee6cdb051ce75dfea0f1ac07aebce2a95b98f311a0b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.14

Release files / eazyml_data_quality-0.0.41-py2.py3-none-any.whl

Download URL eazyml_data_quality-0.0.41-py2.py3-none-any.whl
Size 28.4 MB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
8ab639463ac5da6c42c700f4a828142c17e5db0131f44b4498226c9a54bc4974
BLAKE2b-256 checksum
How to use checksums
2a9deb231f14494c60d8737ed9f51be2e73b6283cb008d359023d83893aa8f50
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.14

Release history Release notifications | RSS feed

This release

0.0.41 This release

2 release files

0.0.40

2 release files

0.0.39

2 release files

0.0.38

2 release files

0.0.32

2 release files

0.0.30

2 release files

0.0.29

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page