SlideShare una empresa de Scribd logo
1 de 23
MUSA AL HAWAMDAH / 128129001011
          15-10-2012
Concept Learning as Search:
 Concept learning can be viewed as the task of
 searching through a large space of hypothesis
 implicitly defined by the hypothesis representation.

 The goal of the concept learning search is to find the
 hypothesis that best fits the training examples.
General-to-Specific LearningMost
General-to-Specific Learning:
Example   Sky     AirTemp    Humidity    Wind       Water      Forecast   EnjoySport

   1      Sunny    Warm       Normal     Strong     Warm        Same         Yes

   2      Sunny    Warm        High      Strong     Warm        Same         Yes

   3      Rainy     Cold       High      Strong     Warm       Change        No

   4      Sunny    Warm        High      Strong         Cool   Change        Yes




                            h1=(Sunny,?,?,Strong,?,?)
                              h2=(Sunny,?,?,?,?,?)

  *h2 is more general than h1.
  *h2 imposes fewer constraints on the instance than h1.
FIND-S: Finding a Maximally
Specific Hypothesis:
1-Initialize h to the most specific hypotesis in h
2-for each positive training instance x
             - For each attribute constraint aj in h
                   if the constraint aj is satisfied by x
                   then do nothing
                    else replace aj in h by the next more
  general constraint that is satisfied by x

3- output hypothesis h.
Step 1: FIND-S:
Example      Sky      AirTemp    Humidity     Wind     Water   Forecast   EnjoySport

   1        Sunny      Warm       Normal      Strong   Warm     Same         Yes

   2        Sunny      Warm        High       Strong   Warm     Same         Yes

   3        Rainy       Cold       High       Strong   Warm    Change        No

   4        Sunny      Warm        High       Strong   Cool    Change        Yes




 Initialize h to the most specific hypotesis in h


 h0 = <Ø, Ø, Ø, Ø, Ø, Ø>
Step 2: FIND-S :
 Version Space:
    The set of all valid hypotheses provided by an algorithm is
    called version space (VS)with respect to the hypothesis
    space Hand the given example set D.



 Candidate-Elimination Algorithm:
* The Candidate-Eliminationalgorithm finds all
 describable hypotheses that are consistent with the
 observed training examples.
* Hypothesis is derived from examples regardless of
 whether x is positive or negative example
LIST-THEN-ELIMINATE Algorithm
to Obtain Version Space:
 In principle, the LIST-THEN-ELIMINATE algorithm
 can be applied whenever the hypothesis space H is
 finite.

 It is guaranteed to output all hypotheses consistent
 with the training data.

 Unfortunately, it requires exhaustively enumerating all
 hypotheses in H-an unrealistic requirement for all but
 the most trivial hypothesis spaces.
Candidate-Elimination Algorithm:
•The CANDIDATE-ELIMINATION algorithm works
   on the same principleas the above LIST-THEN-
   ELIMINATE algorithm.
•It employs a much more compact representation of
   the version space.
 •In this the version spaceis represented by its most
   general and least general members (Specific).
 •These members form general and specific
   boundary sets that delimit the version space
   within the partially ordered hypothesis space.
Example :
Example   Sky     AirTemp   Humidity   Wind     Water   Forecast   EnjoySport

   1      Sunny    Warm      Normal    Strong   Warm     Same         Yes

   2      Sunny    Warm       High     Strong   Warm     Same         Yes

   3      Rainy    Cold       High     Strong   Warm    Change        No

   4      Sunny    Warm       High     Strong   Cool    Change        Yes
What will Happen if the Training
Contains errors ?
Example   Sky     AirTemp   Humidity   Wind     Water   Forecast   EnjoySport

   1      Sunny    Warm      Normal    Strong   Warm     Same         Yes

   2      Sunny    Warm       High     Strong   Warm     Same         No

   3      Rainy    Cold       High     Strong   Warm    Change        No

   4      Sunny    Warm       High     Strong   Cool    Change        Yes
Concept learning
Concept learning
Concept learning

