Skip to content

Commit 4f1b841

Browse files
committed
avoid returning self at in py script ch02
1 parent b83dae0 commit 4f1b841

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

code/optional-py-scripts/ch02.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -410,4 +410,4 @@ def predict(self, X):
410410
# plt.savefig('./adaline_5.png', dpi=300)
411411
plt.show()
412412

413-
ada.partial_fit(X_std[0, :], y[0])
413+
ada = ada.partial_fit(X_std[0, :], y[0])

0 commit comments

Comments
 (0)