两个变量(可支持多自变量)的简单梯度下降
摘要:
import numpy as np import matplotlib.pyplot as plt from mpl_toolkits.mplot3d.axes3d import Axes3D # 公式 f(x,y) = 2x^2+6y^2+6xy+x+4y+8 def targetFunc(x, 阅读全文
posted @ 2019-09-05 09:13 黯星 阅读(719) 评论(0) 推荐(0)
浙公网安备 33010602011771号