diff --git a/10_Manual_Feature_Engineering_code.ipynb b/10_Manual_Feature_Engineering_code.ipynb index 6ca82bd..0a05590 100644 --- a/10_Manual_Feature_Engineering_code.ipynb +++ b/10_Manual_Feature_Engineering_code.ipynb @@ -718,7 +718,7 @@ "predicted = (smf.ols(\"d2 ~ x_sq\", data=magic)\n", " .fit()\n", " .predict())\n", - "actual = comparison['d2']\n", + "actual = magic['d2']\n", "sns.distplot(predicted - actual, rug=True, \n", " norm_hist = True, ax=ax2)\n", "\n", @@ -827,7 +827,25 @@ ] } ], - "metadata": {}, + "metadata": { + "kernelspec": { + "display_name": "Python 3", + "language": "python", + "name": "python3" + }, + "language_info": { + "codemirror_mode": { + "name": "ipython", + "version": 3 + }, + "file_extension": ".py", + "mimetype": "text/x-python", + "name": "python", + "nbconvert_exporter": "python", + "pygments_lexer": "ipython3", + "version": "3.8.5" + } + }, "nbformat": 4, "nbformat_minor": 2 }