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

This commit is contained in:
2024-10-29 18:39:21 +08:00
parent 203734d422
commit 7251ae381d
+2 -1
View File
@@ -29,7 +29,8 @@ def sigmoid(z):
# 对率回归训练函数
def train_logreg(X, y, learning_rate=0.01, iterations=1000):
def train_logreg(X, y, learning_rate=0.01, iterations=1000):
"""
对率回归训练函数。