adadelta算法_机器学习中的优化算法(3)-AdaGrad, Adadelta(附Python示例)
import mathimport numpy as npimport matplotlib.pyplot as pltRATIO = 3 # 椭圆的长宽比LIMIT = 1.2 # 图像的坐标轴范围class PlotComparaison(object):"""多种优化器来优化函数 x1^2 + x2^2 * RATIO^2.每次参数改变为(d1, d2).梯度为(dx1, dx2)t+1...