generated from LufsX/Experiment-LogReg
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user