Skip to main content

Association Rules 2 ExampleSet

Synopsis

This operator converts Association Rules to an ExampleSet

Description

The Association Rules to ExampleSet operator converts the association rules model, which are passed to its input port to an ExampleSet.

The number of items for the premise and the conclusion is not stored in the association rule object. In order to get those one needs to add the corresponding frequent item set to the item set input port. If connected the attributes 'Premise Frequency', 'Conclusion Frequency' and 'Premise and Conclusion Frequency' are populated. The Premise Frequency is the number purchases with the all premise items present in the training set. The Conclusion Frequency is the number of purchases with all conlusion items present. Premise and Conclusion Frequency is the number of purchases including all premise and all conclusion items.

Input

rules input

The association rules model.

itemset input

The frequent items. Only needed if you need to get the frequency of your rules.

Output

example set

The association rules model converted to an ExampleSet.

original rules output

The original association rules model passed to the input port.

item set output

The original frequent itemset model passed to the input port.