From e55b05db9b5cfb7d46f6d7f1a6bc75686ddd68e9 Mon Sep 17 00:00:00 2001 From: Dengddd <3149942468@qq.com> Date: Thu, 31 Oct 2024 15:27:37 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20function.py?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- function.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/function.py b/function.py index bb78fce..4d4a511 100644 --- a/function.py +++ b/function.py @@ -132,4 +132,4 @@ if __name__ == "__main__": # 打印预测结果和实际结果(以最后一个正则化强度为例) predictions = predict_logreg(X_test, weights) for i in range(min(10, len(y_test))): - print(f"预测结果: {predictions[i]}, 实际结果: {y_test[i]}") + print(f"预测结果: {predictions[i]}, 实际结果: {y_test[i]}") \ No newline at end of file