【发布时间】:2021-03-17 03:36:35
【问题描述】:
我使用线性回归模型来预测我的数据。 Orig Data
当我使用 sns 绘图时;我可以看到所有数据点的线切割。 Using snsborn.lmplot
但是当我使用 train_test_split 函数时: coeff & interc 如下: 重量 = [0.20504568] 截距 = -1.0383656275693958
但是图表完全没有了 graph using train test split
我该如何解决这个问题?
【问题讨论】:
标签: python graph linear-regression train-test-split