Anda di halaman 1dari 0

Classificat

DecisionS
Irisflowe
are need
Virginica.
length,se
storediris
belowiss
>>loadfi
Afterrele
isshortna
Species v
their clas
preproces
Thenext
a matrix c
beentran
>>Transp
After tran
network].
matlabco
>>helpne
After read
definewh
>>net=n
Toviewt
anexamp
>>view(n
tionbyComm
SupportSyste
risoneofth
ed to be cla
To classifya
epalwidth,pe
sdata,souse
statementto
sheriris
asingfisherir
ameofmeasu
ariables show
sses, there w
ssingstageis
processistra
can be done
nsposedisnot
posed=notTr
nsposing thos
. Read the in
ommandprom
ewff
ding the man
hichoneisthe
newff(inputs,
heneuralnet
pleofneuraln
net)
mandPrompt
emsPostG
emostcomm
assified corre
ccordinglyto
etallengthan
ersdon'thave
activatefishe
isdatainMa
urementsand
Figure1W
wed in figure
will be neede
convertingch
ansposingme
by storing to
tTransposeda
ransposed
se two variab
struction and
mpt
nual, create
einputs,targ
,targets,X)
tworkarchite
networkmod
tMATLAB
raduateofIn
mondatabase
ctly. Those t
oflowers'clas
ndpetalwidt
etoaddthis
eririsdatapac
tlab,therew
dspeciesrefle
Workspaceint
e 1 has char d
ed one prepr
harintobinar
easandspecie
o new variab
andvariablen
bles, create n
d how to use
a FeedForw
etsandhidde
ecturecanbe
el.
nformationSy
estomineda
three attribu
ss,thereare
hwithallme
datathrough
ckage.
illbetwovar
ectstheflowe
terfaceaftere
data type, th
rocessing ste
rydigit(0and
esinorderto
le with apost
nameoftrans
eural networ
e it properly i
ward neural n
enneurons(X
eobtainedby
ystemsDepa
ata.Ithasthr
utes are Iris
foursupplem
easurements
himportore
riablesappea
erstype.
extractingfish
hus, in order
ep before en
d1).
ofitnewffma
trophe [assum
sposedoneis
rk by using n
in its manual
network by ty
X)inirisdata.
ystatingthe
artment,ITS,
reetypesofc
Setosa, Iris V
ment attribute
areincentim
externalsourc
ringinworks

heriris
to classify m
ntering the m
atrixrequirem
me variable n
sTransposed
ewff [new fe
l, please type
yping comma
.
followingcod
Indonesia
classattribute
Versicolor an
eswhichare
meters.Matla
ces.Thecom
pace:measw
measurement
main process
ments.Transp
name that ha
]
eedforward n
e this comma
and below. P
de.Figure2s
ethat
nd Iris
sepal
abhas
mand
which
s into
s. The
posing
as not
neural
and in
Please
shows
Classificat
DecisionS
The follow
training s
Versicolor
>>net=t
Aftercalli
untilitrea
(epochs)b
Thenext
thisfollow
>>output
Theoutpu
beneede
be conve
convertth
>>output
To see ho
confusion
>>[miscla
Orifyou
adisplayl
>>plotco
tionbyComm
SupportSyste
wing step af
session match
r).
train(net,inp
ingthetrain
achestheop
becauseitsta
processafter
wingcomman
t=sim(net,in
utthatwillbe
dtoclassifyi
rted to 0 and
hosenumber
tInt=round(o
ow many inst
nmatrixbelow
assified,conf
wanttoseet
likeinfigure4
nfusion(targe
mandPrompt
emsPostG
Fi
fter creating
hes measure
uts,targets)
function, th
timumcondit
artedwithran
rtrainingiso
nd.
nputs)
eproducedby
isbinarycode
d 1 through
stotheneare
output)
tance data th
w.
fmats]=conf
theillustratio
4.
ets,outputs)
tMATLAB
raduateofIn
igure2Neura
the architec
ments that e
here willbea
tion.Noteth
ndomvaluew
btainingthe
ythecodeab
e.Basedont
post process
estinteger.
hat perfectly
usion(output
onofconfusio
nformationSy
alNetworkAr
cture of neu
each individu
ninterfacea
ateachcomp
whichmaycau
resultbyfillin
boveisvaried
heinputswh
sing activity.
classified and
tInt,targets)
onmatrix,ple
ystemsDepa
rchitecture
ral network
al has with t
asshowninF
putingcanha
usedifferent
ngavariable
betweenm
hicharebinar
Therefore, ro
d misclassifie
easeusethis
artment,ITS,
is doing tra
their classes
Figure 3,plea
avedifferent
wayofproce
withsimulat
to+n,howev
rytoo,thisou
ound functio
ed one, please
codebelowa
Indonesia
ining session
(Setosa, Virg
sewaitamo
iterationnum
essing.
tionresultth
ver,resulttha
utputresults
on is perform
e check it th
anditwillpro

n. The
ginica,
oment
mbers
rough
atwill
hould
med to
rough
oduce
Classificat
DecisionS
tionbyComm
SupportSyste
mandPrompt
emsPostG
tMATLAB
raduateofIn
Figure3T
nformationSy
Trainingdashb
ystemsDepa
board
artment,ITS,Indonesia

Classificat
DecisionS
Interpreti
Figure3in
Ep
U
o
b
of
m
an
m
cr
tionbyComm
SupportSyste
ngGraphsan
nterpretation
poch: filling b
sually it has
bviously be
elong toheu
f a problem.
may be hundr
nswerbuton
much maximu
riteria.
mandPrompt
emsPostG
ndConfusion
ns:
by number o
maximum i
needed. Why
risticsolution
Due to the c
reds, heuristi
nlyneedfewt
m iterations
tMATLAB
raduateofIn
Figure4
Matrix
f how much
terations for
y should we
ns,itwill be t
complexity an
cs solution (e
timeandreso
allowed. Thi
nformationSy
ConfusionM
iteration act
r determining
have maxim
taking much
nd attributes
e.g. neural n
ources.Itwill
s constraint i
ystemsDepa
atrix
tually did for
g the time, a
mum iteration
timeandeff
numbers wh
etworks) hav
lbeloopinga
is wellknown
artment,ITS,
achieving th
accuracy and
ns? As regard
ortstofind t
hich is not on
ve fair ways
alldayifwed
n as stopping
Indonesia

e optimum r
d resources w
ds of one me
theperfectan
nly one or tw
to achieve a
donotspecify
g rules or sto
result.
which
ethod
nswer
wo but
good
yhow
opping
Classificat
DecisionS
Pe
th
u
m
th
m
G
ch
p
it
gr
V
su
th
ca
Forfurthe
multilaye
Figure4in
V
an
D
co
V
in
V
b
Thefirstq
Thingsto
C
C
C

tionbyComm
SupportSyste
erformance:
heperfectnes
p to 0.0154
maximumiter
he revising
measurement
radient:duri
hecks gradien
erformedwh
wouldhave
radientlesst
Validationche
uccessfully. If
hisrun,youc
anchangethi
erinformatio
rneuralnetw
nterpretation
ertical and H
ndClass3Vir
iagonal cells
omparisonof
ertical Colum
nstances that
irginica by th
ottomrightc
questismakin
submitande
aptureofeac
aptureofTra
aptureofcon
mandPrompt
emsPostG
usually this f
ssofatrainin
at ninth itera
ations,minim
process wor
relatedtotra
ngtrainingse
nt decency. T
hichmeansth
1asgradient
han1e10.Yo
ecks:thenum
f this number
canseethatt
iscriterionby
npleaserefe
works.html
ns:
Horizontal Co
rginica.
are correctly
fdataisequa
mns read from
t misclassified
he classifier.
cell].
ngaduplicati
explain
chvariable
iningDashbo
nfusionmatrix
tMATLAB
raduateofIn
field filled by
ngsession.St
ation in train
mumimprove
rked not op
ainingalgorit
ession,besid
The bigger it
hatithasbigg
tbecausethe
oucanadjust
mbershowed
r showed 6 w
thetrainingd
ysettingthep
rtohttp://ww
lumns repres
y classified in
llydividedbe
m bottom to
d. It means t
Thus, the w
onoftheses
oard
x
nformationSy
y error measu
tartingfrom0
ning session.
ementsalsow
ptimally by
hmused.
esmeasuring
s value, the
gerimprovem
eyarerandom
thisparamet

