销售分析第二天:线性回归
摘要:
y = groupall.values[:, 2:] x = range(np.shape(y)[1]) plt.plot(x, y[0], "b.") x2 = np.array(x).reshape(-1,1) y2 = np.array(y[0]).reshape(-1,1) plt.plot(x2, y2, "r.") sgd_reg2 = SGDRegressor(n_iter_n... 阅读全文
posted @ 2019-07-27 22:47 下士闻道 阅读(169) 评论(0) 推荐(0) 编辑