Más contenido relacionado

La actualidad más candente

The n Queen Problem
The n Queen ProblemThe n Queen Problem
The n Queen ProblemSukrit Gupta
 
State space search
State space searchState space search
State space searchchauhankapil
 
Production system in ai
Production system in aiProduction system in ai
Production system in aisabin kafle
 
Communication primitives
Communication primitivesCommunication primitives
Communication primitivesStudent
 
Instance Based Learning in Machine Learning
Instance Based Learning in Machine LearningInstance Based Learning in Machine Learning
Instance Based Learning in Machine LearningPavithra Thippanaik
 
Control Strategies in AI
Control Strategies in AIControl Strategies in AI
Control Strategies in AIAmey Kerkar
 
knowledge representation using rules
knowledge representation using rulesknowledge representation using rules
knowledge representation using rulesHarini Balamurugan
 
Conceptual dependency
Conceptual dependencyConceptual dependency
Conceptual dependencyJismy .K.Jose
 
Problem solving agents
Problem solving agentsProblem solving agents
Problem solving agentsMegha Sharma
 
Analytical learning
Analytical learningAnalytical learning
Analytical learningswapnac12
 
Chess board problem(divide and conquer)
Chess board problem(divide and conquer)Chess board problem(divide and conquer)
Chess board problem(divide and conquer)RASHIARORA8
 
CS9222 Advanced Operating System
CS9222 Advanced Operating SystemCS9222 Advanced Operating System
CS9222 Advanced Operating SystemKathirvel Ayyaswamy
 
Instance based learning
Instance based learningInstance based learning
Instance based learningswapnac12
 
Artificial Intelligence Notes Unit 1
Artificial Intelligence Notes Unit 1 Artificial Intelligence Notes Unit 1
Artificial Intelligence Notes Unit 1 DigiGurukul
 

La actualidad más candente (20)

The n Queen Problem
The n Queen ProblemThe n Queen Problem
The n Queen Problem
 
Soft computing
Soft computingSoft computing
Soft computing
 
State space search
State space searchState space search
State space search
 
Production system in ai
Production system in aiProduction system in ai
Production system in ai
 
Communication primitives
Communication primitivesCommunication primitives
Communication primitives
 
Instance Based Learning in Machine Learning
Instance Based Learning in Machine LearningInstance Based Learning in Machine Learning
Instance Based Learning in Machine Learning
 
Control Strategies in AI
Control Strategies in AIControl Strategies in AI
Control Strategies in AI
 
knowledge representation using rules
knowledge representation using rulesknowledge representation using rules
knowledge representation using rules
 
Conceptual dependency
Conceptual dependencyConceptual dependency
Conceptual dependency
 
supervised learning
supervised learningsupervised learning
supervised learning
 
Problem solving agents
Problem solving agentsProblem solving agents
Problem solving agents
 
Analytical learning
Analytical learningAnalytical learning
Analytical learning
 
Chess board problem(divide and conquer)
Chess board problem(divide and conquer)Chess board problem(divide and conquer)
Chess board problem(divide and conquer)
 
CS9222 Advanced Operating System
CS9222 Advanced Operating SystemCS9222 Advanced Operating System
CS9222 Advanced Operating System
 
Instance based learning
Instance based learningInstance based learning
Instance based learning
 
Bayesian learning
Bayesian learningBayesian learning
Bayesian learning
 
Type Checking(Compiler Design) #ShareThisIfYouLike
Type Checking(Compiler Design) #ShareThisIfYouLikeType Checking(Compiler Design) #ShareThisIfYouLike
Type Checking(Compiler Design) #ShareThisIfYouLike
 
Artificial Intelligence Notes Unit 1
Artificial Intelligence Notes Unit 1 Artificial Intelligence Notes Unit 1
Artificial Intelligence Notes Unit 1
 
Multi Head, Multi Tape Turing Machine
Multi Head, Multi Tape Turing MachineMulti Head, Multi Tape Turing Machine
Multi Head, Multi Tape Turing Machine
 
