书签 分享 收藏 举报 版权申诉 / 15
上传文档赚钱

类型GradientDescent梯度下降法课件.ppt

  • 上传人(卖家):三亚风情
  • 文档编号:3592376
  • 上传时间:2022-09-22
  • 格式:PPT
  • 页数:15
  • 大小:1.43MB
  • 【下载声明】
    1. 本站全部试题类文档,若标题没写含答案,则无答案;标题注明含答案的文档,主观题也可能无答案。请谨慎下单,一旦售出,不予退换。
    2. 本站全部PPT文档均不含视频和音频,PPT中出现的音频或视频标识(或文字)仅表示流程,实际无音频或视频文件。请谨慎下单,一旦售出,不予退换。
    3. 本页资料《GradientDescent梯度下降法课件.ppt》由用户(三亚风情)主动上传,其收益全归该用户。163文库仅提供信息存储空间,仅对该用户上传内容的表现方式做保护处理,对上传内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知163文库(点击联系客服),我们立即给予删除!
    4. 请根据预览情况,自愿下载本文。本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
    5. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007及以上版本和PDF阅读器,压缩文件请下载最新的WinRAR软件解压。
    配套讲稿:

    如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。

    特殊限制:

    部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。

    关 键  词:
    GradientDescent 梯度 下降 课件
    资源描述:

    1、vGradientvDirectional DerivativesvGradient descent(GD):AKA steepest descent(SD)Goal:Minimize a function iteratively based on gradientFormula for GD:Normalized versionWith momentumGradient Descent(GD)Step size or learning rateQuiz!Vanilla GDorExample of Single-Input FunctionsvIf n=1,GD reduces to the

    2、 problem of going left or right.vExamplevAnimation:http:/ nownownownextxxxxxxfxxf21222vEach point/region with zero gradient has a basin of attractionBasin of Attraction in 1DvExample of Two-input Functions“Peaks”Functions(1/2)If n=2,GD needs to find a direction in 2D plane.Example:“Peaks”function in

    3、 MATLABAnimation:gradientDescentDemo.m222222153123151013,yxyxyxeeyxxexyxfGradients is perpendicularto contours,why?3 local maxima3 local minima“Peaks”Functions(2/2)Gradient of the“peaks”functiondz/dx=-6*(1-x)*exp(-x2-(y+1)2)-6*(1-x)2*x*exp(-x2-(y+1)2)-10*(1/5-3*x2)*exp(-x2-y2)+20*(1/5*x-x3-y5)*x*exp

    4、(-x2-y2)-1/3*(-2*x-2)*exp(-(x+1)2-y2)dz/dy=3*(1-x)2*(-2*y-2)*exp(-x2-(y+1)2)+50*y4*exp(-x2-y2)+20*(1/5*x-x3-y5)*y*exp(-x2-y2)+2/3*y*exp(-(x+1)2-y2)d(dz/dx)/dx=36*x*exp(-x2-(y+1)2)-18*x2*exp(-x2-(y+1)2)-24*x3*exp(-x2-(y+1)2)+12*x4*exp(-x2-(y+1)2)+72*x*exp(-x2-y2)-148*x3*exp(-x2-y2)-20*y5*exp(-x2-y2)+

    5、40*x5*exp(-x2-y2)+40*x2*exp(-x2-y2)*y5-2/3*exp(-(x+1)2-y2)-4/3*exp(-(x+1)2-y2)*x2-8/3*exp(-(x+1)2-y2)*x vEach point/region with zero gradient has a basin of attractionBasin of Attraction in 2DRosenbrock FunctionRosenbrock functionMore about this functionAnimation:http:/ on how to optimize this funct

    6、ion 2221001,xyxyxfJustification for using momentum termsProperties of Gradient DescentvPropertiesNo guarantee for reaching global optimumFeasible for differentiable objective functions(which can have finite number of non-differential points)Performance heavily dependent on starting point and step si

    7、ze vVariantsUse adaptive step sizesNormalize the gradient by its lengthUse the momentum term to reduce zig-zag pathsUse line minimization at each iterationQuiz!Comparisons of Gradient-based OptimizationvGradient descent(GD)Treat all parameters as nonlinearvHybrid learning of GD+LSEDistinguish betwee

    8、n linear and nonlinearvConjugate gradient descentTry to reach the minimizing point by assume the objective function is quadraticvGauss-Newton(GN)methodLinearize the objective function to treat all parameters as linearvLevenberg-Marquardt(LM)methodSwitch smoothly between SD and GNvSynonymsLinearizati

    9、on methodExtended Kalman filter methodvConcept:General nonlinear model:y=f(x,q)linearization at q=qnow:y=f(x,qnow)+a1(q1-q1,now)+a2(q2-q2,now)+.LSE solution:qnext=qnow+(ATA)-1ATBGauss-Newton MethodvFormulaqnext=qnow+(ATA+lI)-1ATBvEffects of ll small Gauss-Newton methodl big Gradient descentvHow to u

    10、pdate lGreedy policy Make l smallCautious policy Make l bigLevenberg-Marquardt MethodvCan we use GD to find the minimum of f(x)=|x|?vWhat is the gradient of the sigmoid function?Can you express the gradient using the original function?vWhat are the basins of attraction of the following curve?Exercises xexf11f(x)xglobal minimuminflection pointlocal minimumglobal maximumQuiz:The gradient of a function of eax can be expressed as the function itself.Why?

    展开阅读全文
    提示  163文库所有资源均是用户自行上传分享,仅供网友学习交流,未经上传用户书面授权,请勿作他用。
    关于本文
    本文标题:GradientDescent梯度下降法课件.ppt
    链接地址:https://www.163wenku.com/p-3592376.html

    Copyright@ 2017-2037 Www.163WenKu.Com  网站版权所有  |  资源地图   
    IPC备案号:蜀ICP备2021032737号  | 川公网安备 51099002000191号


    侵权投诉QQ:3464097650  资料上传QQ:3464097650
       


    【声明】本站为“文档C2C交易模式”,即用户上传的文档直接卖给(下载)用户,本站只是网络空间服务平台,本站所有原创文档下载所得归上传人所有,如您发现上传作品侵犯了您的版权,请立刻联系我们并提供证据,我们将在3个工作日内予以改正。

    163文库