Chapter 10: Learning Sets of Rules

FOIL

Algorithm

Generating Candidate Specializations

If the current rule is L1, ... Ln => P(x1, ... xk) then FOIL considers the following

Example

If the predicates are Father(a,b) and Female(c) and we are trying to learn the concept of Daughter(d,e), we start by assuming that everything implies Daughter(d,e). We then add the following preconditions and their negations:

FoilGain

FoilGain(L,R) ≡ t (log2(p1 / (p1 + n1)) - log2(p0 / (p0 + n0))

Induction as Inverted Deduction

The task is to discover a hypothesis h, such that
(∀<xi, f(xi)> ∈ D) (B ∧ h ∧ xi) ⊢ f(xi)
where B is the background knowledge.

There are some practical difficulties:

Inverting Resolution

Propositional Resolution

Propositional Inverse Resolution

First Order Resolution

First Order Inverse Resolution

Exercises

Valid XHTML 1.0!