- Fuzzy set
- A set with graded membership. A function μ(x) in [0, 1] says how much x belongs: a 46 mm bill can be 0.4 Medium and 0.6 Long at once.
- Linguistic variable
- A measured quantity described by a few fuzzy sets with names (Short, Medium, Long). Rules are written with these names, which is what makes them readable.
- Trapezoidal membership
- μ rises linearly from a to b, is 1 from b to c, and falls to 0 at d. The outer sets are open-ended shoulders.
- t-norm (fuzzy AND)
- Combines degrees of conditions. ex-fuzzy uses the product: 0.8 AND 0.5 = 0.4. The minimum is another common choice.
- Firing strength
- The t-norm of a rule's condition degrees: how true the IF part is for this sample.
- Support and confidence
- Fuzzy versions of the association-rule measures. Support is the rule's average firing over the training data, counting only samples of its class; confidence is the share of the rule's total firing that lands on its class.
- Dominance score
- Support × confidence. It rewards rules that are both general and precise, and weights the rule at prediction time.
- Association degree
- Firing strength × dominance score. The quantity rules compete on.
- Fuzzy OR (max)
- A class's degree is the maximum association among its rules.
- Winning rule
- The rule with the largest association degree. Its class is the prediction and the rule is the explanation.
- Genetic rule search
- ex-fuzzy encodes a whole rule base as a chromosome and evolves a population of them, maximising the macro F1 score minus penalties for missing classes and for long rule bases.
- Interpretability vs accuracy
- Fewer, shorter rules are easier to read and check. The lab above lets you see how much accuracy each rule actually buys.