PAC Learning
PAC LearningPAC Learning
PAC Learning
 

Destacado

Laws of learning
Laws of learningLaws of learning
Laws of learningHans Mallen
 
Knowledge Construction Mindtools
Knowledge Construction MindtoolsKnowledge Construction Mindtools
Knowledge Construction Mindtoolstnwest
 
Constructivism : Knowledge Construction/Concept Learning
Constructivism : Knowledge Construction/Concept LearningConstructivism : Knowledge Construction/Concept Learning
Constructivism : Knowledge Construction/Concept LearningAl Francis Galabo
 
Constructivism: Knowledge Construction / Concept Learning
Constructivism: Knowledge Construction / Concept LearningConstructivism: Knowledge Construction / Concept Learning
Constructivism: Knowledge Construction / Concept LearningChoc Nat
 
Principles of learning (6 laws of learning)
Principles of learning (6 laws of learning)Principles of learning (6 laws of learning)
Principles of learning (6 laws of learning)Jen Chua
 
Psychology: Learning
Psychology: LearningPsychology: Learning
Psychology: Learninghm alumia
 
Concept learning presentation: overview
Concept learning presentation: overviewConcept learning presentation: overview
Concept learning presentation: overviewkitkeller
 
Principles of constructivism
Principles of constructivism Principles of constructivism
Principles of constructivism Elleh Rachelle
 
Constructivism ppt
Constructivism pptConstructivism ppt
Constructivism pptamysuesue
 
[Facilitating Learning] Constructivism: Knowledge Construction/Concept Learning
[Facilitating Learning] Constructivism: Knowledge Construction/Concept Learning[Facilitating Learning] Constructivism: Knowledge Construction/Concept Learning
[Facilitating Learning] Constructivism: Knowledge Construction/Concept LearningJhoanna Lyn
 
The PRINCIPLES of LEARNING (Principles of Teaching 1)
The PRINCIPLES of LEARNING (Principles of Teaching 1)The PRINCIPLES of LEARNING (Principles of Teaching 1)
The PRINCIPLES of LEARNING (Principles of Teaching 1)Taguig City University
 
Laws of learning
Laws of learningLaws of learning
Laws of learningchezka8
 

Destacado (16)

Laws of learning
Laws of learningLaws of learning
Laws of learning
 
Knowledge Construction Mindtools
Knowledge Construction MindtoolsKnowledge Construction Mindtools
Knowledge Construction Mindtools
 
Week 4 Concepts of Learning
Week 4 Concepts of LearningWeek 4 Concepts of Learning
Week 4 Concepts of Learning
 
Constructivism : Knowledge Construction/Concept Learning
Constructivism : Knowledge Construction/Concept LearningConstructivism : Knowledge Construction/Concept Learning
Constructivism : Knowledge Construction/Concept Learning
 
Constructivism: Knowledge Construction / Concept Learning
Constructivism: Knowledge Construction / Concept LearningConstructivism: Knowledge Construction / Concept Learning
Constructivism: Knowledge Construction / Concept Learning
 
Principles of learning
Principles of learningPrinciples of learning
Principles of learning
 
Principles of learning (6 laws of learning)
Principles of learning (6 laws of learning)Principles of learning (6 laws of learning)
Principles of learning (6 laws of learning)
 
Psychology: Learning
Psychology: LearningPsychology: Learning
Psychology: Learning
 
Concept learning presentation: overview
Concept learning presentation: overviewConcept learning presentation: overview
Concept learning presentation: overview
 
Principles of constructivism
Principles of constructivism Principles of constructivism
Principles of constructivism
 
Constructivism ppt
Constructivism pptConstructivism ppt
Constructivism ppt
 
[Facilitating Learning] Constructivism: Knowledge Construction/Concept Learning
[Facilitating Learning] Constructivism: Knowledge Construction/Concept Learning[Facilitating Learning] Constructivism: Knowledge Construction/Concept Learning
[Facilitating Learning] Constructivism: Knowledge Construction/Concept Learning
 
