Skip to content
Permalink
Browse files

Add missing import, fixes #510

  • Loading branch information
ageron committed Nov 10, 2019
1 parent 82c4ecc commit 2adec01b34cbfe05866fca6bc724d093c8352e20
Showing with 2 additions and 0 deletions.
  1. +2 −0 01_the_machine_learning_landscape.ipynb
@@ -2918,6 +2918,7 @@
"outputs": [],
"source": [
"# Replace this linear model:\n",
"import sklearn.linear_model\n",
"model = sklearn.linear_model.LinearRegression()"
]
},
@@ -2928,6 +2929,7 @@
"outputs": [],
"source": [
"# with this k-neighbors regression model:\n",
"import sklearn.neighbors\n",
"model = sklearn.neighbors.KNeighborsRegressor(n_neighbors=3)"
]
},

0 comments on commit 2adec01

Please sign in to comment.
You can’t perform that action at this time.