From dc9adb2fa5182a001cc123fa5118b155d4ace575 Mon Sep 17 00:00:00 2001 From: cy <939601402@qq.com> Date: Thu, 24 Oct 2024 17:25:03 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20function.py?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- function.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/function.py b/function.py index 20194d8..a81f5b1 100644 --- a/function.py +++ b/function.py @@ -28,7 +28,7 @@ def sigmoid(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): """ 对率回归训练函数。