Skip to main content

EazyML provides a suite of APIs for identifying the Urbanicity of zip codes based on population density

Project description

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.

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

eazyml_segmentation-0.1.2.tar.gz (15.8 MB view details)

Uploaded Source

Built Distribution

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

eazyml_segmentation-0.1.2-py2.py3-none-any.whl (16.2 MB view details)

Uploaded Python 2Python 3

File details

Details for the file eazyml_segmentation-0.1.2.tar.gz.

File metadata

  • Download URL: eazyml_segmentation-0.1.2.tar.gz
  • Upload date:
  • Size: 15.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.9

File hashes

Hashes for eazyml_segmentation-0.1.2.tar.gz
Algorithm Hash digest
SHA256 74997cc1fb5bd4feb05cf6f5f2825cab5c9a6dab5bdf2486f8ef68b3efd0abbf
MD5 504eca864e3d5a0e277cbed041c7a2ad
BLAKE2b-256 af7cdaee9e03d4353a46ba3ddcf08b802b60f4a7a78b3614d443fdafe968b4ab

See more details on using hashes here.

File details

Details for the file eazyml_segmentation-0.1.2-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for eazyml_segmentation-0.1.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 6fc3b00007733fee478e03768e14201b991db99b387a3372ba627d2574bd33e9
MD5 c857cd63baa36d6f5a2cd215b5ca3114
BLAKE2b-256 f8dbc64ec0a809f0e897c0b5ce7a04fb1b952dc423d3d3078443bef37435d647

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