Docsity

CS 6604: Data Mining Lecture 13 - θ-subsumption and Inverse Resolution - Prof. Narendran R, Study notes of Computer Science

Toggle sidebar
bg1
CS 6604: Data Mining Fall 2007
Lecture 13 — October 1, 2007
Lecture: Naren Ramakrishnan Scribe: Naveed Massjouni
1 Overview
In the last lecture we discussed inverse resolution and elephants. In this lecture we will discuss θ-subsumption.
We begin by reviewing inverse resolution. Then we will learn about θ-subsumption and its relationship to
inverse resolution. Finally, we will discuss the delicate dance between bias and variance.
2 Inverse Resolution
Recall that resolution is an inference rule. Consider the following:
¬p∨q, ¬q∨r
¬p∨r
Resolution is taking the information in the numerator and concluding the denominator. It goes from more
general to more specific. Inverse resolution goes in the opposite direction, from specific to general. Given
¬p∨rand ¬p∨q, it would find ¬q∨r.
3θ-subsumption
Clause C1θ-subsumes clause C2if there exists a substitution θs.t. C1θ⊆C2.
Example 1:
C1=p(x, y)
C2=p(J ohn, Mary )
θ={x/J ohn, y/Mary}
Example 2:
C1=a(X0, X1), a(X0, X2), a(X0, X3), b(X1, X2), b(X1, X3)
C2=a(Y, Y1), a(Y , Y2), b(Y1, Y2)
θ={X0/Y , X1/Y1, X2/Y2, X3/Y2}
The following holds true if if C1θ-subsumes C2:
•C1|=C2.
•C1is at least as general as C2.
1
pf3

Partial preview of the text

Download CS 6604: Data Mining Lecture 13 - θ-subsumption and Inverse Resolution - Prof. Narendran R and more Study notes Computer Science in PDF only on Docsity!

CS 6604: Data Mining Fall 2007

Lecture 13 — October 1, 2007

Lecture: Naren Ramakrishnan Scribe: Naveed Massjouni

1 Overview

In the last lecture we discussed inverse resolution and elephants. In this lecture we will discuss θ-subsumption. We begin by reviewing inverse resolution. Then we will learn about θ-subsumption and its relationship to inverse resolution. Finally, we will discuss the delicate dance between bias and variance.

2 Inverse Resolution

Recall that resolution is an inference rule. Consider the following:

¬p∨q, ¬q∨r

¬p∨r

Resolution is taking the information in the numerator and concluding the denominator. It goes from more general to more specific. Inverse resolution goes in the opposite direction, from specific to general. Given ¬p ∨ r and ¬p ∨ q, it would find ¬q ∨ r.

3 θ-subsumption

Clause C 1 θ-subsumes clause C 2 if there exists a substitution θ s.t. C 1 θ ⊆ C 2.

Example 1: C 1 = p(x, y) C 2 = p(John, M ary) θ = {x/John, y/M ary}

Example 2: C 1 = a(X 0 , X 1 ), a(X 0 , X 2 ), a(X 0 , X 3 ), b(X 1 , X 2 ), b(X 1 , X 3 ) C 2 = a(Y, Y 1 ), a(Y, Y 2 ), b(Y 1 , Y 2 ) θ = {X 0 /Y, X 1 /Y 1 , X 2 /Y 2 , X 3 /Y 2 }

The following holds true if if C 1 θ-subsumes C 2 :

• C 1 |= C 2.

  • C 1 is at least as general as C 2.

4 Inverse resolution vs θ-subsumption

Inverse Resolution θ-subsumption bottom-up top-down semantic syntactic implies θ-subsumption does NOT imply inverse resolution

5 Entailment and Generality

Like θ-subsumption, the entailment relationship is one way to relate general to specific formulas. Lets consider the entailment relationship: p |= p ∨ q.

There are two models of the left side of the above equation:

p q 1 0 1 1

There are three models of the right side:

p q 0 1 1 0 1 1

Observe that the first set of models is a subset of the second set of models. That is why we say p entails p ∨ q. If models of m 1 are a subset of the models of m 2 , then m 1 entails m 2.

As to which one is more general, we say that p is more general than p∨q because we logically concluded the latter from the former. Deduction proceeds from the general to the specific. Therefore, this is one definition of ”general”: X is more general than Y if X entails Y.

Another way to think about this is to observe that p ∨ q is shorthand for ¬q → p. Now compare:

¬q → p (i.e., p ∨ q) with p

The former says ”you can conclude p if (not q) is true”. The latter says ”you can conclude p”, period. No conditions. Hence it is more general.

6 Bias vs Variance

There is a delicate balance that data miners need to consider with regards to bias and variance.