




已阅读5页,还剩30页未读, 继续免费阅读
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
Classification:ProbabilisticGenerativeModel,Classification,CreditScoringInput:income,savings,profession,age,pastfinancialhistoryOutput:acceptorrefuseMedicalDiagnosisInput:currentsymptoms,age,gender,pastmedicalhistoryOutput:whichkindofdiseasesHandwrittencharacterrecognitionFacerecognitionInput:imageofaface,output:person,金,Input:,output:,Function,Classn,ExampleApplication,=,=,=,ExampleApplication,Total:sumofallstatsthatcomeafterthis,ageneralguidetohowstrongapokemonisHP:hitpoints,orhealth,defineshowmuchdamageapokemoncanwithstandbeforefaintingAttack:thebasemodifierfornormalattacks(eg.Scratch,Punch)Defense:thebasedamageresistanceagainstnormalattacksSPAtk:specialattack,thebasemodifierforspecialattacks(e.g.fireblast,bubblebeam)SPDef:thebasedamageresistanceagainstspecialattacksSpeed:determineswhichpokemonattacksfirsteachround,Canwepredictthe“type”ofpokemonbasedontheinformation?,320,35,55,40,50,50,90,pokemongames(NOTpokemoncardsorPokemonGo),ExampleApplication,HowtodoClassification,TrainingdataforClassification,1,1,2,2,Training:Class1meansthetargetis1;Class2meansthetargetis-1,ClassificationasRegression?,Binaryclassificationasexample,Testing:closerto1class1;closerto-1class2,Multipleclass:Class1meansthetargetis1;Class2meansthetargetis2;Class3meansthetargetis3problematic,Penalizetotheexamplesthatare“toocorrect”,(Bishop,P186),Class1,x1,x1,x2,x2,Class2,Class1,Class2,1,1,-1,-1,y=b+w1x1+w2x2,b+w1x1+w1x1=0,1,error,todecreaseerror,IdealAlternatives,Function(Model):Lossfunction:Findthebestfunction:Example:Perceptron,SVM,NotToday,Output=class1,0,=,Output=class2,Thenumberoftimesfgetincorrectresultsontrainingdata.,TwoBoxes,Box1,Box2,P(B1)=2/3,P(B2)=1/3,P(Blue|B1)=4/5,P(Green|B1)=1/5,P(Blue|B1)=2/5,P(Green|B1)=3/5,Wheredoesitcomefrom?,P(B1|Blue),=Blue|11Blue|11+Blue|22,TwoClasses,Givenanx,whichclassdoesitbelongto,=|11|11+|22,1|,=|11+|22,GenerativeModel,P(C1),P(C2),P(x|C1),P(x|C2),EstimatingtheProbabilitiesFromtrainingdata,Class1,Class2,Prior,Class1,Class2,P(C1),P(C2),Water,Normal,WaterandNormaltypewithID0.5,xbelongstoclass1(Water),P(C1)=79/(79+61)=0.56,P(C2)=61/(79+61)=0.44,1,1=12/2111/2121111,1=75.071.3,2=55.659.8,1=874327327929,2=847422422685,2,2=12/2121/2122212,Howstheresults?,Testingdata:47%accuracy,All:total,hp,att,spatt,de,spde,speed(7features),54%accuracy,1|,Bluepoints:C1(Water),Redpoints:C2(Normal),1|0.5,1|0.5,1|0.5,output:class1,Otherwise,output:class2,ProbabilityDistribution,Youcanalwaysusethedistributionyoulike,|1,Ifyouassumeallthedimensionsareindependent,thenyouareusingNaiveBayesClassifier.,12,=1|1,2|1,|1,1-DGaussian,Forbinaryfeatures,youmayassumetheyarefromBernoullidistributions.,PosteriorProbability,1|=|11|11+|22,=11+|22|11,=11+,=|11|22,=,Sigmoidfunction,WarningofMath,PosteriorProbability,1|,=,=|11|22,|1=12/2111/2121111,|2=12/2121/2122212,=|1|2+12,sigmoid,11+221+2,=12,=21/211/21211112212,12/2111/212111112/2121/2122212,=21/211/21211112212,|1=12/2111/2121111,|2=12/2121/2122212,=|1|2+12,=12,1111,=112111+1111,=21/211/2,1211+111121111,+1221221+122212,=21/211/21211112212,=|1|2+12,=12,=11111111+1111,2212,=212221+2212,+12,EndofWarning,1|,=,1=2=,=12112111+12212+12,b,1|=+,Ingenerativemo
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 公司晨间律动活动方案
- 公司组建志愿者活动方案
- 公司摄影采风活动方案
- 公司氛围营销大会策划方案
- 公司春季活动方案
- 公司日常特色活动方案
- 公司机制策划方案
- 公司组织编发活动方案
- 公司特色自助餐活动方案
- 公司突破亿元活动方案
- 酒店用火用电安全管理制度
- 模具机加工管理制度
- 区畜牧局十五五总结及十五五规划
- 2025年普通高等学校招生全国统一考试(全国I卷英语)及答案
- 银行支行安全防范教育培训制度
- 艾梅乙考试试题及答案
- DB31/T 1096-2018医院日间手术管理规范
- DB32-T 5119-2025 锂离子电池工厂生产安全技术规范
- 中医诊所挂证医生合同6篇
- ★教导型组织-行动管理模式(三)
- 朗文英语2B英语复习资料
评论
0/150
提交评论