Docsity

Learning from Document: Expert Systems, Concept Representation, and Generalization - Prof., Study notes of Computer Science

Partial preview of the text

Download Learning from Document: Expert Systems, Concept Representation, and Generalization - Prof. and more Study notes Computer Science in PDF only on Docsity!

CS 681 Fall 2008 Designing Expert SystemsProf. Gheorghe [email protected]://lac.gmu.edu/Learning Agents Centerand Computer Science DepartmentGeorge Mason University

Overview

Concept Representation

Generalization and Specialization Rules^ Partially Learned Knowledge

Readings

Types of Generalizations and Specializations

Exercise

?O1^ instance of

course has as reading

?O

?O2^ instance of

publication has as author

?O

?O3^ instance of

professor

What does the following concept represents?^ Which is an instance?

Exercise

?Oinstance of^1

PhD student

is interested in

?O^2

?Oinstance of^2

PhD research area

Except^ When ?Oinstance of^2

PhD research area

requires^

“programming”

What does the following concept represents?

A^ specialization rule

is a rule that transforms an

A^ generalization rule expression (or concept) into a less general expression.

is a rule that transforms an

Generalization and Specialization Rules expression (or concept) into a more general expression.^ The reverse of any generalization rule is a

specialization rule.

Discussion^ Indicate several generalizations of the following sentence:^ Students who have majored in Computer Science at GeorgeMason University between 2003 and 2004.^ Provide another example of a concept and indicate someof its generalizations.

Generalization (and Specialization) Rules

Climbing the generalization hierarchy Turning constants into variables^ Dropping condition^ Extending intervals Extending ordered sets of intervals^ Using feature definitions^ Using inference rules Turning occurrences of a variable into variables

Extending discrete sets

Turning Constants into Variables^ Generalizes an expression by replacing a constant witha variable.^ ?O

instance of

professor number of publications

?O1^ instance of

professor

generalization^^ number of publications ?N

specialization^ ?N1=> 55

The set of professors with 55 publications. 55 => ?N1 The set of professors with any number of publications.

Climbing the Generalization Hierarchies^ Generalizes an expression by replacing a conceptwith a more general one.^ ?O

instance of

assistant professor has as employer

?O

?O2^ instance of

state university generalization

specialization

assistant professor => professor

The set ofassistantprofessorsemployed by stateuniversities professor => assistant professor

?O1^ instance of

professor has as employer

?O

?O2^ instance of

state university

The set ofprofessorsemployed by stateuniversities professor assistant professor

full professor associate professor

Explanation^ One can also generalize an expression by replacing aconcept from its description with a more general concept,according to some generalization hierarchy.^ The reverse operation, of replacing a concept with a lessgeneral one, leads to the specialization of an expression.^ The agent can also generalize a concept by dropping acondition. That is, by dropping a constraint that its instancesmust satisfy.^ This rule is illustrated in the next slide.

Extending Intervals^ Generalizes an expression by replacing a number with aninterval, or by replacing an interval with a larger interval.

?O1^ instance of

professor number of publications ?N1 ?N1 is-in^ [50 .. 60]

generalization

specialization^ [50 .. 60] => 55

55 => [50 .. 60]^ ?O^

instance of

professor number of publications ?N1 ?N1 is-in^ [25 .. 75]

generalization

specialization^ [25 .. 75] => [50 .. 60]

[50 .. 60] => [25 .. 75]

The set of professorswith 55 publications.

?O1^ instance of

professor number of publications

The set of professorswith 50 to 60publications. The set of professorswith 25 to 75publications.

Explanation^ A concept may also be generalized by replacing a numberwith an interval containing it, or by replacing an interval witha larger interval. The reverse operations specialize theconcept.^ Yet another generalization rule, which is illustrated in thenext slide, is to add alternatives.

Extending Discrete Sets^ Generalizes an expression by replacing a discreteset with a larger set^ ?O

instance 1

of^

flag

has as component color

{white,

red}

generalization

specialization

?Oinstance^1

of^

flag

has as component color

{white,

red,^ blue}

Using Feature Definitions^ Generalizes an expression containing “A feature B” byreplacing A and B with feature’s domain and range,respectively.^ generalization

specialization

?O1^ instance of

professor in expert in

?O

?O2^ instance of

Computer Science ?O1^ instance of

person is expert in

?O

?O2^ instance of

area of expertise

is expert in

person domain range area of expertise