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

This commit is contained in:
2024-11-03 15:18:22 +08:00
parent b96afe2f01
commit 86093768bb
+1 -1
View File
@@ -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):
"""
对率回归训练函数。