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

This commit is contained in:
2024-11-03 15:34:50 +08:00
parent 86093768bb
commit 0b6f88965d
+1 -1
View File
@@ -4,7 +4,7 @@ from sklearn.preprocessing import StandardScaler
id = "202210423124"
name = "刘子豪"
def train_logreg(X, y, learning_rate=0.005, iterations=5000, reg_lambda=0.01):
def train_logreg(X, y, learning_rate=0.005, iterations=5000, reg_lambda=0.1):
"""
对率回归训练函数。