7 laws of learning
7 laws of learning7 laws of learning
7 laws of learning
 
The PRINCIPLES of LEARNING (Principles of Teaching 1)
The PRINCIPLES of LEARNING (Principles of Teaching 1)The PRINCIPLES of LEARNING (Principles of Teaching 1)
The PRINCIPLES of LEARNING (Principles of Teaching 1)
 
Laws of learning
Laws of learningLaws of learning
Laws of learning
 
Learning ppt
Learning ppt Learning ppt
Learning ppt
 

Concept learning

  • 1. MUSA AL HAWAMDAH / 128129001011 15-10-2012
  • 2. Concept Learning as Search:  Concept learning can be viewed as the task of searching through a large space of hypothesis implicitly defined by the hypothesis representation.  The goal of the concept learning search is to find the hypothesis that best fits the training examples.
  • 4. General-to-Specific Learning: Example Sky AirTemp Humidity Wind Water Forecast EnjoySport 1 Sunny Warm Normal Strong Warm Same Yes 2 Sunny Warm High Strong Warm Same Yes 3 Rainy Cold High Strong Warm Change No 4 Sunny Warm High Strong Cool Change Yes h1=(Sunny,?,?,Strong,?,?) h2=(Sunny,?,?,?,?,?) *h2 is more general than h1. *h2 imposes fewer constraints on the instance than h1.
  • 5. FIND-S: Finding a Maximally Specific Hypothesis: 1-Initialize h to the most specific hypotesis in h 2-for each positive training instance x - For each attribute constraint aj in h if the constraint aj is satisfied by x then do nothing else replace aj in h by the next more general constraint that is satisfied by x 3- output hypothesis h.
  • 6. Step 1: FIND-S: Example Sky AirTemp Humidity Wind Water Forecast EnjoySport 1 Sunny Warm Normal Strong Warm Same Yes 2 Sunny Warm High Strong Warm Same Yes 3 Rainy Cold High Strong Warm Change No 4 Sunny Warm High Strong Cool Change Yes Initialize h to the most specific hypotesis in h h0 = <Ø, Ø, Ø, Ø, Ø, Ø>
  • 8.
  • 9.
  • 10.  Version Space: The set of all valid hypotheses provided by an algorithm is called version space (VS)with respect to the hypothesis space Hand the given example set D.  Candidate-Elimination Algorithm: * The Candidate-Eliminationalgorithm finds all describable hypotheses that are consistent with the observed training examples. * Hypothesis is derived from examples regardless of whether x is positive or negative example
  • 12.  In principle, the LIST-THEN-ELIMINATE algorithm can be applied whenever the hypothesis space H is finite.  It is guaranteed to output all hypotheses consistent with the training data.  Unfortunately, it requires exhaustively enumerating all hypotheses in H-an unrealistic requirement for all but the most trivial hypothesis spaces.
  • 13. Candidate-Elimination Algorithm: •The CANDIDATE-ELIMINATION algorithm works on the same principleas the above LIST-THEN- ELIMINATE algorithm. •It employs a much more compact representation of the version space. •In this the version spaceis represented by its most general and least general members (Specific). •These members form general and specific boundary sets that delimit the version space within the partially ordered hypothesis space.
  • 14.
  • 15. Example : Example Sky AirTemp Humidity Wind Water Forecast EnjoySport 1 Sunny Warm Normal Strong Warm Same Yes 2 Sunny Warm High Strong Warm Same Yes 3 Rainy Cold High Strong Warm Change No 4 Sunny Warm High Strong Cool Change Yes
  • 16.
  • 17.
  • 18.
  • 19.
  • 20. What will Happen if the Training Contains errors ? Example Sky AirTemp Humidity Wind Water Forecast EnjoySport 1 Sunny Warm Normal Strong Warm Same Yes 2 Sunny Warm High Strong Warm Same No 3 Rainy Cold High Strong Warm Change No 4 Sunny Warm High Strong Cool Change Yes