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

This commit is contained in:
cy
2024-10-24 17:24:08 +08:00
parent dcc2b90235
commit 3e85cd60ec
+1 -1
View File
@@ -28,7 +28,7 @@ def sigmoid(z):
return 1.0 / (1 + np.exp(-z)) return 1.0 / (1 + np.exp(-z))
# 这里写自己的代码实现 # 这里写自己的代码实现
def train_logreg(X, y, learning_rate=0.01, iterations=1000, batch_size=64): def train_logreg(X, y, learning_rate=0.01, iterations=1000, batch_size=128):
""" """
对率回归训练函数。 对率回归训练函数。