SlideShare a Scribd company logo
1 of 21
Download to read offline
Concept learning
Amir Shokri
1399/09/25
Concept learning
FIND-S
Candidate Elimination
Amir Shokri
FIND-S
FIND-S :: Find Maximally Specific Hypothesis
1. Initialize h to the most specific hypothesis in H
2. For each positive training instance x
• For each attribute constraint ai in h
• If the constraint ai in h is satisfied by x
• Then do nothing
• Else replace ai in h by the next more general constraint that is satisfied by x
3. Output hypothesis h
Amir Shokri
FIND-S
Amir Shokri
Example Color Toughness Fungus Appearance Poisonous
1 Green Soft No Wrinkled Yes
2 Green Soft Yes Smooth No
3 Brown Hard No Smooth Yes
4 Green Soft Yes Smooth No
5 Orange Soft Yes Wrinkled Yes
h0 = < ∅ , ∅ , ∅ , ∅ >
h1 = < green, soft, no, wrinkled >
FIND-S
Amir Shokri
Example Color Toughness Fungus Appearance Poisonous
1 Green Soft No Wrinkled Yes
2 Green Soft Yes Smooth No
3 Brown Hard No Smooth Yes
4 Green Soft Yes Smooth No
5 Orange Soft Yes Wrinkled Yes
h2 = < green, soft, no, wrinkled >
h3 = < ?, ?, no, ? >
FIND-S
Amir Shokri
Example Color Toughness Fungus Appearance Poisonous
1 Green Soft No Wrinkled Yes
2 Green Soft Yes Smooth No
3 Brown Hard No Smooth Yes
4 Green Soft Yes Smooth No
5 Orange Soft Yes Wrinkled Yes
h4 = < ?, ?, no, ? >
h5 = < ?, ?, ?, ? >
Candidate Elimination
he key idea in the CANDIDATE-ELIMINAION algorithm, is to output a description of the set of
all hypotheses consistent with the training examples.
Amir Shokri
Candidate Elimination
Amir Shokri
Example Color Toughness Fungus Appearance Poisonous
1 Green Soft No Wrinkled Yes
2 Green Soft Yes Smooth No
3 Brown Hard No Smooth Yes
4 Green Soft Yes Smooth No
5 Orange Soft Yes Wrinkled Yes
S0 = < ∅ , ∅ , ∅ , ∅ >
G0 = < ?, ?, ?, ? >
Candidate Elimination
Amir Shokri
Example Color Toughness Fungus Appearance Poisonous
1 Green Soft No Wrinkled Yes
2 Green Soft Yes Smooth No
3 Brown Hard No Smooth Yes
4 Green Soft Yes Smooth No
5 Orange Soft Yes Wrinkled Yes
S1 = < green, soft, no, wrinkled >
G1 = < ?, ?, ?, ? >
Candidate Elimination
Amir Shokri
Example Color Toughness Fungus Appearance Poisonous
1 Green Soft No Wrinkled Yes
2 Green Soft Yes Smooth No
3 Brown Hard No Smooth Yes
4 Green Soft Yes Smooth No
5 Orange Soft Yes Wrinkled Yes
S2 = < green, soft, no, wrinkled >
G2 = < ?, ?, no, ? > < ?, ?, ?, wrinkled>
Candidate Elimination
Amir Shokri
Example Color Toughness Fungus Appearance Poisonous
1 Green Soft No Wrinkled Yes
2 Green Soft Yes Smooth No
3 Brown Hard No Smooth Yes
4 Green Soft Yes Smooth No
5 Orange Soft Yes Wrinkled Yes
S3 = < ?, ?, no, ? >
G3 = < ?, ?, no, ? >
Candidate Elimination
Amir Shokri
Example Color Toughness Fungus Appearance Poisonous
1 Green Soft No Wrinkled Yes
2 Green Soft Yes Smooth No
3 Brown Hard No Smooth Yes
4 Green Soft Yes Smooth No
5 Orange Soft Yes Wrinkled Yes
S4 = < ?, ?, no, ? >
G4 = < ?, ?, ?, ? >
Candidate Elimination
Amir Shokri
Example Color Toughness Fungus Appearance Poisonous
1 Green Soft No Wrinkled Yes
2 Green Soft Yes Smooth No
3 Brown Hard No Smooth Yes
4 Green Soft Yes Smooth No
5 Orange Soft Yes Wrinkled Yes
S5 = < ?, ?, ?, ? >
G5 = < ?, ?, ?, ? >
Candidate Elimination
Amir Shokri
Example Color Toughness Fungus Appearance Poisonous
1 Green Soft No Wrinkled Yes
2 Green Soft Yes Smooth No
3 Brown Hard No Smooth Yes
4 Green Soft Yes Smooth No
5 Orange Soft Yes Wrinkled Yes
h =< ?, ?, ?, ? >
Candidate Elimination
Amir Shokri
Example Size Color Shape Class/Label
1 big red circle No
2 small red triangle No
3 small red circle Yes
4 big blue circle No
5 small blue circle Yes
S0 = < ∅ , ∅ , ∅ , ∅ >
G0 = < ?, ?, ?, ? >
Candidate Elimination
Amir Shokri
Example Size Color Shape Class/Label
1 big red circle No
2 small red triangle No
3 small red circle Yes
4 big blue circle No
5 small blue circle Yes
S1 = < ∅ , ∅ , ∅ >
G1 = < small, ?, ?> < ?, blue, ? > < ?, ?, triangle >
Candidate Elimination
Amir Shokri
Example Size Color Shape Class/Label
1 big red circle No
2 small red triangle No
3 small red circle Yes
4 big blue circle No
5 small blue circle Yes
S2 = < ∅ , ∅ , ∅ >
G2 = <small, blue, ?> <small, ?, circle> <?, blue, ?>,
<big, ?, triangle><?, blue, triangle>
Candidate Elimination
Amir Shokri
Example Size Color Shape Class/Label
1 big red circle No
2 small red triangle No
3 small red circle Yes
4 big blue circle No
5 small blue circle Yes
S3 = < small, red, circle >
G3 = <small, ?, circle>
Candidate Elimination
Amir Shokri
Example Size Color Shape Class/Label
1 big red circle No
2 small red triangle No
3 small red circle Yes
4 big blue circle No
5 small blue circle Yes
S4 = < small, red, circle >
G4 = <small, ?, circle>
Candidate Elimination
Amir Shokri
Example Size Color Shape Class/Label
1 big red circle No
2 small red triangle No
3 small red circle Yes
4 big blue circle No
5 small blue circle Yes
S5 = <small, ?, circle>
G5 = <small, ?, circle>
References
https://stackoverflow.com/questions/22625765/candidate-elimination-algorithm/22637185
Amir Shokri

