Professional Documents
Culture Documents
Chapter 7 - Find-S Algorithm, Candidate-Elimination Algorithm, Version Space & Inductive Bias
Chapter 7 - Find-S Algorithm, Candidate-Elimination Algorithm, Version Space & Inductive Bias
Chapter 7 - Find-S Algorithm, Candidate-Elimination Algorithm, Version Space & Inductive Bias
Algorithm
step 1 Initialise with most specific hypothesis O
no O O O O 0 S attributes
Numerical Example
no O O O O 07
h C
Japan Honda Blue 1980 Economy
he h
h a
Japan P Blue Economy
ha hs
hs C
Japan P P P Economy
he C
Japan P D P Economy
h he
2
Enample
no c d d O O O O
he a
Sunny Warm Normal Strong Warm Same 7
Disadvantages of find s
For example
he P N No Many
For ex 2 it is not true and the result is
also not true so it is consistent
with ex 1
for ex 2 it is true and result is also same
So we say that he is consistent
can with
all examples so h is consistent
ha C No
for ex I ha is consistent but the result is
No so we
directly can say that
he is not consistent as first
example itself stands not true
US nib I h E H I Consistent h D 3
H hypothesis
D training examples
List Then Eliminate Algorithm This algorithm is
used to obtain the version space
ng
no
is positive tue
Step 3 If example
if attribute value hypothesis value
do nothing
else
replace attribute value with
basically generalizing it
else
Make generalized hypothesis more specific
Example
Inductive Bias
Based on some previous examples
machine will find a generalized rule and it will
apply this rule to all the new examples
Learner generalizes beyond the observed training
examples to infer new examples