generated from LufsX/Experiment-LogReg
This commit is contained in:
+1
-1
@@ -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=64):
|
||||
def train_logreg(X, y, learning_rate=0.01, iterations=1000, batch_size=128):
|
||||
"""
|
||||
对率回归训练函数。
|
||||
|
||||
|
||||
Reference in New Issue
Block a user