More Related Content

What's hot (20)

Finite State Machine by M. Arokiasamy
Finite State Machine by M. ArokiasamyFinite State Machine by M. Arokiasamy
Finite State Machine by M. Arokiasamy
 
Tabu search
Tabu searchTabu search
Tabu search
 
Asymptotic notation
Asymptotic notationAsymptotic notation
Asymptotic notation
 
Classical Sets & fuzzy sets
Classical Sets & fuzzy setsClassical Sets & fuzzy sets
Classical Sets & fuzzy sets
 
ALGORITHMIC STATE MACHINES
ALGORITHMIC STATE MACHINESALGORITHMIC STATE MACHINES
ALGORITHMIC STATE MACHINES
 
Cyber-Physical Systems
Cyber-Physical SystemsCyber-Physical Systems
Cyber-Physical Systems
 
Stack - Data Structure
Stack - Data StructureStack - Data Structure
Stack - Data Structure
 
Defuzzification
DefuzzificationDefuzzification
Defuzzification
 
Digital 4-bit Comprator
Digital 4-bit CompratorDigital 4-bit Comprator
Digital 4-bit Comprator
 
Back propagation
Back propagationBack propagation
Back propagation
 
Insertion Sorting
Insertion SortingInsertion Sorting
Insertion Sorting
 
Merge sort analysis and its real time applications
Merge sort analysis and its real time applicationsMerge sort analysis and its real time applications
Merge sort analysis and its real time applications
 
The future of IoT paper
The future of IoT paperThe future of IoT paper
The future of IoT paper
 
Tower of hanoi
Tower of hanoiTower of hanoi
Tower of hanoi
 
Breadth First Search & Depth First Search
Breadth First Search & Depth First SearchBreadth First Search & Depth First Search
Breadth First Search & Depth First Search
 
Perceptron (neural network)
Perceptron (neural network)Perceptron (neural network)
Perceptron (neural network)
 
Travelling Salesman
Travelling SalesmanTravelling Salesman
Travelling Salesman
 
