ex_fuzzy.rule_mining.mine_rulebase_support#
- ex_fuzzy.rule_mining.mine_rulebase_support(x, fuzzy_variables, support_threshold=0.05, max_depth=3)[source]#
Search the data for associations that are frequent given a list of fuzzy variables for each antecedent.
- Parameters:
x (DataFrame) – the data to mine. Dims: samples x features.
fuzzy_variables (list[fuzzyVariable]) – list of the fuzzy variables for each of the input variables.
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: