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.54.tar.gz (29.1 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.54-py2.py3-none-any.whl (29.7 MB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: eazyml-insight-0.0.54.tar.gz
  • Upload date:
  • Size: 29.1 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.54.tar.gz
Algorithm Hash digest
SHA256 ce8ee4b8e7b7b44d1ef6010191bc12305087418c1cc4f1091d8f0f80bcae4957
MD5 c456ae5cebe203e2b1342c6937c090b7
BLAKE2b-256 289f26d0a00279e9cf76ce765bf60cea928db8617006245fb1d57c266c6d29c8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eazyml_insight-0.0.54-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 a314169ff94d30a1b4885aef52c652053a35655b3ed6deceed33bc9b0a4e5d65
MD5 d8051640929499a532cd13cb0dbd30f2
BLAKE2b-256 7f17b4bb286f4b5501b123822185cb186fd02926f5d5348879c9b0212ce286cb

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