ex_fuzzy.rule_mining.simple_mine_rulebase#

ex_fuzzy.rule_mining.simple_mine_rulebase(x, fuzzy_type=FUZZY_SETS.t1, support_threshold=0.05, max_depth=3)[source]#

Search the data for associations that are frequent. Computes the fuzzy variables using a 3 label partition (low, medium, high).

Parameters:
  • x (DataFrame) – the data to mine. Dims: samples x features.

  • fuzzy_type (FUZZY_SETS) – fuzzy type to use.

  • support_threshold (float) – minimum threshold to decide if prune or not the rule.

  • max_depth (int) – maximum number of antecedents per rule.

Returns:

a rulebase object with the rules denoted as good.

Return type:

RuleBase