DECISION-LIST-LEARNING

June 28, 2016 · View on GitHub

AIMA3e

function DECISION-LIST-LEARNING(examples) returns a decision list, or failure
if examples is empty then return the trivial decision list No
t ← a test that matches a nonempty subset examplest of examples
   such that the members of examplest are all positive or all negative
if there is no such t then return failure
if the examples in examplest are positive then oYes else oNo
return a decision list with initial test t and outcome o and remaining tests given by
    DECISION-LIST-LEARNING(examplesexamplest)


Figure ?? An algorithm for learning decision lists.