The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here
ASSOCIATION RULES WITH A PARTICULAR STRUCTURE
Legacy User
Member Posts: 0 Newbie
in Help
I'm interesting in extracting association rules with RapidMiner. I would like to extract rules with a precise stucture. I have a database table LOG with some attributes a, b, c, d. I want only rules that have values of a and b in the antecedent and c and d in the consequent.
For instance, I'm interesting in a rule like
a="xxx" -> c="yyy"
but I'm not interested in a rule like
d="zzz" -> b="ppp".
Does anyone know if it is possible to get rule of this kind with RapidMiner?
Thanks.
For instance, I'm interesting in a rule like
a="xxx" -> c="yyy"
but I'm not interested in a rule like
d="zzz" -> b="ppp".
Does anyone know if it is possible to get rule of this kind with RapidMiner?
Thanks.
0
Answers
at least for the conclusions this is (partly) possible. Just have a look into the sample process "02_Learner/12_AssociationRules.xml" delivered together with RapidMiner. In the rule visualization, you can select one or more conclusions and define if they should all (Conjunction Type: AND) or at least one of them (Conjunction Type: OR) should be part of the conclusion.
Together with the sorting of the result table by clicking on the table headers, this should hopefully bring you close to the desired result.
Cheers,
Ingo
Ingo is quite right that you can filter association rules on the fly, and that is handy. What I needed to do was to be able to store them and sift them, meaning that I needed to convert the rules to examples. No surprise that this is quite easy, as long as you are OK with regexes. Here is the code, obviously in crude form, as that is my forte.. Have fun! ;D