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 API 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.53.tar.gz (17.9 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.53-py2.py3-none-any.whl (18.3 MB view details)

Uploaded Python 2Python 3

File details

Details for the file eazyml-insight-0.0.53.tar.gz.

File metadata

  • Download URL: eazyml-insight-0.0.53.tar.gz
  • Upload date:
  • Size: 17.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.12

File hashes

Hashes for eazyml-insight-0.0.53.tar.gz
Algorithm Hash digest
SHA256 578e12db209886e0af6bc9c76ce3590ec3e289df990d7bf2b5b552174e0aff5d
MD5 f97c5be9fcccf2a7e291e48412afc6e7
BLAKE2b-256 df95260ce07c690aae25224f5d0c19175621ed250046261a60c234ff75050d76

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eazyml_insight-0.0.53-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 d4874f2764b6a5853b883516d55ab5767a5f81e82fc588e0110d090cb327448b
MD5 8c8fca57df39e42584d7661d5bd9bf64
BLAKE2b-256 cc2e372dd31d579aeb210948e6f9b208f45d29da7e4c71099df33c479cca86f6

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