数据库文化基础 (27).pdf
《数据库文化基础 (27).pdf》由会员分享,可在线阅读,更多相关《数据库文化基础 (27).pdf(12页珍藏版)》请在淘文阁 - 分享文档赚钱的网站上搜索。
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
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 数据库文化基础 27 数据库 文化 基础 27
限制150内