Skip to main content

eazyml-insight from EazyML family to discover patterns, generate insights, or mine rules from your datasets.

Project description

EazyML Responsible-AI: Augmented Intelligence

Python PyPI package Code Style

EazyML

A collection of APIs from EazyML family to discover patterns, generate insights, or mine rules from your datasets. Each discovered pattern is expressed as a set of conditions on feature variables - each with a trust-score to reflect confidence in the insight, allowing you to analyze and apply these insights to your data. Ideal for pattern recognition, interpretable AI, and augmented intelligence workflows.

Features

  • Pattern Mining: Discover meaningful rules from the datasets.
  • Insight Generation: Generate high-value insights with associated trust scores.
  • Application of Rules: Apply discovered patterns to datasets for further analysis.

Ideal for use cases like interpretability, training data analysis, and building solutions with augmented intelligence.

Installation

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

User installation

The easiest way to install this package for augmented intelligence is using pip:

pip install -U eazyml-insight

Dependencies

This package requires:

  • werkzeug
  • unidecode
  • pandas
  • scikit-learn
  • nltk
  • pyyaml
  • requests

Usage

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

Imports

from eazyml_insight import ez_init, ez_insight, ez_validate

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"

Fetch Insights

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

# Customize options for fetching insights
insight_options = {"data_source": "parquet"}

# Call the EazyML APIs to fetch the insights
insight_response = ez_insight(train_data_path, outcome, options=insight_options)

# insight_response is a dictionary object with following keys.
# print(insight_response.keys())
# dict_keys(['success', 'message', 'insights'])

# the insight_response object contains insights/patterns that you can explore to integrate in your augmented intelligence workflows.

Use Insights to Validate

# Define test data.
test_data_path = "path_to_your_test_data.csv"

# Define the insights (response from ez_insight)
insights = insight_response['insights']

# Choose the record_number for validation. The default value is 1 if no value is provided.
validate_options = {"record_number": [1, 2, 3]}

# Call the EazyML function to validate
validate_response = ez_validate(train_data_path, outcome, insights, test_data_path, options=validate_options)

# validate response is a dictionary object with following keys.
# print(validate_response.keys())
# dict_keys(['success', 'message', 'validations', 'validation_filter'])

# the validate_response object contains validation metrics on the insights provided by ez_insight, along with the filtered data from the test data for the given record number in the insights.

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_insight-0.0.60.tar.gz (18.2 MB view details)

Uploaded Source

Built Distribution

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

eazyml_insight-0.0.60-py2.py3-none-any.whl (18.6 MB view details)

Uploaded Python 2Python 3

File details

Details for the file eazyml_insight-0.0.60.tar.gz.

File metadata

  • Download URL: eazyml_insight-0.0.60.tar.gz
  • Upload date:
  • Size: 18.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.16

File hashes

Hashes for eazyml_insight-0.0.60.tar.gz
Algorithm Hash digest
SHA256 db4260a2a7b9f977cae5a2f385634060acaa093726b72f2ccad6027947591523
MD5 39995e3c7751eb9495d9b3b7f880ce52
BLAKE2b-256 1d065f38433e815ee5cfb47a6ceae212af2f5283deeeed8783a6c9371b02a255

See more details on using hashes here.

File details

Details for the file eazyml_insight-0.0.60-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for eazyml_insight-0.0.60-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 8f9acca50d87e866c33d4b32da807ab6d2603e5b4fcaa19f1ee21255a3547ba5
MD5 19a6b78d5c542509a97a552a2f64d9f1
BLAKE2b-256 cf20ffcec2b5679839d2e178b28a5f07988273e5d11b2ae5ed388df99903060f

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