使用TensorFlow实现简单的线性回归模型
首先导入各种TensorFlow等工具及设置画图的大小及字体import numpy as npimport tensorflow as tfimport matplotlib.pyplot as pltplt.rcParams['figure.figsize'] = (10.0, 8.0)plt.rcParams['font.sans-serif'] = 'NSimSun,Time...