From 86093768bb4d5b0e8f7734efc919168ff438b854 Mon Sep 17 00:00:00 2001 From: Ulysses-ui <3233559397@qq.com> Date: Sun, 3 Nov 2024 15:18:22 +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 2cd0aae..bd868f9 100644 --- a/function.py +++ b/function.py @@ -4,7 +4,7 @@ from sklearn.preprocessing import StandardScaler id = "202210423124" name = "刘子豪" -def train_logreg(X, y, learning_rate=0.01, iterations=1000, reg_lambda=0.01): +def train_logreg(X, y, learning_rate=0.005, iterations=5000, reg_lambda=0.01): """ 对率回归训练函数。