欢迎来到天天文库
浏览记录
ID:48044366
大小:649.59 KB
页数:1页
时间:2019-09-08
《【2.1课件】_binary-classification_Binary_Classification.pdf》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、BinaryClassificationInabinaryclassificationproblem,theresultisadiscretevalueoutput.Forexample-accounthacked(1)orcompromised(0)-atumormalign(1)orbenign(0)Example:CatvsNon-CatThegoalistotrainaclassifierthattheinputisanimagerepresentedbyafeaturevector,?,andpred
2、ictswhetherthecorrespondinglabel?is1or0.Inthiscase,whetherthisisacatimage(1)oranon-catimage(0).6464AnimageisstoreinthecomputerinthreeseparatematricescorrespondingtotheRed,Green,andBluecolorchannelsoftheimage.Thethreematriceshavethesamesizeastheimage,forexamp
3、le,theresolutionofthecatimageis64pixelsX64pixels,thethreematrices(RGB)are64X64each.Thevalueinacellrepresentsthepixelintensitywhichwillbeusedtocreateafeaturevectorofn-dimension.Inpatternrecognitionandmachinelearning,afeaturevectorrepresentsanobject,inthiscase
4、,acatornocat.Tocreateafeaturevector,?,thepixelintensityvalueswillbe“unroll”or“reshape”foreachcolor.Thedimensionoftheinputfeaturevector?is??=64?64?3=12288.redgreenblue
此文档下载收益归作者所有