Tensorflow 使用 Gradient Descent(梯度下降) 分析 Linear Regression(线性回归)
# _*_ coding:UTF-8 _*_#引入相关依赖import tensorflow as tfimport matplotlibmatplotlib.use('Agg')import matplotlib.pyplot as pltimport numpy as npplot_num = 100vectors= []#模拟原始数据for i in range(plot_num): ...