Skip to content

Commit 36f1dec

Browse files
Update linear_regression_test.py
1 parent 65eaa6f commit 36f1dec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Chapter_7 LinearRegression/linear_regression_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def save_predict(file_name, predict):
5454

5555
if __name__ == "__main__":
5656
# 1、导入测试数据
57-
testData = load_data("data.txt")
57+
testData = load_data("data_test.txt")
5858
# 2、导入线性回归模型
5959
w = load_model("weights")
6060
# 3、得到预测结果

0 commit comments

Comments
 (0)