Sorting Algorithms
Sorting AlgorithmsSorting Algorithms
Sorting Algorithms
 
L3 some other properties
L3 some other propertiesL3 some other properties
L3 some other properties
 
Bucket sort- A Noncomparision Algorithm
Bucket sort- A Noncomparision AlgorithmBucket sort- A Noncomparision Algorithm
Bucket sort- A Noncomparision Algorithm
 

More from Amir Shokri

LAUNCH - growth practices - PRODUCT MANAGER
LAUNCH - growth practices - PRODUCT MANAGERLAUNCH - growth practices - PRODUCT MANAGER
LAUNCH - growth practices - PRODUCT MANAGERAmir Shokri
 
Project Management Growth Practices
Project Management Growth PracticesProject Management Growth Practices
Project Management Growth PracticesAmir Shokri
 
GROWTH PRACTICES - Cracking the PM Career - CHAPTER 7
GROWTH PRACTICES - Cracking the PM Career - CHAPTER 7GROWTH PRACTICES - Cracking the PM Career - CHAPTER 7
GROWTH PRACTICES - Cracking the PM Career - CHAPTER 7Amir Shokri
 
Numbers, math operation, converting bases
Numbers, math operation, converting basesNumbers, math operation, converting bases
Numbers, math operation, converting basesAmir Shokri
 
GROWTH PRACTICES - Cracking the PM Career - CHAPTER 4
GROWTH PRACTICES - Cracking the PM Career - CHAPTER 4GROWTH PRACTICES - Cracking the PM Career - CHAPTER 4
GROWTH PRACTICES - Cracking the PM Career - CHAPTER 4Amir Shokri
 
review of image memorability methods
review of image memorability methodsreview of image memorability methods
review of image memorability methodsAmir Shokri
 
beyesian learning exercises
beyesian learning exercisesbeyesian learning exercises
beyesian learning exercisesAmir Shokri
 
Bayesian learning
Bayesian learningBayesian learning
Bayesian learningAmir Shokri
 
machine learning code
machine learning codemachine learning code
machine learning codeAmir Shokri
 
machine learning - id3, find-s, candidate elimination, desicion tree example
machine learning - id3, find-s, candidate elimination, desicion tree examplemachine learning - id3, find-s, candidate elimination, desicion tree example
machine learning - id3, find-s, candidate elimination, desicion tree exampleAmir Shokri
 
logical operators decision tree
logical operators decision treelogical operators decision tree
logical operators decision treeAmir Shokri
 
Mining social network graphs - persian
Mining social network graphs - persianMining social network graphs - persian
Mining social network graphs - persianAmir Shokri
 
product glossary
product glossaryproduct glossary
product glossaryAmir Shokri
 
Popular Maple codes Book - Persian
Popular Maple codes Book - PersianPopular Maple codes Book - Persian
Popular Maple codes Book - PersianAmir Shokri
 
