Re: Rename Premises and Conclusion of Association Rules

[ Edited ]

You have to frist use the Convertors extension where you can export the Association Rules as an example set. Then you could use the Rename operator. That allows you to rename the attribute column names.

Re: Rename Premises and Conclusion of Association Rules

Yes, but you need to download the Converter extension from the Marketplace to do it (it's free). In that extension there is an operator to change the association rules to an ordinary exampleset. Then you can rename the attributes using Rename (or one of the other variants) and do whatever other data ETL you might want.

Re: Rename Premises and Conclusion of Association Rules

Thank you! That worked well for me!

Can i ask you something else. When i use "RENAME", if there is no such attribute name (eg. 32110200) i have an error. Can i skip this? I mean if there is not the specific attribute name to skip this and continue to the next one. until it finds those which exist and replace?

Re: Rename Premises and Conclusion of Association Rules

Hi,

there are at least two ways to solve this.

1. Put the Rename operator into an Exception handler. If the attribute is there, the Rename will be executed. If not, you just return the original example set (connect the ports in the right part of the nested operator).

2. You can also select the renamed attribute with a regular expression instead of "single". If it matches, fine; if not, nothing will happen.