From a3f8fabf6b9dda0c7b01b142cbc18c7164e57757 Mon Sep 17 00:00:00 2001
From: rasbt <mail@sebastianraschka.com>
Date: Sat, 23 Jun 2018 22:43:26 -0400
Subject: [PATCH] add a note about regularization strength

---
 code/ch04/ch04.ipynb | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/code/ch04/ch04.ipynb b/code/ch04/ch04.ipynb
index a58ad51..df17f29 100644
--- a/code/ch04/ch04.ipynb
+++ b/code/ch04/ch04.ipynb
@@ -2028,6 +2028,9 @@
     "from sklearn.linear_model import LogisticRegression\n",
     "\n",
     "lr = LogisticRegression(penalty='l1', C=1.0)\n",
+    "# Note that C=1.0 is the default. You can increase\n",
+    "# or decrease it to make the regulariztion effect\n",
+    "# stronger or weaker, respectively.\n",
     "lr.fit(X_train_std, y_train)\n",
     "print('Training accuracy:', lr.score(X_train_std, y_train))\n",
     "print('Test accuracy:', lr.score(X_test_std, y_test))"