diff --git a/function.py b/function.py index 031fabf..e4549e0 100644 --- a/function.py +++ b/function.py @@ -94,4 +94,4 @@ if __name__ == "__main__": # 测试单个数据 y_pred = predict_logreg(X_test[11], weights) - print(f"预测结果: {y_pred}, 实际结果: {y_test[11]}") + print(f"预测结果: {y_pred}, 实际结果: {y_test[11]}"