更新 function.py
Gitea Actions Experiment Test / Experiment-Actions (push) Has been cancelled

This commit is contained in:
2024-10-24 17:15:33 +08:00
parent b27fdd8b93
commit 236dfe4a6e
+1 -1
View File
@@ -94,4 +94,4 @@ if __name__ == "__main__":
# 测试单个数据 # 测试单个数据
y_pred = predict_logreg(X_test[11], weights) y_pred = predict_logreg(X_test[11], weights)
print(f"预测结果: {y_pred}, 实际结果: {y_test[11]}") print(f"预测结果: {y_pred}, 实际结果: {y_test[11]}"