From e4ca22783336d92568737fc0654a9d4b89ad062a Mon Sep 17 00:00:00 2001 From: wujunjie <297081150@qq.com> Date: Tue, 29 Oct 2024 08:55:01 +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 b105a90..ccd0cda 100644 --- a/function.py +++ b/function.py @@ -26,7 +26,7 @@ name = "吴俊煯" # 这里写自己的代码实现 -def train_logreg(X, y, learning_rate=0.001, iterations=10000): +def train_logreg(X, y, learning_rate=0.1, iterations=100): m, n = X.shape weights = np.zeros(n) bias = 0