SlideShare a Scribd company logo
1 of 25
Download to read offline
Find – S, Consistent Hypothesis
and Version Space
Find-S Algorithm
• The Find-S algorithm finds the maximally specific hypothesis that satisfies a set of
training values.
• To do so it works its way from the most specific hypothesis and gradually becomes
more general.
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 next more general constraint satisfied by x
3. Output hypothesis h
Find-S Algorithm
This algorithm tested only positive example.
The search begins (ho) with the most specific hypothesis in H, then considers increasingly
general hypotheses (hl through h4) as mandated by the training examples.
The search moves from hypothesis to hypothesis, searching from the most specific to
progressively more general hypotheses along one chain of the partial ordering.
At each step, the hypothesis is generalized only as far as necessary to cover the new positive
example. Therefore, at each stage, the hypothesis is the most specific hypothesis consistent with the
training examples observed up to this point.
The key property of the FIND-S algorithm
• FIND-S is guaranteed to output the most specific hypothesis within H
that is consistent with the positive training examples.
• FIND-S algorithm’s final hypothesis will also be consistent with the
negative examples provided the correct target concept is contained in H,
and provided the training examples are correct.
Consistent and Version Space
Consistent
A hypothesis h is consistent with a set of training examples D if and only if h(x)
= c(x) for each example (x, c(x)) in D.
Difference between definitions of consistent and satisfies
• A training example x is said to satisfy hypothesis h when h(x) = 1, regardless of
whether x is a positive or negative example of the target concept.
• An example x is said to consistent with hypothesis h if h(x) = c(x).
• The same set of training examples D are below.
Also we found the hypothesis h = < Sunny, Warm, ?, Strong, ?, ?>. Now for each example (x, c(x)) in
D, we will evaluate h(x) equals c(x).
• (<Sunny, Warm, Normal, Strong, Warm, Same>,<yes>) → h(x)=c(x)
• (<Sunny, Warm, High, Strong, Warm, Same>,<yes>) → h(x)=c(x)
• (<Rainy, Cold, High, Strong, Warm, Change>,<No>) → h(x)=c(x)
• (<Sunny, Warm, High, Strong, Cool, Change>,<yes>) → h(x)=c(x)
Example

More Related Content

Similar to 2.Find_SandCandidateElimination.pdf

Computational Learning Theory
Computational Learning TheoryComputational Learning Theory
Computational Learning Theory
butest
 
concept-learning of artificial intelligence
concept-learning of artificial intelligenceconcept-learning of artificial intelligence
concept-learning of artificial intelligence
ssuser01fa1b
 
Machine Learning
Machine LearningMachine Learning
Machine Learning
butest
 
Machine learning (4)
Machine learning (4)Machine learning (4)
Machine learning (4)
NYversity
 

Similar to 2.Find_SandCandidateElimination.pdf (20)

AI_Lecture_34.ppt
AI_Lecture_34.pptAI_Lecture_34.ppt
AI_Lecture_34.ppt
 
Lecture5 xing
Lecture5 xingLecture5 xing
Lecture5 xing
 
-BayesianLearning in machine Learning 12
-BayesianLearning in machine Learning 12-BayesianLearning in machine Learning 12
-BayesianLearning in machine Learning 12
 
PAC Learning
PAC LearningPAC Learning
PAC Learning
 
Module 4_F.pptx
Module  4_F.pptxModule  4_F.pptx
Module 4_F.pptx
 
Bayes Theorem.pdf
Bayes Theorem.pdfBayes Theorem.pdf
Bayes Theorem.pdf
 
Bayesian Learning by Dr.C.R.Dhivyaa Kongu Engineering College
Bayesian Learning by Dr.C.R.Dhivyaa Kongu Engineering CollegeBayesian Learning by Dr.C.R.Dhivyaa Kongu Engineering College
Bayesian Learning by Dr.C.R.Dhivyaa Kongu Engineering College
 
UNIT II (7).pptx
UNIT II (7).pptxUNIT II (7).pptx
UNIT II (7).pptx
 
Computational Learning Theory
Computational Learning TheoryComputational Learning Theory
Computational Learning Theory
 
concept-learning of artificial intelligence
concept-learning of artificial intelligenceconcept-learning of artificial intelligence
concept-learning of artificial intelligence
 
FIND-S ALGORITHM.pptx
FIND-S ALGORITHM.pptxFIND-S ALGORITHM.pptx
FIND-S ALGORITHM.pptx
 
Machine Learning
Machine LearningMachine Learning
Machine Learning
 
Module 4 part_1
Module 4 part_1Module 4 part_1
Module 4 part_1
 
sigir2017bayesian
sigir2017bayesiansigir2017bayesian
sigir2017bayesian
 
4-ML-UNIT-IV-Bayesian Learning.pptx
4-ML-UNIT-IV-Bayesian Learning.pptx4-ML-UNIT-IV-Bayesian Learning.pptx
4-ML-UNIT-IV-Bayesian Learning.pptx
 
Cs229 notes4
Cs229 notes4Cs229 notes4
Cs229 notes4
 
Machine learning (4)
Machine learning (4)Machine learning (4)
Machine learning (4)
 
artificial intelligence.pptx
artificial intelligence.pptxartificial intelligence.pptx
artificial intelligence.pptx
 
Inductive bias
Inductive biasInductive bias
Inductive bias
 
