action-rules: GPU-accelerated Python package for counterfactual explanations and recommendations

The action-rules package provides an efficient method for mining action rules using the Action-Apriori algorithm, a modification of the traditional Apriori algorithm tailored specifically for action rule mining. Designed to generate counterfactual explanations, this Python package enables researcher...

Full description

Saved in:
Bibliographic Details
Main Authors: Lukáš Sýkora, Tomáš Kliegr
Format: Article
Language:English
Published: Elsevier 2025-02-01
Series:SoftwareX
Subjects:
Online Access:http://www.sciencedirect.com/science/article/pii/S2352711024003704
Tags: Add Tag
No Tags, Be the first to tag this record!
Description
Summary:The action-rules package provides an efficient method for mining action rules using the Action-Apriori algorithm, a modification of the traditional Apriori algorithm tailored specifically for action rule mining. Designed to generate counterfactual explanations, this Python package enables researchers and practitioners to discover actionable insights by integrating user-defined parameters directly into the rule generation process, reducing computational overhead. The action-rules package supports optional GPU acceleration to further speed up processing on large datasets. The package provides a user-friendly API, as well as a command-line interface for versatile use. The package supports the customization of stable and flexible attributes, as well as separate minimum support and confidence thresholds for both the desired and undesired components of the rules. Comprehensive documentation, including a Jupyter Notebook example, is provided to facilitate ease of use for both novice and expert users.
ISSN:2352-7110