摘要: 数据集为: 代码为: 1 # encoding: utf-8 2 3 import tensorflow as tf 4 import numpy as np 5 import seaborn as sns 6 import matplotlib.pyplot as plt 7 from sklea 阅读全文
posted @ 2019-12-29 17:56 Z_He 阅读(1930) 评论(0) 推荐(0) 编辑
摘要: Himmelblua函数在(-6,6),(-6,6)的二维平面上求极值 函数的数学表达式:f(x, y) = (x**2 + y -11)**2 + (x + y**2 -7)**2; 如下图所示 等高线如下图所示: 代码如下: # encoding: utf-8 import tensorflow 阅读全文
posted @ 2019-12-29 17:37 Z_He 阅读(453) 评论(0) 推荐(0) 编辑