Docsity

Machine Learning Approaches - Artificial Intelligence - Lecture Slides | CPSC 481, Study notes of Computer Science

Partial preview of the text

Download Machine Learning Approaches - Artificial Intelligence - Lecture Slides | CPSC 481 and more Study notes Computer Science in PDF only on Docsity!

Artificial Intelligence

CPSC 481

Machine Learning

Part A

What is Learning?

 Learning

 Is acquiring new knowledge, skills, values, or understanding  Occurs as part of training or education, personal development, or experience  Learning curve is progress of learning over time (learning performance)

 Think about how you learn

 Some common learning methods

 Memorization, generalization or conceptualization, specialization, pattern recognition, induction/deduction, classification or categorization by patterns or concepts, synthesizing different types of information, reasoning, analogy

Machine Learning Approaches

 Categories of machine learning

 Symbolic learning vs. non-symbolic learning  Supervised learning vs. unsupervised learning  Hybrid learning

 Machine learning methods

 Rote learning (computer can do much better than human)  Generalization and concept learning  Learning by examples, inductive learning, or classification  Learning by discovery, similarity-based learning, or clustering  Explanation-based learning, deductive learning  Learning by analogy or prior knowledge  Learning through adaptation (equilibration with the world), connectionist or neural network, genetic learning

 Learning can be also seen as a search problem

Symbolic Machine Learning

Approaches

 Concepts learning and generalization

 Supervised learning concepts

 Version space learning using candidate elimination algorithm

 Decision tree: ID3 and C4.

Concept Learning through Generalization

 Definition of concept and concept space

 A concept is a cognitive unit of meaning, an abstract idea or a mental symbol, e.g., defined as a " unit of knowledge “ through generalization  If concept p is more general than concept q, we say that p covers q. Or in predicate calculus, p covers q iff q(x) is a logical consequence of p(x)  Concept space is a set of concepts (candidate concepts) that can be created by learning operators (e.g., generalization, specialization, or others)

 From two (positive) ball instances of ball

  1. Size(ball1, small) ^ color(ball1,red) ^ shape(ball1,round)
  2. Size(ball2,large) ^ color(ball2,blue) ^ shape(ball2,round) generalizes to a Ball concept Size(ball,Y) ^ color(ball,Z) ^ shape(ball,round)  A representation of the concept “ball” can be:  Size(ball,Y) ^ color(ball,Z) ^ shape(ball,round)  Any sentence that unifies with this general definition represents a ball

Generalization and Specialization in

a Concept Space

obj(X,Y,Z) may be general enough but too general

obj is too specific to be a concept

Concept Space

Generalization to Cover all Positive

Examples in Winston’s Learning Program

Need a generalization hierarchy of these concepts as background knowledge

Positive examples

Positive and Negative Examples in Learning

the Concept of Arch in Blocks World

Negative examples ( near miss ) To exclude all negative examples

The Role of Negative Examples in

Preventing Overgeneralization

Lessons Learned from Winston’s

Learning Program

 Generalization and specialization operations can be used to

define a concept space.

 Need positive examples to generalize and negative examples

to prevent overgeneralization for training data

 Concept should be general enough to cover all positive examples but should be specific enough to exclude all negative examples.  Avoid overgeneralization by generalizing as little as possible to cover positive examples or use negative examples to eliminate overly general concepts (specialization).

 Problem of Winston’s learning program:

 Sensitivity of the learning algorithm to the quality of the training data  What does it mean by the quality of training data?

Version Space Learning

 Approach used

Version space is the set of all concept descriptions consistent with the training examples.  Inductive learning by generalization using candidate elimination algorithm (Mitchelle, 1978)

 Candidate elimination algorithm

 Generalization and specialization operations are used to define a concept space, starting with maximally general and specific concepts.  A concept, c is maximally general if it covers none of the negative training examples, and for any other concept, c’, that covers no negative training example, c ≥ c’. A concept, c, is maximally specific if it covers all positive examples, none of the negative examples, and for any other concept, c’ that covers the positive examples, c ≤ c’.

A Version Space (Concept Space)

Specific to General Search for

Hypothesis set S Candidate Concept

*Uses positive examples to eliminate overly specialized concepts and Negative examples to prevent overgeneralization by specialization of candidate concepts.

Example of Specific to General Search

to Learn the Concept of “Ball”

20

Training data

Concept learned from the learning process (training) using only S set

Size Color Class Small Red Ball Small White Ball Large Blue Ball