人工智能结课ppt(英)

整理文档很辛苦,赏杯茶钱您下走!

免费阅读已结束,点击下载阅读编辑剩下 ...

阅读已结束,您可以下载文档离线阅读编辑

资源描述

ApplicationofFisherLinearDiscriminant(FLD)inDataClassification1、FLDalgorithmoverviewFisherLinearDiscriminant(FLD)isaclassicalalgorithmforpatternrecognition.ItwasintroducedbyBelhumeurin1996inthefieldofpatternrecognitionandartificialintelligence.Thebasicideaofsexualdiscriminantanalysisistoprojecthigh-dimensionalsamplepatternsintotheoptimaldiscriminantvectorspacetoachievetheeffectofextractingtheclassificationinformationandcompressingthefeature'sspatialdimension.Afterprojection,thesamplemodelisguaranteedtohavethelargestinterclassspaceinthenewsubspace.Thedistanceandtheminimumintra-classdistance,ie,thepattern,havethebestseparabilityinthisspace.Therefore,itisaneffectivefeatureextractionmethod.Usingthismethod,theinter-classscattermatrixofthesampleafterprojectioncanbemaximized,andtheintra-classscattermatrixcanbeminimizedatthesametime.Thatistosay,itcanguaranteethatthemodelsampleafterprojectionhasthesmallestintra-classdistanceandthelargestinter-classdistanceinthenewspace,thatis,thepatternhasthebestseparabilityinthespace.2、Formuladerivation,thealgorithmformalizeddescription.Algorithmfunction:dimensionalityreductionandclassification2、Formuladerivation,thealgorithmformalizeddescription.Generallyspeaking,agooddirectioncanalwaysbefoundwhichisveryeasytoseparatesamplesfromthelinesprojected,seekingthebestprojectionvectorW*isFisheralgorithmtodo,thespecificmethodisasfollows:1)Calculatingthemeanvectorofallkindsofsamplesmi;NiisthenumberofsamplesofthewiclassiwXiiXNm1i=1,2(1)i=1,2(2)iwXiimXmXiS(3)21SSSw2)TheintraclasdispersionmatrixSiandthetotalintraclassscattermatrixSwarecaculated2、Formuladerivation,thealgorithmformalizeddescription.3)calculateaninterclassdiscretenessmatrixforsamplesSb4)FindthebestprojectionvectorW*(4)2121mmmmSbWSWWSWWJwbfisherWehopethataftertheprojection,thesamplesareasseparateaspossibleintheone-dimensionalspace,thatis,thedifferencebetweenthemeanofthetwotypesofsamplesisbettertolarge.wealsohopethatthelessthebettertheintraclassflickeris,soweintroducetheFisheridentificationexpressionhere:21~~mm(5)2、Formuladerivation,thealgorithmformalizeddescription.1WSWw(7)The,AfterjoiningLagrangemultiplier,guide1WSWWSWWCwb(8)022WSWSdWCdwb(9)WSWSwb(6)211mmSWwTheobtainthemaximum,theW*isWJfisherThederivationprocessisasfollows:By(4),ithastobe(11)wbmmWmmmmWS212121Thefinaleigenvalueformulaisderived.(12)WmmSWSSwwbw2111Duetowthesizeofanytimesdoesnotaffecttheresults,soitcanbeanunknownconstanttobothsidesand,obtained:w(13)211mmSWwTheresultsafterthederivationaremultipliedby,obtain1wS(10)WWSSbw12、Formuladerivation,thealgorithmformalizeddescription.XWy6)Computingthesegmentationthresholdy0ontheprojectionspace(14)7)ForagivenX,caculatedtheprojectionyontheW*XWy*5)Projectionofallsamplesinthetrainingset.212211~~NNmNmNy0(15)(16)8)Classificationaccordingtodecisionrules21wXyywXyyoo(17)3、MatlabinstanceoperationOpentheprogram'zhucx.m',the'lda_touyin.m‘and'local_roc_calculate.m'isthesubroutine,Theexecutionprogramhasthefollowingresults:Fig.1scatterplottoclassifydatafeaturesThedataisatwo-class2-dimensionalfeaturematrix,eachofwhichis2×100Fig.2TheprojectionvectorsobtainedbytheFisheralgorithmprojectionthetwodimensionalfeaturesintoastraightlineandbecomeonedimensionalfeature,preparingforthelatterclassificationFig.3Inthelaststep,wegetonedimensionalfeatureasascatterplot,whichcanclearlyseetheseparationoftwotypesofdata.Fig.4ClassificationresultFig.5ROCcurveAUC=0.9996ROC(ReceiverOperatingCharacteristic)CurvesandAUC(AreaUnderCurve)areoftenusedtoevaluateabinaryclassifier.Thecloserthecurveistotheupperleft,theclassificationeffectisbetter.Fig.6ProbabilitydensitydistributiondiagramFig.7ProbabilitydensitydistributioncurveTheresultsshowthattheFisherlineardiscriminantalgorithmachievesgoodresultsintheclassificationoftwoclassificationdata.Theaccuracyoftheclassificationobtainedbytheseexperimentsisover95%.Referencesandotherlinks:[1]ROC和AUC介绍以及如何计算AUC:[2]线性判别分析(LinearDiscriminantAnalysis,LDA)算法分析:[3]线性判别分析(LinearDiscriminantAnalysis)(一):

1 / 17
下载文档,编辑使用

©2015-2020 m.777doc.com 三七文档.

备案号:鲁ICP备2024069028号-1 客服联系 QQ:2149211541

×
保存成功