The axiomatic power of Kolmogorov complexity
The axiomatic power of Kolmogorov complexity The axiomatic power of Kolmogorov complexity
The axiomatic power of Kolmogorov complexity
 

More from Variable14 (8)

16. DLT.pdf
16. DLT.pdf16. DLT.pdf
16. DLT.pdf
 
12. Multi Resolution analysis, Scale invariant futures.pptx
12. Multi Resolution analysis, Scale invariant futures.pptx12. Multi Resolution analysis, Scale invariant futures.pptx
12. Multi Resolution analysis, Scale invariant futures.pptx
 
3.SVM.pdf
3.SVM.pdf3.SVM.pdf
3.SVM.pdf
 
6.Evaluationandmodelselection.pdf
6.Evaluationandmodelselection.pdf6.Evaluationandmodelselection.pdf
6.Evaluationandmodelselection.pdf
 
2.ANN.pptx
2.ANN.pptx2.ANN.pptx
2.ANN.pptx
 
5.levelofAbstraction.pptx
5.levelofAbstraction.pptx5.levelofAbstraction.pptx
5.levelofAbstraction.pptx
 
HR.pptx
HR.pptxHR.pptx
HR.pptx
 
Emotional Intelligence.pptx
Emotional Intelligence.pptxEmotional Intelligence.pptx
Emotional Intelligence.pptx
 

Recently uploaded

"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments""Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
mphochane1998
 
notes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.pptnotes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.ppt
MsecMca
 
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak HamilCara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Kandungan 087776558899
 
DeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakesDeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakes
MayuraD1
 
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
HenryBriggs2
 
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills KuwaitKuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
jaanualu31
 

Recently uploaded (20)

"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments""Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
 
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptxS1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
 
Employee leave management system project.
Employee leave management system project.Employee leave management system project.
Employee leave management system project.
 
notes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.pptnotes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.ppt
 
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced LoadsFEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
 
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak HamilCara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - V
 
Learn the concepts of Thermodynamics on Magic Marks
Learn the concepts of Thermodynamics on Magic MarksLearn the concepts of Thermodynamics on Magic Marks
Learn the concepts of Thermodynamics on Magic Marks
 
DeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakesDeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakes
 
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKARHAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
 
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.ppt
 
Online electricity billing project report..pdf
Online electricity billing project report..pdfOnline electricity billing project report..pdf
Online electricity billing project report..pdf
 
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptxA CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
 
Hostel management system project report..pdf
Hostel management system project report..pdfHostel management system project report..pdf
Hostel management system project report..pdf
 
Unleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapUnleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leap
 
Work-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxWork-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptx
 
Online food ordering system project report.pdf
Online food ordering system project report.pdfOnline food ordering system project report.pdf
Online food ordering system project report.pdf
 
Computer Lecture 01.pptxIntroduction to Computers
Computer Lecture 01.pptxIntroduction to ComputersComputer Lecture 01.pptxIntroduction to Computers
Computer Lecture 01.pptxIntroduction to Computers
 
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills KuwaitKuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
 

2.Find_SandCandidateElimination.pdf

  • 1. Find – S, Consistent Hypothesis and Version Space
  • 2. Find-S Algorithm • The Find-S algorithm finds the maximally specific hypothesis that satisfies a set of training values. • To do so it works its way from the most specific hypothesis and gradually becomes more general. 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 next more general constraint satisfied by x 3. Output hypothesis h
  • 3. Find-S Algorithm This algorithm tested only positive example.
  • 4.
  • 5.
  • 6.
  • 7.
  • 8.
  • 9.
  • 10.
  • 11.
  • 12.
  • 13.
  • 14. The search begins (ho) with the most specific hypothesis in H, then considers increasingly general hypotheses (hl through h4) as mandated by the training examples. The search moves from hypothesis to hypothesis, searching from the most specific to progressively more general hypotheses along one chain of the partial ordering. At each step, the hypothesis is generalized only as far as necessary to cover the new positive example. Therefore, at each stage, the hypothesis is the most specific hypothesis consistent with the training examples observed up to this point.
  • 15. The key property of the FIND-S algorithm • FIND-S is guaranteed to output the most specific hypothesis within H that is consistent with the positive training examples. • FIND-S algorithm’s final hypothesis will also be consistent with the negative examples provided the correct target concept is contained in H, and provided the training examples are correct.
  • 16. Consistent and Version Space Consistent A hypothesis h is consistent with a set of training examples D if and only if h(x) = c(x) for each example (x, c(x)) in D. Difference between definitions of consistent and satisfies • A training example x is said to satisfy hypothesis h when h(x) = 1, regardless of whether x is a positive or negative example of the target concept. • An example x is said to consistent with hypothesis h if h(x) = c(x).
  • 17.
  • 18. • The same set of training examples D are below. Also we found the hypothesis h = < Sunny, Warm, ?, Strong, ?, ?>. Now for each example (x, c(x)) in D, we will evaluate h(x) equals c(x). • (<Sunny, Warm, Normal, Strong, Warm, Same>,<yes>) → h(x)=c(x) • (<Sunny, Warm, High, Strong, Warm, Same>,<yes>) → h(x)=c(x) • (<Rainy, Cold, High, Strong, Warm, Change>,<No>) → h(x)=c(x) • (<Sunny, Warm, High, Strong, Cool, Change>,<yes>) → h(x)=c(x)
  • 19.
  • 20.
  • 21.
  • 22.
  • 23.
  • 24.