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

This commit is contained in:
2024-10-29 08:53:30 +08:00
parent 57c8b82547
commit 356901b910
+1 -1
View File
@@ -26,7 +26,7 @@ name = "吴俊煯"
# 这里写自己的代码实现 # 这里写自己的代码实现
def train_logreg(X, y, learning_rate=0.01, iterations=1000): def train_logreg(X, y, learning_rate=0.001, iterations=10000):
m, n = X.shape m, n = X.shape
weights = np.zeros(n) weights = np.zeros(n)
bias = 0 bias = 0