登录
首页 » matlab » 最速下降法

最速下降法

于 2019-11-24 发布
0 296
下载积分: 1 下载次数: 20

代码说明:

说明:  最速下降法是迭代法的一种,可以用于求解最小二乘问题(线性和非线性都可以)。在求解机器学习算法的模型参数,即无约束优化问题时,梯度下降(Gradient Descent)是最常采用的方法之一,另一种常用的方法是最小二乘法。在求解损失函数的最小值时,可以通过梯度下降法来一步步的迭代求解,得到最小化的损失函数和模型参数值。反过来,如果我们需要求解损失函数的最大值,这时就需要用梯度上升法来迭代了。在机器学习中,基于基本的梯度下降法发展了两种梯度下降方法,分别为随机梯度下降法和批量梯度下降法。(The steepest descent method is a kind of iterative method, which can be used to solve the least squares problem (both linear and nonlinear). In solving the model parameters of machine learning algorithm, that is, unconstrained optimization, gradient descent is one of the most commonly used methods, and the other is the least square method. When solving the minimum value of loss function, the gradient descent method can be used step by step to get the minimum value of loss function and model parameters. Conversely, if we need to solve the maximum value of the loss function, then we need to use the gradient rise method to iterate. In machine learning, two kinds of ladders are developed based on the basic gradient descent method)

文件列表:

norm1.m, 140 , 2019-09-04
p.m, 726 , 2019-09-03
Untitled4.m, 87 , 2019-09-04
zuisuxiajiangfa.m, 289 , 2019-09-04
d.m, 131 , 2019-09-03
f.m, 142 , 2019-09-03

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论


0 个回复

  • PMSM1
    基于MATLAB/simulink的永磁同步电机仿真模型.空间失量磁场定向算法(Based on MATLAB/simulink simulation model of permanent magnet synchronous motor. Spatial loss field oriented method)
    2011-01-26 00:13:50下载
    积分:1
  • MATLAB_symbol-operation
    收集的matlab符号运算的电子书籍与文档资料,对于熟悉了matlab数值运算想对符号计算有所了解的可以看看。(Matlab symbolic operation collected the e-books and documentation, for those familiar with the matlab numerical computation would like to understand the symbolic computation can take a look at.)
    2007-11-07 20:41:22下载
    积分:1
  • cov2para
    This MATLAB code computes the covariance matrix of a random variable
    2009-12-16 16:44:44下载
    积分:1
  • fit_ML_normal
    fit_ML_normal - Maximum Likelihood fit of the normal distribution of i.i.d. samples!. Given the samples of a normal distribution, the PDF parameter is found fits data to the probability of the form: p(r) = sqrt(1/2/pi/sig^2)*exp(-((r-u)^2)/(2*sig^2)) with parameters: u,sig^2 format: result = fit_ML_normal( x,hAx ) input: x - vector, samples with normal distribution to be parameterized hAx - handle of an axis, on which the fitted distribution is plotted if h is given empty, a figure is created. output: result - structure with the fields sig^2,u - fitted parameters CRB_sig2,CRB_u - Cram?r-Rao Bound for the estimator value RMS - RMS error of the estimation type - ML
    2011-02-09 19:09:33下载
    积分:1
  • SVPWM
    vpwm的matlab仿真主要利用matlab进行svpwm(Matlab simulation based on SVPWM mainly utilizes Matlab to process park transission, park anti transition, wave output and etc produced by SVPWM.)
    2010-06-04 10:06:45下载
    积分:1
  • IP113-1-N
    IP113 circuit application
    2009-11-22 20:14:31下载
    积分:1
  • ErsBlock
    实在不怎么会了,这都是我一学期来,老师教的一些了(I m a new student)
    2010-01-11 09:33:51下载
    积分:1
  • ACATSP
    蚁群算法求解旅行商问题matlab源程序,可画图.(Ant colony algorithm for traveling salesman problem (matlab source code), the algorithm has a drawing function.)
    2010-08-23 15:05:54下载
    积分:1
  • Simple-global-positioning-system-to-achieve-easy-s
    简单的全球定位系统源码 matlab实现 easy(Simple global positioning system to achieve easy source matlab)
    2009-11-23 16:22:44下载
    积分:1
  • TestB3Line
    三次样条曲线拟和,能够很好的处理离散点的拟和问题,值得收藏(Cubic spline curve fitting and)
    2009-10-22 10:02:54下载
    积分:1
  • 696518资源总数
  • 104684会员总数
  • 30今日下载