inthisfield
which is the d
idstopbecau
parameterne
ww.mathwor
sent each cla
nstances. It sh
etweenSetos
top, let see
there is two
whole accurac
tepswithWi
ystemsDepa
urement (e.g.
0.578atthef
Besides the
worksasanot
reducing alm
gperformanc
larger adjust
menttodo.A
mnumbersan
terthroughn
representsth
default value,
useofthenu
et.trainParam
rks.com/help/
ass which Cla
hould be liste
a,Versicolor
the second v
instances of
cy is not 100
neClassificat
artment,ITS,
. MSE, SSE, R
firstiteration
aforemention
therstopping
most zero im
ceanditerati
tment of wei
Admittedly,at
nditerationw
net.trainParam
henumberof
, the training
umberofvalid
m.max_fail.
/nnet/ug/tra
ass 1 Setosa,
ed 50 in eac
andVirginica
vertical colum
Iris Versicolo
0% but 98.7%
tiondata.
Indonesia
RMSE, PE) to
n,itcanbere
ned stopping
grule.Incase
mprovement
onnumber,i
ights and bia
tthefirstiter
willbeended
m.min_grad.
fiterationth
g will be endi
dationchecks
inandapply
Class 2 Vers
h cell becaus
a.
mn which ha
or misclassifi
% [looked at
judge
evised
g rule,
ethat
. The
italso
ases it
ration
ifthe
atdid
ng. In
s.You

sicolor
se the
s two
ied as
most

Anda mungkin juga menyukai