Machine Learning Notes
Machine Learning Notes
Date
Name of the Experiment Page No.
taiss a
Ly4o ML, nguad g nasing enplaat uls, a fagom.palleins. Nane of the Experiment Page No.
chndak
PageNo. Date
Experiment No.
Date
5 4 5
1
3 "3 4
1 3
4 2 3 4 5.6
Befa KINN
K3
Now Calalit Man hatlan ds bfw fhe daa þotn. by Calulatny þait alau way to detunine thi but value to
k.So we mud to hy Sore Values t fnd the best nt
nugibors, th. The oost ukd value foy K o 5.
above ena ple ,53,q ae meut
ie do5) =!5-4) tl6-5) =1t2
dto,a) =15-6|+{6-t}= I42:3 *
d(0a) (15]+|6-51 =241=3
dlo.6) =|G-s|+6-31 3+3-4
dqo, 7)= | 1-51+l6-3] :2t3:5
d(o.4) =(5-3|+ I6-2) = at4%
dco 3) = |5-2)+ (2| =
3t4=1
|Adonlags
d[o.a) (5-2] 4l6-| 3+5:8
dío,1) (51| t 61| 445A
S.
Sume-timu
be q alulating dost blw data
chanslas
Experiment No.
K-Man chusing alaith Narne of the Experiment Dae
okau it a thu pao Ws , aaching a onien to se uolabelec Page N
-chandats
PageNo. Date
Experiment No.
Date
Narne of the Experiment
Now vpdae the ctioids Page No.
(9,3)
fy ai (3.2).(G.3),
=(3+6+), (a1343) =(16 ,8)
xecogorhoo hawrog a elaghant
adlual
fo Ca (43), (64), .5) elophoals Not-cdeghanta
: (4+6+, 5t4+5): (4.4) cleghat Faige postBve (eP)
9:6,4.0) (6.5) 6
5951
T TN+FP4 FN o+Is+lot5
daplan dephans |3. Real muaaAA thu fktieneh qaclavskte nadd in daskhy
&o os 'o as not dphons
-chandras
coogk,hy
how a 4.
uu, kiroilaut
distanceortinardical
"4 cuatwng
dstone 34 4 dindghen,duiling. F+-Stauc.
and. dindaagaro, Reall
thiu pordalmel 'duis TP+FN
1 .ar2
ae ohili' Ad
-hapd Ja-dkh a ae all ti
3
h 0.404 : watualk
haaichacal eose Precikon +10
langst
kuuae figue to =
eah
90/. the
0-0.5.
ottvarhical
anothee
luewny dulu, 0.295
puduad.
"rulatienshize' Oueall
i nto othe o.433
knoun
ornalyeia a shich buyd uformane
dusl
as Tncude by
and bjw
hiuanbicab n
dudogan. also
measue qa
all dalthae
dasik(alin
tf
Experiment
Name No.
of
Ap the
akproah.
dauntig- sank Experiment
3: as
Agato,
chalungd we nsth
follourn
cuitis haue
take taking
oth Ken
h io all
Thiu data
tuvo h
alqusthn,K-muans
cleseT poi
clusb we ahahcluaing as
doo't ioge
and clusls. a
meed dutor
meuge
athat
dat to
pucdatimd
Ihem have and
e
ae
d4,2) a3) 15 5 4
a(s.4) ds,3)di5s) d(4)
de6.s)s 4 4
= d(4.9e): :da(a)
d4»(42) dy4) dca.a)25)
d(a
(2,5) (2,)
: 14-2)+
= 1.
4-2)
ds:d(1):1\44)+J4-2)+|3-2| |4-24+ 2-a)+
d.):4
d(15) G 4312 343
6 5|4
+j3-5) |2-5): |2-2) |5-)=
3 3 2
|3-2):
= = 43 3
43 3 44)]
2+1=3
2+ 2+35 2+t0 04424 4
0+) 22t 5
=2 w Oo
Experimernt
Name No.
of
the
dea)) (G) (4.5) Now Experiment
Now
cL)ds,:3 3 (3)5,4),
4
E o
4 uss
ds kuyAKS), 3 (5,(45)1) 3
6, (a) KRo)o 4
a
5, (.6)
dis) thue
1, da2)3,3,
6
: porns
5,4
wl
2,4 be
,34z
dasla),dasa)
|2-2)+|541,|a-alt5 : cudaud
PageNo. Date
cat Taathe
3
(1a4.5) So Now
Du bald So
(iG1). d Bo(G)| (45),
a Cl245) 3 hu
(G).
.j5ol)).n.
these (0:2,43)) de3,
3X3 cusds (1a))
:6, 3
clustud a C)2,45)) 3
is ralin
5,3,,de14), = ae wi
mìn d(5)
d(e,),d(c»,
3 fm be
Value. 1, cluslud
6,
4,3 these
()a,4,5))
> de3,
dso,
aCo.4), 4, cian. and
3,
dca,o) dr),
5, (lo1),
4
doo d(o.), (4.5))
do, des,5) ià
Experiment
Name No.
of
pasblero, Ahal Snaly the
Thiu ntünal
atitubua Experiment
ditnied
is
a ,
Nodus eachCoromenyud 3
b by ol
anchs
the (De thanch ao
Walues cO
on be
eso
Comesponds in
Node); duned
nods at a.
datnputmachine
tulau \ods
hal
to
io alabulz lanng th
libata.
the Ca,45
he
shoR yau to PageNo,Date
,61)
mgde
chots omd
ae cach ond
No. Page
Dale
Tdrs
Gini a. ala
shadd
saathing
e-l0.35(-1.415)
(0.53-0.44)
z0.954 z- b
spit
at
a
dectAso
Valus
o.625 +
(-o.61)) hushold.
agant aode
,inutasus
a3 a
nstaey
Experiment
Name No.
of
the
aduonkyu, Experiment
ONeOCast
veCast Gutlook
ONeN
Cast
RainyKainyRacnyKainyRaing
Suny SunnySunnySunnySunny
:
uy
hot hot mld tot tHotCool
to
wdustond
Noat
Noimal NOnalmalNo Namal nald
daa, io
0ithoul ond
falye falae alye tale talgetale triluipl,
No NO No NO ions
Play rañing PageNoDate
andas
hn
Experiment No.
Name of the Experiment
0945
mianz o.345+0.5+0445 o, 4348
3
3. fo tursdity?
(- (-) 049
2
Noimat
-chandhas
3.
empunatu
Q.5+0.+
mUas:
045
(o.45,
Nornal Sumy
0a :
*Fra
(Outlovk OA12,0)
f
Cool:
0 o.5
(Wmd)
Palse
Experiment
Name No.
of
the
Uaha Usha A2ad A2ad Azad Aha Aha Experiment
Vsha
0.540.a2
0.38S
mean
fox Bad
05
Govd. Bad God Bad Bad Goad Bad Gosd Bad
Usha
t0
t
05 i Coninenta
Coatnantal
o.5 Coileital
atarental Corntal
ernenalSodianSndian Couiine
Grdian ndian SndianSndian
:03333
No No NNo
PageNo. Date
das
Bad mn
bothjo Kudm
that fartmand t (0.333,
dalast. Gord Aha
ast- 0.371?
no.
aitn
t Azad
,0,385):
enhanumn
decnm dla 2. usha
(aworaginyvotg lontinntab 0.333
dala n gndian
deivo aiiny disvO
Jheu.
and
Name
Experiment
of
a: 1: the
5. 4. Experiment No.
1) (Bagging
Bagrng : each Rpta Build 8leet
Asqlacemuit Selcion r
model Nandlhorn
wAip
dala 4 decihOO
`Boüt is 4
Bubo: ako thn K
shapng 2
rnts data
known Jhees
ualid
choring fnd aMoaald borr
as
Aagugaliom +
om
a he om
Nardm thege
wtn
ud: h
KamplbA tiaining
the
gampde ons
selecd
q At
fim lacs
nar
daba
enu deuso
pina
dalaat
LBotAaPdalmdpundoi
a ed l
depindenaiabe yes NO
han No st
O.35 paro
0,8) NO vañables yes CnculNoatDO angto d
blrd
0.3. No BAlabel)
Cheatpin yavabey NO NO chst -
Bloked
220 huat pain,
- 15
NO i:e 63 (poandi)wkight
descae G8c,
chest Blockud
NO NO NO diestase hcat
NO
pan, NOyes
cÑies,
eint
weign
Experi
NamementNo.
Q. of
NO NO the
again mio Experiment
The
buld n (05,
odom O, Pick
anoths 0.5) 0.
Nauiahlu 20. a hastpan 5)
vandoss o.5. 7
dcas
Chesrpa
be- NO
Vanau
Je
Blkel
No
:
anlerA Blakd
, autues,
Chut PageNo. Date
Pik *
Chut
a o
pai)
Naiabes
z0.meQanS :
z140 nii
- No 0.5
qBO,
(BA
chur
4 pasn.
Experiment
Narme No.
of
other. chest
parn
exi the
vottihno Experimcnt
h Lhyo heou majasty horo Matimum
PCtI8)
pabaty hue
shae puediclo gn
qivong
a No duwan
P(BI6)-P4) g Cornmon The
P(6) ishuait all as
anothee
heidit ucane ne NoNOCaret
paotpl e
eueil it
No
Ruciciorg, fuat
that sas pudia ht
weiqPedistien
heat disease
has
majaty as
Nanebauy
aeady dsCase 0e as
STBuy) No No
frn
data huue
oceuud. valung huai
huat 1
chandas to
disase
ketihgod ake dieasddeRn
ue.
cast
GesSuDy4
fotal Raing he
Gvast
JuewastRainySunny RainyGuwastSuy SuaySuonnyGvcastRainy
tota datost Sumy Raroy
Sullok
6 3 is
divIdud Tmald Cool Cool ttot Hot tot
45
nild hot
ito Normal
NormaL Normal NormalNomal
to Normal Nomal hrgb
paitt
tot n
total Cool datasc
above False FlleFake FalkeFalse False Falxe
TrueFalse True Tiue
Falhe True fae
otal 4
NO Yes yes ye No yes yes NoNo
Omd Tuinperale maix
p(no)
PV) No
oke
P(Y)
Pln)No 3f4 play otlovk, a
suponse
golf
emp
veeto
e
Experiment
Name No.
of
|PY)ocay) the
(Nolfoday)=p(Sumy B alyo total Experiment
Paol
tvday)
1.451 P(yes ltoday)
Cho P today ,oe
4 S
eP
bo e ed
day)= Sum,
1.457fs3n P( Tomp=
Sunny fnd 5|4
G, tot Cool
C2H INo):P
53+1.957
hu)-Norma! clas
2531 P(oday) (Poday)
hot Pl
ht Probab:qkeg
33344.y
(No)-P(Noal
: |ye) Falke)
42+Q3
y.438 4 PÔNounal
0.4359 = 05634531 = P)
+34+34481
[No-
ve) hich Page
No. Date
P(rke P(Fdse
fas
3)9 INo). (ye) bes
0021
PiNb) PH)
- PH)'buy): P(SI io
Szar
P(9*P(by1S).- Total
matj0k0
45
9(S): Spam
buy has) i
10har ')
4
g0 ham
4 PCH)*P() P(S)
PS)+P(Buy maui maik mak.
P(dis *P(PH:3:3,
js) P(buy|)+p(s)*PCbuy buy Contins Dt
ontains
Is)+
ls) Is) UDYd sahich
P W0Nd
(H).P[buy P( buy
*P(bg /s+'ho buy bwy', 5
au
Is)
B/25 is) -
H) spam
54 20, maik
buylt)=5 amd
75
Experiment
Name No.
of
hat kooon as
is aatle
amd
alqoarths RyuxON
inar 4Experimentthe
The MgeKioa
NYD fu0 he
Rugokeoi ypes
What Th tdpendant
sope Cas
Ihe blw qoal the
is
uedact
but the to Bust hát ran 9t Naie
line , thu mi n01eone oYam
Ktpudioted locoe he it the alotlivaiale inpt paedict
andicau tne lme?-(u pulu vad, Multinomial4) baya
vales
equtev thm locaton,aua
the iable. the
kow and
but-t na
kased 3 indepardent
kalmuy. lnea loitinuous
uch aual segteMiom.
to
uavdo ke,Ratmuy fnd kke
fhe m eiatienaHip
valeg mdependent the ie th
depandt inpiUS
akachdoectve
hat itpit
ahaght a shauld bst Rredicion
blw vaableg
Vaasle vaiabes Rt a
be hile Cine
ae kept dupendent
eats changes that usng (quation falue,it distanc house 4bad
.
o Th
a om
a
y
L tow
sSR M$E
4-4)
(mun)MSE (Su fundinGost(T) fu Radom
updalz
MSEeruon) squaued (an sbRo
valuvede
i e Raudiced 4:*
Calatid and
Aidus)
e
as Nalues slofanepe
;
to
qt
the
bet-ft
tblhwe
le?
Experiment
Name No.
of
2 1 the
1.modal Experiment
Ruded measveu"3tthe K- Pnlomage
Model Gradiunt
Dscui:
ndupadantyatablen 8quald. R1
s 5 2
(alld nn
Nalue nttod
aleo
tal 2 2 the
a ortmizzion. : 5
atual ~bengtb gt fted
mm a
a a qadant
valus aale atatstcal ine
elalionshp tt dusat lats is
a can
bac o0 bet
-i01 muthod be to 22444-8z0and ardom
spUsÃL bho ahved updatt ne
ire
deandait hat
dluneg by -the be PageNo. Date
Experiment
Name No.
of
the
uw
Experiment
inteapt:
420,
tnacpt
23
0.926
-.I +o.*
I.4)
-3.|23
epoch3:ht
chun
churye
*a Bepoch3:
for SSK
epoAa A0.42 SR:
iotial
1.51|.8i+lo91lutI6ij4si36o1 SSR=
0.4+lo.si+4.44
2a'thslq.46SR
|4SSR=13-14/24s113|
12-16/4B-.5f+|s-S|14.'35 | then ’’n Change
24A>1935 P35<3.01 New change t
4.46< for o.at mu, megit the eah re inanotheu
anotus SSR- err )C3 -0.)2+o.jX3X 1. y
|?.35,
51495+h14r34156A SA.A5 that ituabon isandorn
random , SD (Grnud y-0.411%+2.3 4=-0.12(3)+.13
So
So an
ondoo Coide -. dorn have oint
Coomideu
point, to
36.01<59.5.So pornt fo be
pont this priiou
this fd
y0.4112+a.3 .
6 and ot
vandorn oilI andoro ie.
ibraon go
Se omsden for (3,3)
posnt disauded.q0.18 pont
aso.
anothu
this me
point. poim
Experiment
Name No,
of
disuot
nale. Value Hhát REGRESSION
LoqisTic the
loqske Vaiabe. Experiment
R 446SSß
bu
akes MSE
untion, iopt R'4-06
-(1-14) MSE
lhiehe, o for
and (mon)-
as MSEomuan
4.466 ttd
toheh 1.
iodupendeit 0+0+0t1+1+4f6/%= :1
thu MSECAtd - ine
pdael |.546
oilme
nbäaba (u)
tu0 I.6
mazimun ust
b ond
a puoduss
Valuws caotal
PageNo. ate
(o a
or Rasbahlity
1)
bko iomables dependuñt Rapoalality shich
Vaialbles (ontuou Vauiables. 0e vaue
diçandst PO)J e
fnd se tnds" comot
vaiable
atroaiow
method the qo
the
and Siqmod
b ei
1,the byond
wing pisbasity
alaiondnp,
indeputn a
&o
uocon a or tha
4 0.5 blw ale i. limt
deperdeit heeo Such
and below ,So
ndeptndent
aabul. as it
aclalimahip. nanabe 1.the thesholcValues
Lo.> o.4 i.input
e
font
pacicted aooe a
oi cswe
sing ll ende the
a be
grven z thaehold
o ike
and 0.
3
fom.