This operator uses a list of tuples and creates rules like "x => y".

A rule is a special datatype called "AssociationRule", which is principally a tuple of two patterns (one for the premise and one for the consequnce of the rule)

Parameter

Example

This example generates only rule with a confidence of 60% or more

rule = GENERATERULES({
            itemset='set',
            confidence=0.6,
            support='support'
          },
          fpm)