Skip to content

Conversation

@vrabiczan
Copy link

No description provided.

@firefly-cpp
Copy link
Owner

@vrabiczan, Thanks for your pull request. Before we merge, please give more details about what you are proposing and whether you have already validated results with the other state-of-the-art software packages in the current context with arulesViz.

Additionally, please add also a test scenario.

@firefly-cpp firefly-cpp requested a review from zStupan February 2, 2025 21:18
@firefly-cpp firefly-cpp added the enhancement New feature or request label Feb 2, 2025
@vrabiczan
Copy link
Author

Introduces a new function, two_key_plot(), to visualize association rules using a Two-key plot. The function supports both static (Matplotlib) and interactive (Plotly) visualizations, allowing users to explore rules based on two selected metrics (e.g., support and confidence).

Key Features:

  • Supports customizable metric selection for X and Y axes.
  • Uses rule order as a color dimension.
  • Provides an interactive visualization using Plotly for better data exploration.
  • Implements a static Matplotlib version for traditional plotting.

I have compared the visualization results of my implementation with those from arulesViz and validated that the outputs are consistent across both approaches.
Interactive Two-key plot visualization using NiaARM:
interactive_twokey

Interactive Two-key plot visualization using arulesViz:
arulesviz_interactive_twokey

@firefly-cpp
Copy link
Owner

LGTM

@firefly-cpp firefly-cpp merged commit a6e3dfa into firefly-cpp:main Feb 4, 2025
12 checks passed
@vrabiczan vrabiczan deleted the TwoKey_plot branch February 4, 2025 17:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants