数据库文化基础 (27).pdf

上传人:奉*** 文档编号:67738004 上传时间:2022-12-26 格式:PDF 页数:12 大小:1.12MB
返回 下载 相关 举报
数据库文化基础 (27).pdf_第1页
第1页 / 共12页
数据库文化基础 (27).pdf_第2页
第2页 / 共12页
点击查看更多>>
资源描述

《数据库文化基础 (27).pdf》由会员分享,可在线阅读,更多相关《数据库文化基础 (27).pdf(12页珍藏版)》请在taowenge.com淘文阁网|工程机械CAD图纸|机械工程制图|CAD装配图下载|SolidWorks_CaTia_CAD_UG_PROE_设计图分享下载上搜索。

1、Numerical Optimization Algorithms15thweek/Optimization(IV)Understand the basic idea of numerical optimization algorithmObjectives of This WeekList the step-by-step procedure of some basic numerical optimization algorithms including gradient descent and Newtons algorithmsUnderstand why the nonlinear

2、programming models are difficult to solveIntroduction by Example Single-variable case3local minimum global minimum =()Introduction by Example Observations Initial solution Sign of derivative(direction of ascent/descent from x)Step size(learning rate)4 Gradient descent algorithm:single-variable case

3、Given a differentiable function:,a step size,and a stoppingthreshold ,the following algorithm provides an estimate of theminimum(or maximum)of the functionStep 2Gradient Descent Algorithm 5+1=()Step 0Choose a random point 0 and let =0Step 1ComputeIf the termination condition(e.g.,()is satisfied,stop

4、Otherwise,let +1 and go to Step 1Gradient Descent Algorithm Gradient descent algorithm The step size influences the computational performance,i.e.,rate of convergence or number of iterations If the step size is too small,the algorithm can be slow slow progress If the step size is too large,the algor

5、ithm can be overshoot the minimum(zigzag)and it may fail to converge repeated overshooting of the minimum6Gradient Descent Algorithm Gradient descent algorithm Examples of choosing the step size(learning rate)Choose a small constant Start with a constant step size and keep track of the errors;afters

6、ome specified number of iterations without an improvement,decrease the step size Take the decaying step size(e.g.,)Choose7=argmin0 ()Gradient Descent Algorithm Gradient descent algorithm:multi-variable case Given a differentiable function:,a step size,and a stoppingthreshold ,the following algorithm

7、 provides an estimate of theminimum(or maximum)of the function8Step 2+1=()Step 0Choose a random point 0 and let =0Step 1ComputeIf the termination condition(e.g.,2)is satisfied,stopOtherwise,let +1 and go to Step 1Newtons Algorithm Newtons algorithm:multi-variable case Searchthedirectiontowardthemini

8、mumofthequadraticapproximation of a function at each point Iteratively minimize the(local)quadratic approximation of a function ateach point Remind that the quadratic approximation of at Assuming 2()is PD,the minimum of the function is the solution of +2 =09 =+12 2 =2 1 Newtons Algorithm Newtons alg

9、orithm:multi-variable case Given a differentiable function:,a step size,and a stoppingthreshold ,the following algorithm provides an estimate of theminimum(or maximum)of the function10Step 2Step 0Choose a random point 0 and let =0Step 1Let=2 1 and computeIf the termination condition(e.g.,2)is satisf

10、ied,stopOtherwise,let +1 and go to Step 1+1=+Factors that influence the computational performance:initial solution,step size(learning rate),gradient(or Hessian)SummaryGradient descent algorithm:use the fact that is thedirection of steepest descent from each pointNewtonsalgorithm:iterativelyminimizet

11、hequadraticapproximation of a function at each pointIntroduction to Mathematical Programming(Operations Research:Volume One),W.L.Winston&M.Venkataramanan,Thomson,4th editionReferencesNonlinear Programming:Theory and Algorithms,M.S.Bazaraa,H.D.Sherali&C.M.Shetty,Wiley-BlackwellNumerical Optimization,J.Nocedal&S.J.Wright,Springer

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 教育专区 > 大学资料

本站为文档C TO C交易模式,本站只提供存储空间、用户上传的文档直接被用户下载,本站只是中间服务平台,本站所有文档下载所得的收益归上传人(含作者)所有。本站仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。若文档所含内容侵犯了您的版权或隐私,请立即通知淘文阁网,我们立即给予删除!客服QQ:136780468 微信:18945177775 电话:18904686070

工信部备案号:黑ICP备15003705号© 2020-2023 www.taowenge.com 淘文阁