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

This commit is contained in:
cy
2024-10-24 17:25:03 +08:00
parent 3e85cd60ec
commit dc9adb2fa5
+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=128): def train_logreg(X, y, learning_rate=0.01, iterations=1000, batch_size=256):
""" """
对率回归训练函数。 对率回归训练函数。