Professional Documents
Culture Documents
Pattern Unit 3
Pattern Unit 3
1eqning,
Sopevvi sed learning: pavametvie and on-paratnetvic
pavame triC leavning : Bayesiao Decision Theor y- Sinqle
nig:
Feature ( ), Moltiple feotuves. Nonparametric eay
1list ogYom Estitatoy aod payz en Windows, k-Nea Irest
tlistogram
AeighboUr ( K-NN) Ctassifiation, Ay tificial NeoYal Aletwors,
kernel machines
Unit-y
pxluD.
ik elino od ratio: Pllw,)
Ly The yatio of Closs conditional den sity fonctions
Multipie featUres
Cannot achieve eror-free clas ificati on
>7 AS Singlefeatve
. the we Con Sider anDtheY
there on ovevlap Cf pdf's
feature that Should be UNCOTY ela ted.
ev- Es h with wid th as well
l as their tightbesS 3alm0n
an d sea ba 3 5)
Salmon SeQbaIs
upjdth‘
6) 1
a)
-5'Li9
;ahtheS
) 9 sbov ld be Salmon but b)A deCiSi on bUnd ary
decision bound ory Cla 9Sifies Yepres ents Optì rn al
tradeofe blw per formant
as sea bass
on braining and Simphcity
of clas si fier giving highes
CCCUraCy on n ewda tc
P)7
)esimationof pdF byq
H bistogia m
Ki)
k ernel
Algorithm:
Step : Select the DUmber k of neigbhours
Step Calculate cuctidioo distQnce of k po-0e neghbour
as per alculated
Step3 Take the knearest neighboYS
eucLidian diSta nce
count noof dat o
Stepy:Among these k peigh bor s
Pojots in eoch Category
new data points to that atcGory
Step5: ASSign the
pUmber of neig hbor is max imum
for whi ch the
S tep 6: oor mOdet iS y ady
n ew ata
Si: choose K5
example
sii fìd euclidìaDdistance
G
Weights -levor
wetilpfunction
ACtuati onlfun
tsigo
step
I-sign
Fg:Single layer inial dota into Syst e
accepts the
which value
ilp layey
ilp Dode cootains veal
fuYther processing Cach stength
for repyesen ts
weight pavarmeter Can be Considered
Ial eight and Bias:
betw@er units Bias
Of Connection in linear equction
ine of intercept
as
Sign istep i, Sigmoid
Actuaion function: d)
)Thi is uSed to take a Subjechve deci SiOn
Iovkin9
-twn Xn
Step :
impYOVe models perfov ma nCe
To
wi Xi +b
actuation fonchon
Stepa: ApplyI
6)
Y: f(s, wiXi+
mode
Single layer perCept1on
TYPes -
layer peYCeptto n model
multi-
Single layer perceptron model:
->lt con sists
’It feedfovwovd Detwoyk
Fo analy 2 Iineay ly Seperoble
>main objectve to
objects
molti layered percepton mode l
’9ame as Siglebut it Contain bidd en layer
The multj-ayer perceptyon model is also Known as
the EackpYopagation algovithm, exeutes dstoges
FoYWard Stoge: AChn ion fonctì ons Start from p layer
in Forward Stage nd end on olP tayers
weights bias are
Backwavd stage: In thìs stege
demande!
modified. to reduce erYoY blw actual and
Output stay ts from olp la yer and ends on ilp
layer
This mulilayer Uses achation fonction TanH)Reu)
Siqmoìd etc.
3|t Can implement AND; OR; xoR NAND, N0T XNa,
NOR
Adu pisad v
worKS, well for
Compl ex nonlìnear 5 ti me comsuming
probl ems ’ depend S on qvality of bainirg
’ wOr ks wel with
but Small e large
ile data Hidden layers
ilelayer Outpot Layey
Igicat
perceptron Rule for, AND qate
A^B
an d AB
>ulhe|:2, w)0 b Thyeshold=1
Iearning vate n0 5
1) A=0, 60 Toarget=o
of So o)p-o AD
Olp Dot 9reateY than threshold of weight
Updahon
a) Ao Target- O
A | B-1
weighted
SU m olp.
Logical OR
Thres hold-1 A
A 6B A+ B
Learning.vate n:0 5
and
OB:0, Target: D
c)A
-) ,
W: ob +o5(l-0)
(6)
modified weightS aye
X.
(i) A:| B0
NOw Wi :vi +olt-)
kn:o5
Again check W l W)- Thyesho ld=1
weig hted
SUm
)
lcqical xOR
ABY
ol
a)
f(yn):
AÇtatiop fonC.Oif Ym0
ASsume oleorning vate
hl: W:1, ThyeShold: e n:5
W
Intialy W))2- 1
(o)’ Z2in:.
w)
weight vpdatio
- Wij =wij tolt-o) i
-WI2 - t I 5 lo-) 1 -0 5
Check (o,0)
Then y: 21 (o)Z)
C
initial weightS V V2
tor):
(o,) yin:l tdjust
weight
(lo):7 Meuval
Netwr
olp
-os
Kernel Machines:
are a SS of algorithms for pattern
clo ss
Skerne! machìneS
SUpport vectoy
aralysis, Who se best known member is
machine, (SVM
>It is Alon parametric leaYning
the sepavating bypeyplane
naXimzing rnarg ins aroung
Seem according to P YObably APprximately Covert
good
CPA) theory
w'xtbo ’ eq fOr seperati ng byperplane
where wkb are Para meters
upport vectoy s
two-class olassifievs.
’Svm's aYe bagicaly
avgin
Fig: Suppost vecty s R clo ssifiaton