摘要: 构造线性回归模型 代码 def linear_regression(): """ 自实现一个线性回归 :return: """ # 1)准备数据 x = tf.compat.v1.random_normal(shape=[100, 1]) y_true = tf.matmul(x, [[0.8]]) 阅读全文
posted @ 2021-01-30 21:38 MoooJL 阅读(70) 评论(0) 推荐(0) 编辑