From ae3c34f94cfa48c4c16eaed57e691bb0885ae201 Mon Sep 17 00:00:00 2001 From: Oscar Araque Date: Thu, 21 Mar 2019 19:35:50 +0100 Subject: [PATCH] description about parameter h added --- ml3/2_4_1_Exercise.ipynb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ml3/2_4_1_Exercise.ipynb b/ml3/2_4_1_Exercise.ipynb index fb2ef89..f9f1257 100644 --- a/ml3/2_4_1_Exercise.ipynb +++ b/ml3/2_4_1_Exercise.ipynb @@ -275,7 +275,10 @@ "print(classification_report(y_test, lr_preds))\n", "\n", "plt.figure(figsize=(10,7))\n", - "plot_decision_surface(X, y, lr)" + "# This methods outputs a visualization\n", + "# the h parameter adjusts the precision of the visualization\n", + "# if you find memory errors, set h to a higher value (e.g., h=0.1)\n", + "plot_decision_surface(X, y, lr, h=0.02) " ] }, {