Skip to content

Commit 79f1347

Browse files
authored
Update perceptron.py
1 parent fd72454 commit 79f1347

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

charpter8_neural_networks/perceptron.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ def train(self, X_train, y_train, learning_rate):
1818
for i in range(len(X_train)):
1919
X = X_train[i]
2020
y = y_train[i]
21+
2122
# 如果存在误分类点
2223
# 更新参数
2324
# 直到没有误分类点

0 commit comments

Comments
 (0)