Qm
Core

Rule Induction and RIPPER

Rule induction builds a classifier as a short list of human-readable if-then rules instead of a tree or equation, and RIPPER is a fast, widely used algorithm for growing and pruning that rule list on noisy data.

A decision tree can be read as a set of if-then rules, one rule per path from root to leaf, but those rules are forced to share structure with each other, since they all branch off the same tree. Rule induction algorithms instead build a classifier directly as an ordered list of independent if-then rules, each one covering whatever data it covers, with no shared tree structure required.

RIPPER grows one rule at a time by greedily adding conditions until it covers only positive examples, removes the examples it just covered, and repeats on what's left, then it prunes and re-optimizes the whole rule set to avoid overfitting to noise.

How RIPPER works

RIPPER (Repeated Incremental Pruning to Produce Error Reduction) builds rules for the minority class first, using a separate-and-conquer strategy: grow a rule that's as accurate as possible on a held-out growing set, prune it back using a different held-out set to guard against overfitting, then remove the examples the rule now correctly covers and start a new rule on what remains. Once every example is covered, it runs a final optimization pass that tries regrowing each rule in the context of the others, since a rule that looked best in isolation isn't always best once the full rule list is considered together.

Worked example

Classifying loan applications as default/no-default, RIPPER might produce a rule list like: "if credit score < 580, predict default," then on the remaining applicants, "if debt-to-income > 45% and score < 650, predict default," and finally a default prediction of "no default" for anyone the earlier rules didn't catch. Each rule is readable on its own by a loan officer, unlike a coefficient in a logistic regression or a path through a deep tree, which is why rule induction remains popular wherever a decision needs to be explained to a regulator or a customer.

Discussion

Sign in to join the discussion · reading is open to everyone

💡 Discussion rules

  1. Ask and answer about this concept. Off-topic gets removed.
  2. No homework dumps. Show what you tried first.
  3. Corrections are welcome. Cite a source when you claim an error.

Loading discussion…

Related concepts

Further reading

  • Cohen (1995), 'Fast Effective Rule Induction'
ShareTwitterLinkedIn