Skip to main content

EazyML Responsible-AI: EazyML Segmentation

Python PyPI package Code Style

EazyML

Overview

eazyml-segmentation is a python utility designed to segment number of zip codes into their Urbanicity as Rural, Urban and Semi-Urban

Installation

To use the Segmentation , ensure you have Python installed on your system.

User installation

The easiest way to install data quality is using pip:

pip install -U eazyml-segmentation

Dependencies

This package requires:

  • pandas
  • numpy
  • cryptography

Usage

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

Imports

from eazyml_segmentation import ez_segmentation

Initialize and Read Data

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

# Define ZIP data (Replace with the correct data path).
zip_data_path = "path_to_your_zip_data.csv"

# Define Thresholds.
thresholds = [1.8,2.2]

Perform Segmentation


# Call the EazyML APIs to perform segmentation 
seg_response = ez_segmentation(zip_data_path, thresholds)

You can find more information in the documentation.

Useful links, other packages from EazyML family

  • 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.

Metadata

Release files for eazyml-segmentation 0.1.2

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-segmentation 0.1.2
File Size Uploaded
eazyml_segmentation-0.1.2.tar.gz 15.8 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for eazyml-segmentation 0.1.2
File Interpreter ABI Platform
eazyml_segmentation-0.1.2-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 32.0 MB

Release files / eazyml_segmentation-0.1.2.tar.gz

Download URL eazyml_segmentation-0.1.2.tar.gz
Size 15.8 MB
Tags Source
SHA-256 checksum
How to use checksums
74997cc1fb5bd4feb05cf6f5f2825cab5c9a6dab5bdf2486f8ef68b3efd0abbf
BLAKE2b-256 checksum
How to use checksums
af7cdaee9e03d4353a46ba3ddcf08b802b60f4a7a78b3614d443fdafe968b4ab
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.9

Release files / eazyml_segmentation-0.1.2-py2.py3-none-any.whl

Download URL eazyml_segmentation-0.1.2-py2.py3-none-any.whl
Size 16.2 MB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
6fc3b00007733fee478e03768e14201b991db99b387a3372ba627d2574bd33e9
BLAKE2b-256 checksum
How to use checksums
f8dbc64ec0a809f0e897c0b5ce7a04fb1b952dc423d3d3078443bef37435d647
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.9

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files

0.0.9

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