




已阅读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. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 中国少年先锋队建队73周年纪念日全文
- 《函数与它表示法》第二课时课件
- 求职三峡会计岗位必 备面试题库
- 人美版课标解读
- 幼儿园工作汇报材料
- 新热点职位测试题:公务员面试题实战与解析版
- 热力环境地理讲解
- 平移趣味游戏讲解
- 通信技术岗位核心认识
- 2024学年江苏如皋市高一语文上学期10月考试卷附答案解析
- 2025年蛟川书院分班测试题及答案
- 飞机数字孪生与预测性维护集成
- 2025《煤炭购销合同》
- 2025年行政执法证考试必刷题库与答案
- 基孔肯雅热防控知识考试试题含答案
- 2025年机关事业单位技能资格考试-文秘资料技师历年参考题库含答案解析(5卷套题【单项选择题100题】)
- 吉林化工(危险化学品)、医药企业电气设备设施安全隐患排查指南
- 劳动用工考试试题及答案
- 护理消毒液的配置
- 2025年职业指导师(四级)考试模拟试题汇编与模拟试题解析
- 2024墙面原位加固修复技术规程
评论
0/150
提交评论