#!/usr/local/bin/python3 ##ljj [1] ##linear regression model import tensorflow as tf import matplotlib.pyplot as plt #训练样本,随手写的 x_ = [11,14,22,29,32,40,44,55,59,60,69,77] y_res = [123,135,155,167,177,189,200,240,250,255,277,298] #初始化定义w和b,都为1,这里折腾了一会…