deepswarm optimising convolutional neural networks using swarm intelligence (...
deepswarm optimising convolutional neural networks using swarm intelligence (...deepswarm optimising convolutional neural networks using swarm intelligence (...
deepswarm optimising convolutional neural networks using swarm intelligence (...Amir Shokri
 

More from Amir Shokri (20)

LAUNCH - growth practices - PRODUCT MANAGER
LAUNCH - growth practices - PRODUCT MANAGERLAUNCH - growth practices - PRODUCT MANAGER
LAUNCH - growth practices - PRODUCT MANAGER
 
Remote work
Remote workRemote work
Remote work
 
Project Management Growth Practices
Project Management Growth PracticesProject Management Growth Practices
Project Management Growth Practices
 
GROWTH PRACTICES - Cracking the PM Career - CHAPTER 7
GROWTH PRACTICES - Cracking the PM Career - CHAPTER 7GROWTH PRACTICES - Cracking the PM Career - CHAPTER 7
GROWTH PRACTICES - Cracking the PM Career - CHAPTER 7
 
Numbers, math operation, converting bases
Numbers, math operation, converting basesNumbers, math operation, converting bases
Numbers, math operation, converting bases
 
GROWTH PRACTICES - Cracking the PM Career - CHAPTER 4
GROWTH PRACTICES - Cracking the PM Career - CHAPTER 4GROWTH PRACTICES - Cracking the PM Career - CHAPTER 4
GROWTH PRACTICES - Cracking the PM Career - CHAPTER 4
 
review of image memorability methods
review of image memorability methodsreview of image memorability methods
review of image memorability methods
 
key.net
key.netkey.net
key.net
 
beyesian learning exercises
beyesian learning exercisesbeyesian learning exercises
beyesian learning exercises
 
Knn
KnnKnn
Knn
 
Bayesian learning
Bayesian learningBayesian learning
Bayesian learning
 
machine learning code
machine learning codemachine learning code
machine learning code
 
machine learning - id3, find-s, candidate elimination, desicion tree example
machine learning - id3, find-s, candidate elimination, desicion tree examplemachine learning - id3, find-s, candidate elimination, desicion tree example
machine learning - id3, find-s, candidate elimination, desicion tree example
 
ID3 Algorithm
ID3 AlgorithmID3 Algorithm
ID3 Algorithm
 
logical operators decision tree
logical operators decision treelogical operators decision tree
logical operators decision tree
 
Matplotlib
MatplotlibMatplotlib
Matplotlib
 
Mining social network graphs - persian
Mining social network graphs - persianMining social network graphs - persian
Mining social network graphs - persian
 
product glossary
product glossaryproduct glossary
product glossary
 
Popular Maple codes Book - Persian
Popular Maple codes Book - PersianPopular Maple codes Book - Persian
Popular Maple codes Book - Persian
 
deepswarm optimising convolutional neural networks using swarm intelligence (...
deepswarm optimising convolutional neural networks using swarm intelligence (...deepswarm optimising convolutional neural networks using swarm intelligence (...
deepswarm optimising convolutional neural networks using swarm intelligence (...
 

Recently uploaded

_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting DataJhengPantaleon
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docxPoojaSen20
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Micromeritics - Fundamental and Derived Properties of Powders
Micromeritics - Fundamental and Derived Properties of PowdersMicromeritics - Fundamental and Derived Properties of Powders
Micromeritics - Fundamental and Derived Properties of PowdersChitralekhaTherkar
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 

Recently uploaded (20)

_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docx
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Micromeritics - Fundamental and Derived Properties of Powders
Micromeritics - Fundamental and Derived Properties of PowdersMicromeritics - Fundamental and Derived Properties of Powders
Micromeritics - Fundamental and Derived Properties of Powders
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
Staff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSDStaff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSD
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 

Concept learning

  • 3. FIND-S FIND-S :: Find Maximally Specific Hypothesis 1. Initialize h to the most specific hypothesis in H 2. For each positive training instance x • For each attribute constraint ai in h • If the constraint ai in h is satisfied by x • Then do nothing • Else replace ai in h by the next more general constraint that is satisfied by x 3. Output hypothesis h Amir Shokri
  • 4. FIND-S Amir Shokri Example Color Toughness Fungus Appearance Poisonous 1 Green Soft No Wrinkled Yes 2 Green Soft Yes Smooth No 3 Brown Hard No Smooth Yes 4 Green Soft Yes Smooth No 5 Orange Soft Yes Wrinkled Yes h0 = < ∅ , ∅ , ∅ , ∅ > h1 = < green, soft, no, wrinkled >
  • 5. FIND-S Amir Shokri Example Color Toughness Fungus Appearance Poisonous 1 Green Soft No Wrinkled Yes 2 Green Soft Yes Smooth No 3 Brown Hard No Smooth Yes 4 Green Soft Yes Smooth No 5 Orange Soft Yes Wrinkled Yes h2 = < green, soft, no, wrinkled > h3 = < ?, ?, no, ? >
  • 6. FIND-S Amir Shokri Example Color Toughness Fungus Appearance Poisonous 1 Green Soft No Wrinkled Yes 2 Green Soft Yes Smooth No 3 Brown Hard No Smooth Yes 4 Green Soft Yes Smooth No 5 Orange Soft Yes Wrinkled Yes h4 = < ?, ?, no, ? > h5 = < ?, ?, ?, ? >
  • 7. Candidate Elimination he key idea in the CANDIDATE-ELIMINAION algorithm, is to output a description of the set of all hypotheses consistent with the training examples. Amir Shokri
  • 8. Candidate Elimination Amir Shokri Example Color Toughness Fungus Appearance Poisonous 1 Green Soft No Wrinkled Yes 2 Green Soft Yes Smooth No 3 Brown Hard No Smooth Yes 4 Green Soft Yes Smooth No 5 Orange Soft Yes Wrinkled Yes S0 = < ∅ , ∅ , ∅ , ∅ > G0 = < ?, ?, ?, ? >
  • 9. Candidate Elimination Amir Shokri Example Color Toughness Fungus Appearance Poisonous 1 Green Soft No Wrinkled Yes 2 Green Soft Yes Smooth No 3 Brown Hard No Smooth Yes 4 Green Soft Yes Smooth No 5 Orange Soft Yes Wrinkled Yes S1 = < green, soft, no, wrinkled > G1 = < ?, ?, ?, ? >
  • 10. Candidate Elimination Amir Shokri Example Color Toughness Fungus Appearance Poisonous 1 Green Soft No Wrinkled Yes 2 Green Soft Yes Smooth No 3 Brown Hard No Smooth Yes 4 Green Soft Yes Smooth No 5 Orange Soft Yes Wrinkled Yes S2 = < green, soft, no, wrinkled > G2 = < ?, ?, no, ? > < ?, ?, ?, wrinkled>
  • 11. Candidate Elimination Amir Shokri Example Color Toughness Fungus Appearance Poisonous 1 Green Soft No Wrinkled Yes 2 Green Soft Yes Smooth No 3 Brown Hard No Smooth Yes 4 Green Soft Yes Smooth No 5 Orange Soft Yes Wrinkled Yes S3 = < ?, ?, no, ? > G3 = < ?, ?, no, ? >
  • 12. Candidate Elimination Amir Shokri Example Color Toughness Fungus Appearance Poisonous 1 Green Soft No Wrinkled Yes 2 Green Soft Yes Smooth No 3 Brown Hard No Smooth Yes 4 Green Soft Yes Smooth No 5 Orange Soft Yes Wrinkled Yes S4 = < ?, ?, no, ? > G4 = < ?, ?, ?, ? >
  • 13. Candidate Elimination Amir Shokri Example Color Toughness Fungus Appearance Poisonous 1 Green Soft No Wrinkled Yes 2 Green Soft Yes Smooth No 3 Brown Hard No Smooth Yes 4 Green Soft Yes Smooth No 5 Orange Soft Yes Wrinkled Yes S5 = < ?, ?, ?, ? > G5 = < ?, ?, ?, ? >
  • 14. Candidate Elimination Amir Shokri Example Color Toughness Fungus Appearance Poisonous 1 Green Soft No Wrinkled Yes 2 Green Soft Yes Smooth No 3 Brown Hard No Smooth Yes 4 Green Soft Yes Smooth No 5 Orange Soft Yes Wrinkled Yes h =< ?, ?, ?, ? >
  • 15. Candidate Elimination Amir Shokri Example Size Color Shape Class/Label 1 big red circle No 2 small red triangle No 3 small red circle Yes 4 big blue circle No 5 small blue circle Yes S0 = < ∅ , ∅ , ∅ , ∅ > G0 = < ?, ?, ?, ? >
  • 16. Candidate Elimination Amir Shokri Example Size Color Shape Class/Label 1 big red circle No 2 small red triangle No 3 small red circle Yes 4 big blue circle No 5 small blue circle Yes S1 = < ∅ , ∅ , ∅ > G1 = < small, ?, ?> < ?, blue, ? > < ?, ?, triangle >
  • 17. Candidate Elimination Amir Shokri Example Size Color Shape Class/Label 1 big red circle No 2 small red triangle No 3 small red circle Yes 4 big blue circle No 5 small blue circle Yes S2 = < ∅ , ∅ , ∅ > G2 = <small, blue, ?> <small, ?, circle> <?, blue, ?>, <big, ?, triangle><?, blue, triangle>
  • 18. Candidate Elimination Amir Shokri Example Size Color Shape Class/Label 1 big red circle No 2 small red triangle No 3 small red circle Yes 4 big blue circle No 5 small blue circle Yes S3 = < small, red, circle > G3 = <small, ?, circle>
  • 19. Candidate Elimination Amir Shokri Example Size Color Shape Class/Label 1 big red circle No 2 small red triangle No 3 small red circle Yes 4 big blue circle No 5 small blue circle Yes S4 = < small, red, circle > G4 = <small, ?, circle>
  • 20. Candidate Elimination Amir Shokri Example Size Color Shape Class/Label 1 big red circle No 2 small red triangle No 3 small red circle Yes 4 big blue circle No 5 small blue circle Yes S5 = <small, ?, circle> G5 = <small, ?, circle>