更新 function.py
Gitea Actions Experiment Test / Experiment-Actions (push) Successful in 9s

This commit is contained in:
Wyy
2024-10-29 10:34:26 +08:00
parent f683f61a30
commit cae2705f28
+1
View File
@@ -37,6 +37,7 @@ def train_logreg(X, y, learning_rate=0.01, iterations=1000):
return weights
def predict_logreg(inX, weights):
"""
对率回归预测函数。