biolab / orange3-associate

🍊 :package: Frequent itemsets and association rules mining for Orange 3.
Other
65 stars 37 forks source link

Association Rules widget: Cannot select Max items=1 and cannot export all rules #35

Closed minhpth closed 3 years ago

minhpth commented 3 years ago

Hi Orange team,

I'm using the Association Rules widget and having 2 following issues:

  1. I want to find a very simple association rule with 1 antecedent and 1 consequent (i.e. rule length=2). However, the widget does not allow me to set the Min and Max items to 1. Instead, I have to set Min items to 1 and Max items to 2, but this setup creates a lot more unnecessary rules for my simple case. image

  2. After running the widget, I want to export and analyze all the association rules. The only way to do it is to export the results as HTML then copy it to Excel. However, the HTML report does not contain all the association rules in it (the "+1279 more" is not clickable). image

Thank you very much and best regards, Minh PHAN

kernc commented 3 years ago

@minhpth The 1-point difference is hard-coded: https://github.com/biolab/orange3-associate/blob/95d0e3222fe9094ae9ff7733891fb6be3581f6e6/orangecontrib/associate/widgets/owassociate.py#L161-L164 https://github.com/biolab/orange3-associate/blob/95d0e3222fe9094ae9ff7733891fb6be3581f6e6/orangecontrib/associate/widgets/owassociate.py#L173-L176 Welcome a PR fix.

markotoplak commented 3 years ago

This issue has been solved by in #36. The suggested features will be available with the new release.

@ajdapretnar, you can probably close this one now. Or are we waiting for the release and we close it then?