From f692741a557d1916d12ab3129467f5278e288d31 Mon Sep 17 00:00:00 2001 From: mrtnbrst Date: Mon, 6 Apr 2020 13:04:12 +0200 Subject: [PATCH] Fix typo in chapter 3: ch03.py and ch03.ipynb --- ch03/ch03.ipynb | 2 +- ch03/ch03.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ch03/ch03.ipynb b/ch03/ch03.ipynb index 8b7ace53..19a9dd54 100644 --- a/ch03/ch03.ipynb +++ b/ch03/ch03.ipynb @@ -290,7 +290,7 @@ "source": [ "**Note**\n", "\n", - "- You can replace `Perceptron(n_iter, ...)` by `Perceptron(max_iter, ...)` in scikit-learn >= 0.19. The `n_iter` parameter is used here deriberately, because some people still use scikit-learn 0.18." + "- You can replace `Perceptron(n_iter, ...)` by `Perceptron(max_iter, ...)` in scikit-learn >= 0.19. The `n_iter` parameter is used here deliberately, because some people still use scikit-learn 0.18." ] }, { diff --git a/ch03/ch03.py b/ch03/ch03.py index 806fb491..91005b35 100644 --- a/ch03/ch03.py +++ b/ch03/ch03.py @@ -131,7 +131,7 @@ # **Note** # -# - You can replace `Perceptron(n_iter, ...)` by `Perceptron(max_iter, ...)` in scikit-learn >= 0.19. The `n_iter` parameter is used here deriberately, because some people still use scikit-learn 0.18. +# - You can replace `Perceptron(n_iter, ...)` by `Perceptron(max_iter, ...)` in scikit-learn >= 0.19. The `n_iter` parameter is used here deliberately, because some people still use scikit-learn 0.18.