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

Uploaded Python 2Python 3

File details

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

File metadata

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

File hashes

Hashes for eazyml_insight-0.0.61.tar.gz
Algorithm Hash digest
SHA256 c99d5ef0c44c7d81a931d199005f1dfa7ca1ac3c466e901ee4b8b681aae99814
MD5 d0f7017684a02d4ebf4ab2afb46e652e
BLAKE2b-256 4f50842b04a0aca2a7cf785e22f87724ac4ac9af4bc5155c99167a5afe7067cd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eazyml_insight-0.0.61-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 615caa2e9cda428d798d39193800dae9b0c1980178bd3d5b4953881278187e18
MD5 47d2f74ff5e9f04c7384348b945e53fa
BLAKE2b-256 0e2ab971a009a7cd40db35b714941995866a819b85015df66ad62d1daa2785d1

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