Professional Documents
Culture Documents
ML (Unit-1)
ML (Unit-1)
nggabie
203 a. ¢ xcemmon and retorife the pomie values
W fis Temp Humidity wind walt, —ferecoat
a
Saas See OULD sy 9 = 486
oe
{Dade ™
* General do speriBe owdoring of Mupottenis:
Considur ithe tao Rybothents
Ae = (Sunny 2. 7, Sheng, 2,2)
Ra = CSunny, 2, ene)
=I Fy pothesis tlami fies a utvatonce positive asin athe above tepbotrens
Agwill Uaraity more uinatar
Qn positive
(09 You tom gust a
Hat any A positive By fs win,
“Ar can never be move bran Rij a it lanai fies dew
Hatonces ap paattive thon dhe Ry.
Ddefition:
“Let AZ ond Ry bec
Then 83 B move general
4P and onby Gp
——ol f cto ret of X of. alk diate si
: Pee ae m '
ee) storreap ord fo some gubsek aP x (dhe subset op drctarces
rat ot clanifies positive )
~The onows seonnedtiog Rybothals refrenents athe =mure- - than
Teed, with the arrow Rotating towards he on jou gata Aypotbenis.
NOTES the subset of stivatances Ranocterized by Ry subsumes the subsdt
Ranactenized by Ra. Bence fig ih move “geneva straw, Re.
Fitd= S_ Algoritmns. Fibdipg a moximally aperifirc Rybothesia :-
Steps
1. Gritialize A ty tne most .aperiPic Aypothenis in H.
2% For eoch positive brainieg Saatonce x
Fox cock attributt conctraint a; sv fy
GP whe wonatrairt a ub satisfied ty ©
Then do_ noth
fe mplan ay dn fA ty cthe next move genal conatraint
Satisfied, ay x
5 oa“Pigt uctep of FINO-$ ub to JfiHaline A op othe mext
Shee PreKypothests Ja A:
R-0G% % 0 0 O O)
* Consfden. one Ficgt training exomBte
Xa = ¢ Sunny, wom, Normat, strong, wonrn, Same >. +
We con aledy see Hod Pupbothesis A. uo to aBeeiPic . None ef the ‘D’
conabalits sR AR wu satisfied by this example, s0 ent is replaced.
by othe next mat general eevchrumt that fits the example.
y undeurtording: we tam o£e the atep- 2 of dhe algosittrm aa’
v “e
For eae eveltomp
for cocB abbibits
Apr RypoHicinvalue) > Ygnroe.
a u
Prplaxeeinetiw meet poral MypotRuals,
Shou fre 5
Ra = < sumy, worm, Nonrel, Strong. warm, same y
+ Gngiden sthe next straining exomble,: (24 tromble)
as Sunny, warm, High: . Hhrmg, worm same 7, +
stompo. th with the preaviour fypethuais As. and gowwlizz it Fe
‘ fe : ven anning ¢ ran ple A
A Sunny, worm, high. shrong » cont, rary a
| Siribanly Jt ext Be gpnerabited to Ry
Mas < Sumy, worm. ? Stung cae) output
* Gumanteed Jo owlhur the moat SPeei fic hypothesis esithin H
Trak ub wenalatent With wnt positive training examples.
© dts frat Auypotheois itt olan Be conaiatent with dhe ne
examples provided the ovest target eoncefat uo tentained. fr H
Ord provided Hae trainiey exomblen au. correct:
~ Yrromuen by find 5;-
1 far the Leaner tenverged ote ttn torrent donge concept 2
9% thy prefer the meat apecific Aypotheois 2
5 Fre the boning examples eewaistort 2
4. Whos uP Www au aoverol reantrnaty Apeetfic wenafatent Aypottesis 2“F
NO THE CAN OT DATE
The Key dea din this abgorithrn wb ate oubpub a description of cine set ef
all ypothets Konaistort ajith dhe -trainfay examples
Refrresonteation:
on fb ds eoralatont ith a aah of balnbey examBles D JP and
only af A(x)= £(x) for each exorple (x, e(xy) un D.”
Conststent (4.0) = (4x, (xy > € D) oREX)= CC)
Note difference Bekveen definitions of tonsistert and sadis fies
1 An example x dn waid to sobishy Aypottusis A when (x)= +,
Tegardless cf whdhu. x sh positive or negative exompl: of tu
derget roncept-
Q An exmmble = de sald te be onaistent with Aypotheris fe SEE
Al(x)= C(x).
DePinition s version Bow :-
The version face, denoted Gy USy,> with reapoct do fypothenis apace H
ord tainieg example D, ws the subseh oP Aypothesis from H tonaistentt
With De taining examples tn D.
VSuro = FREH | Comistent (8.0) 5
(
NENA (GroRsT
version sBace dd containOutpud othe Wat of Rypothenis a» veraion abace
Nore:
© rwwion Bare need ts Be FAKE
@ Not feasiBle ; since TH requires exhaustive enumenation (. t. Ihating )
ab Aybothests fn Bote s .
(ey Sart Consider a Rypothettca example tn descriBe Roo Ust = Then adj ovithrm
GapRC chy. ov. 6 Rybothuris given an:-
di, Ae od Aa, fs, He
First we Uns thin;
® @® 6 Checkif 81% C(x) thenremove R, ftom eck elae Reb it
® &) aaa
+
C3)
© QO&Hion Al g jovithm,, '
computes the version sBace centainipg al AyPothesis from H strat
Gre consistent with an observed training examen.
— 3 B considered an extension of” Find - $” agovithmn, astt consider
both positive a» uel ar negosive exom fue «
for positive exomble Jt cootts dike “Find: $" alyortim
while for negative exomBles : f+ i ;
i Fen Es Greif. oc Teetae
Step4. Qnitaline Gi cto the ret of maximally gerrat Pybotbenia dn H-
Snihatize S$ to the rt of madimally sPecifie Rypotresis i H-
StebQ for eo trainieg example d
Hd positive
Ymake spel fie os ines
(ae, f%, 003)
tar (ue d bd re)
Take gonuas do sbeesfic «
Gleb3 Owifuk the Bybothesix Ge 3.
Exomjole Shy Arle Humidity wind wat forecaat sot aiay
ai Sunny Worm Nosrrat Strong Wanm = Same i
2 Sunny Wasim High Bar san te
Wig® Strong worm Rogge = NOre For eoR training exaple d (ae 1.) sam gy
a ‘Aypothes is Genvrad sto sBeeific un cans af ve exomples ond
SPeehfic sty General dn cane of tve exoniple.
(b fonder athe Piast ae etomples x1, be)
Xu Sumy, axmM, Norma), Shreng, whom, some 7, +Vve
Since tt positive in
Grutone make jDetoendadie 5; Algorithm and leare 2
Gas Go {unto OE a :
Sys You might also like