LEARNING of Rules 1
LEARNING of Rules 1
SETS OF RULES
• One of the most expressive and human readable
representations for learned hypotheses is sets of if-then
rules. This chapter explores several algorithms for
learning such sets of rules. One important special case
involves learning sets of rules containing variables, called
first-order Horn clauses. Because sets of first-order Horn
clauses can be interpreted as programs in the logic
programming language PROLOG.. Learning them is often
called inductive logic programming (ILP).
INTRODUCTION
• m-estimate of accuracy:It is often preferred when data is scarce and the rule must be
evaluated based on few examples.
Contd..
• Entropy:Entropy measures the uniformity of the target function values for this set of
examples.
LEARNING FIRST-ORDER
RULES
• We consider here learning rules that contain variables-in
particular, learning first-order Horn theories.
• Our motivation for considering such rules is that they are
much more expressive than propositional rules.
• Inductive learning of first-order rules or theories is often
referred to as inductive logic programming
First-Order Horn Clauses
• Consider the task of learning the simple target concept
Daughter (x, y), defined over pairs of people x and y.
• The value of Daughter(x, y) is True when x is the
daughter of y, and False otherwise.
• Each person in the data is described by the attributes
Name, Mother, Father, Male, Female.
• Each training example will consist of the description of
two people in terms of these attributes, along with the
value of the target attribute Daughter.
• The following is a positive example in which Sharon is the
daughter