From af4796e723917260911aeeb23f8ac2086e44ca4e Mon Sep 17 00:00:00 2001 From: Will Date: Mon, 23 Aug 2021 14:21:52 -0700 Subject: [PATCH] Change 'my_feature' to 'feature' to make it referenced locally. (#69) --- ml/cc/exercises/linear_regression_with_synthetic_data.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ml/cc/exercises/linear_regression_with_synthetic_data.ipynb b/ml/cc/exercises/linear_regression_with_synthetic_data.ipynb index 59e15e3..49c1138 100644 --- a/ml/cc/exercises/linear_regression_with_synthetic_data.ipynb +++ b/ml/cc/exercises/linear_regression_with_synthetic_data.ipynb @@ -313,7 +313,7 @@ " # at coordinates (x0, y0) and ends at coordinates (x1, y1).\n", " x0 = 0\n", " y0 = trained_bias\n", - " x1 = my_feature[-1]\n", + " x1 = feature[-1]\n", " y1 = trained_bias + (trained_weight * x1)\n", " plt.plot([x0, x1], [y0, y1], c='r')\n", "\n",