SlideShare a Scribd company logo
1 of 9
FIND-S
ALGORITHM
WHAT IS FIND-S ALGORITHM IN MACHINE
LEARNING?
• The find-S algorithm is a basic concept learning algorithm in machine
learning. The find-S technique identifies the hypothesis that best
matches all of the positive cases. The find-S algorithm considers only
positive cases.
• When the find-S method fails to categorize observed positive training
data, it starts with the most particular hypothesis and generalizes it.
1.The process starts with initializing ‘h’ with
the most specific hypothesis, generally, it is
the first positive example in the data set.
2.We check for each positive example. If the
example is negative, we will move on to the
next example but if it is a positive example
we will consider it for the next step.
3.We will check if each attribute in the
example is equal to the hypothesis value.
4.If the value matches, then no changes are
made.
5.If the value does not match, the value is
changed to ‘?’.
6.We do this until we reach the last positive
example in the data set.
HOW DOES IT WORK?
1. Initialize h to the most specific hypothesis in H
2. For each positive training instance x
For each attribute constraint a, in h
If the constraint a, is satisfied by x
Then do nothing
Else replace a, in h by the next more general constraint that is
satisfied by x
3. Output hypothesis h
Find-S Algorithm :
Implementation of Find-S Algorithm :
To understand the implementation, let us try to implement it to a
smaller data set with a bunch of examples to decide if a person
wants to go for a walk.
The concept of this particular problem will be on what days does
a person likes to go on a walk.
Looking at the data set, we have six attributes and a final attribute that defines the positive
or negative example. In this case, yes is a positive example, which means the person will go
for a walk.
So now, the general hypothesis is:
h0 = {‘Morning’, ‘Sunny’, ‘Warm’, ‘Yes’, ‘Mild’, ‘Strong’}
This is our general hypothesis, and now we will consider each example one
by one, but only the positive examples.
h1= {‘Morning’, ‘Sunny’, ‘?’, ‘Yes’, ‘?’, ‘?’}
h2 = {‘?’, ‘Sunny’, ‘?’, ‘Yes’, ‘?’, ‘?’}
Limitations of Find-S Algorithm :
There are a few limitations of the Find-S algorithm listed down
below:
1.There is no way to determine if the hypothesis is consistent
throughout the data.
2. Inconsistent training sets can actually mislead the Find-S
algorithm since it ignores the negative examples.
3. The find-S algorithm does not provide a backtracking
technique to determine the best possible changes that could
be done to improve the resulting hypothesis.
References :
1. https://www.edureka.co/blog/find-s-algorithm-in-
machine-learning/
2. https://www.geeksforgeeks.org/ml-find-s-
algorithm/
THANK YOU
!!

More Related Content

Similar to FIND-S ALGORITHM.pptx

MACHINE LEARNING-LEARNING RULE
MACHINE LEARNING-LEARNING RULEMACHINE LEARNING-LEARNING RULE
MACHINE LEARNING-LEARNING RULE
DrBindhuM
 
Hypothesis TestingHypothesisThe formal testing of hypothesis.docx
Hypothesis TestingHypothesisThe formal testing of hypothesis.docxHypothesis TestingHypothesisThe formal testing of hypothesis.docx
Hypothesis TestingHypothesisThe formal testing of hypothesis.docx
adampcarr67227
 
Slides(ppt)
Slides(ppt)Slides(ppt)
Slides(ppt)
butest
 

Similar to FIND-S ALGORITHM.pptx (16)

Heuristic search-in-artificial-intelligence
Heuristic search-in-artificial-intelligenceHeuristic search-in-artificial-intelligence
Heuristic search-in-artificial-intelligence
 
S10
S10S10
S10
 
S10
S10S10
S10
 
Risk Management - CH 7 - Hypothesis Tests and Confidence | CMT Level 3 | Char...
Risk Management - CH 7 - Hypothesis Tests and Confidence | CMT Level 3 | Char...Risk Management - CH 7 - Hypothesis Tests and Confidence | CMT Level 3 | Char...
Risk Management - CH 7 - Hypothesis Tests and Confidence | CMT Level 3 | Char...
 
Hypothesis testing - T Test
Hypothesis testing - T TestHypothesis testing - T Test
Hypothesis testing - T Test
 
MACHINE LEARNING-LEARNING RULE
MACHINE LEARNING-LEARNING RULEMACHINE LEARNING-LEARNING RULE
MACHINE LEARNING-LEARNING RULE
 
Attributes of concept
Attributes of conceptAttributes of concept
Attributes of concept
 
