generated from LufsX/Experiment-LogReg
This commit is contained in:
+1
-1
@@ -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]}"
|
||||
|
||||
Reference in New Issue
Block a user