From 1f229174a1a20bdb0d9890931ea0cfddb443422b Mon Sep 17 00:00:00 2001 From: Daniel Trebbien Date: Sun, 29 Jan 2017 09:58:36 -0500 Subject: [PATCH] Small fix to module-6 directions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit As reported here: https://www.coursera.org/learn/ml-classification/discussions/all/threads/fyRwy1yMEea3rQpoWFaegw/replies/bGoWil44Eea3rQpoWFaegw/comments/NOujbOWTEeao1BJzfLTSbg .. the directions should say “less than or equal to”. --- .../module-6-decision-tree-practical-assignment-blank.ipynb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/course-3/module-6-decision-tree-practical-assignment-blank.ipynb b/course-3/module-6-decision-tree-practical-assignment-blank.ipynb index 7d2f7e3..293d530 100644 --- a/course-3/module-6-decision-tree-practical-assignment-blank.ipynb +++ b/course-3/module-6-decision-tree-practical-assignment-blank.ipynb @@ -531,7 +531,7 @@ "\\text{classification error} = \\frac{\\text{# mistakes}}{\\text{# total examples}}\n", "$$\n", "* **Step 2:** Calculate the **classification error after splitting**. This requires calculating the number of mistakes in the left and right splits, and then dividing by the total number of examples.\n", - "* **Step 3:** Use the function **error_reduction** to that you implemented earlier to write an if condition to detect whether the reduction in error is less than the constant provided (`min_error_reduction`). Don't forget to use that argument.\n", + "* **Step 3:** Use the function **error_reduction** that you implemented earlier to write an if condition to detect whether the reduction in error is less than or equal to the constant provided (`min_error_reduction`). Don't forget to use that argument.\n", "* **Step 4:** Return a leaf. This line of code should be the same as the other (pre-implemented) stopping conditions.\n", "\n", "Fill in the places where you find `## YOUR CODE HERE`. There are **seven** places in this function for you to fill in." @@ -1212,7 +1212,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython2", - "version": "2.7.11" + "version": "2.7.13" } }, "nbformat": 4,