searching
searchingsearching
searching
 
Reasoning in AI.pdf
Reasoning in AI.pdfReasoning in AI.pdf
Reasoning in AI.pdf
 
HYPOTHESES.pptx
HYPOTHESES.pptxHYPOTHESES.pptx
HYPOTHESES.pptx
 
Hypothesis TestingHypothesisThe formal testing of hypothesis.docx
Hypothesis TestingHypothesisThe formal testing of hypothesis.docxHypothesis TestingHypothesisThe formal testing of hypothesis.docx
Hypothesis TestingHypothesisThe formal testing of hypothesis.docx
 
AI IMPORTANT QUESTION
AI IMPORTANT QUESTIONAI IMPORTANT QUESTION
AI IMPORTANT QUESTION
 
Actionable Machine Learning
Actionable Machine LearningActionable Machine Learning
Actionable Machine Learning
 
Slides(ppt)
Slides(ppt)Slides(ppt)
Slides(ppt)
 
Applied statistics part 2
Applied statistics  part 2Applied statistics  part 2
Applied statistics part 2
 
If and then statements
If and then statementsIf and then statements
If and then statements
 

Recently uploaded

XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
ssuser89054b
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Christo Ananth
 
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
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdf
ankushspencer015
 

Recently uploaded (20)

BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptxBSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
 
University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdf
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdf
 
Call for Papers - International Journal of Intelligent Systems and Applicatio...
Call for Papers - International Journal of Intelligent Systems and Applicatio...Call for Papers - International Journal of Intelligent Systems and Applicatio...
Call for Papers - International Journal of Intelligent Systems and Applicatio...
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
 
Roadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and RoutesRoadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and Routes
 
Unit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdfUnit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdf
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
 
Bhosari ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For ...
Bhosari ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For ...Bhosari ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For ...
Bhosari ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For ...
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
 
Vivazz, Mieres Social Housing Design Spain
Vivazz, Mieres Social Housing Design SpainVivazz, Mieres Social Housing Design Spain
Vivazz, Mieres Social Housing Design Spain
 
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
 
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELLPVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghly
 
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
 
Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.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
 
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
 

FIND-S ALGORITHM.pptx

  • 2. WHAT IS FIND-S ALGORITHM IN MACHINE LEARNING? • The find-S algorithm is a basic concept learning algorithm in machine learning. The find-S technique identifies the hypothesis that best matches all of the positive cases. The find-S algorithm considers only positive cases. • When the find-S method fails to categorize observed positive training data, it starts with the most particular hypothesis and generalizes it.
  • 3. 1.The process starts with initializing ‘h’ with the most specific hypothesis, generally, it is the first positive example in the data set. 2.We check for each positive example. If the example is negative, we will move on to the next example but if it is a positive example we will consider it for the next step. 3.We will check if each attribute in the example is equal to the hypothesis value. 4.If the value matches, then no changes are made. 5.If the value does not match, the value is changed to ‘?’. 6.We do this until we reach the last positive example in the data set. HOW DOES IT WORK?
  • 4. 1. Initialize h to the most specific hypothesis in H 2. For each positive training instance x For each attribute constraint a, in h If the constraint a, is satisfied by x Then do nothing Else replace a, in h by the next more general constraint that is satisfied by x 3. Output hypothesis h Find-S Algorithm :
  • 5. Implementation of Find-S Algorithm : To understand the implementation, let us try to implement it to a smaller data set with a bunch of examples to decide if a person wants to go for a walk. The concept of this particular problem will be on what days does a person likes to go on a walk.
  • 6. Looking at the data set, we have six attributes and a final attribute that defines the positive or negative example. In this case, yes is a positive example, which means the person will go for a walk. So now, the general hypothesis is: h0 = {‘Morning’, ‘Sunny’, ‘Warm’, ‘Yes’, ‘Mild’, ‘Strong’} This is our general hypothesis, and now we will consider each example one by one, but only the positive examples. h1= {‘Morning’, ‘Sunny’, ‘?’, ‘Yes’, ‘?’, ‘?’} h2 = {‘?’, ‘Sunny’, ‘?’, ‘Yes’, ‘?’, ‘?’}
  • 7. Limitations of Find-S Algorithm : There are a few limitations of the Find-S algorithm listed down below: 1.There is no way to determine if the hypothesis is consistent throughout the data. 2. Inconsistent training sets can actually mislead the Find-S algorithm since it ignores the negative examples. 3. The find-S algorithm does not provide a backtracking technique to determine the best possible changes that could be done to improve the resulting hypothesis.