Foundation of Machine Learning [Part04]

Foundation of Machine Learning [Part04]

ID:40632104

大小:2.76 MB

页数:50页

时间:2019-08-05

Foundation of Machine Learning [Part04]_第1页
Foundation of Machine Learning [Part04]_第2页
Foundation of Machine Learning [Part04]_第3页
Foundation of Machine Learning [Part04]_第4页
Foundation of Machine Learning [Part04]_第5页
资源描述:

《Foundation of Machine Learning [Part04]》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库

1、FoundationsofMachineLearningLecture4MehryarMohriCourantInstituteandGoogleResearchmohri@cims.nyu.eduSupportVectorMachinesMehryarMohri-FoudationsofMachineLearningThisLectureSupportVectorMachines-separablecaseSupportVectorMachines-non-separablecaseMarginguarante

2、esMehryarMohri-FoundationsofMachineLearningpage3BinaryClassificationProblemNTrainingdata:sampledrawni.i.d.fromsetX⊆Raccordingtosomedistribution,DS=((x1,y1),...,(xm,ym))∈X×{−1,+1}.Problem:findhypothesisinh:X￿→{−1,+1}H(classifier)withsmallgeneralizationerror.RD(h)

3、Linearclassification:•Hypothesesbasedonhyperplanes.•Linearseparationinhigh-dimensionalspace.MehryarMohri-FoundationsofMachineLearningpage4LinearSeparationw·x+b=0w·x+b=0Classifiers:.H={x￿→sgn(w·x+b):w∈RN,b∈R}MehryarMohri-FoundationsofMachineLearningpage5OptimalH

4、yperplane:Max.Margin(VapnikandChervonenkis,1965)w·x+b=0marginw·x+b=+1w·x+b=−1Canonicalhyperplane:andchosensuchthatforwbclosestpoints.

5、w·x+b

6、=1

7、w·x+b

8、1Margin:.ρ=min=x∈S￿w￿￿w￿MehryarMohri-FoundationsofMachineLearningpage6OptimizationProblemConstrainedoptimizati

9、on:12min￿w￿w,b2subjecttoyi(w·xi+b)≥1,i∈[1,m].Properties:•Convexoptimization.•Uniquesolutionforlinearlyseparablesample.MehryarMohri-FoundationsofMachineLearningpage7OptimalHyperplaneEquationsLagrangian:forallw,b,αi≥0,￿m12L(w,b,α)=￿w￿−αi[yi(w·xi+b)−1].2i=1KKTco

10、nditions:￿m￿m∇wL=w−αiyixi=0⇐⇒w=αiyixi.i=1i=1￿m￿m∇bL=−αiyi=0⇐⇒αiyi=0.i=1i=1∀i∈[1,m],αi[yi(w·xi+b)−1]=0.MehryarMohri-FoundationsofMachineLearningpage8SupportVectorsComplementarityconditions:αi[yi(w·xi+b)−1]=0=⇒αi=0∨yi(w·xi+b)=1.Supportvectors:vectorssuchthatxiα

11、i￿=0∧yi(w·xi+b)=1.•Note:supportvectorsarenotunique.MehryarMohri-FoundationsofMachineLearningpage9MovingtoTheDualPluggingintheexpressionofingives:wL1￿m￿m￿m￿m2L=￿αiyixi￿−αiαjyiyj(xi·xj)−αiyib+αi.2i=1i,j=1i=1i=1￿￿￿￿￿￿￿￿1Pm0−αiαjyiyj(xi·xj)2i,j=1Thus,￿m1￿mL=αi−αi

12、αjyiyj(xi·xj).2i=1i,j=1MehryarMohri-FoundationsofMachineLearningpage10DualOptimizationProblemConstrainedoptimization:￿m1￿mmaxαi−αiαjyiyj(xi·xj)α2i=1i,j=1￿msubjectto:αi≥0∧αiyi=0,i∈[1,m].i=

当前文档最多预览五页,下载文档查看全文

此文档下载收益归作者所有

当前文档最多预览五页,下载文档查看全文
温馨提示:
1. 部分包含数学公式或PPT动画的文件,查看预览时可能会显示错乱或异常,文件下载后无此问题,请放心下载。
2. 本文档由用户上传,版权归属用户,天天文库负责整理代发布。如果您对本文档版权有争议请及时联系客服。
3. 下载前请仔细阅读文档内容,确认文档内容符合您的需求后进行下载,若出现内容与标题不符可向本站投诉处理。
4. 下载文档时可能由于网络波动等原因无法下载或下载错误,付费完成后未能成功下载的用户请联系客服处理。