Given a list of itemsets, it creates the rules for each one and returns a list of rules containing them.
- Parameters:
itemsets (list) – list of tuple (antecedent, linguistic variable value)
nAnts (int) – number of possible antecedents.
- Returns:
the rules for ech itemset.
- Return type:
list[RuleSimple]