diff --git a/pull301/_sources/regression1.md b/pull301/_sources/regression1.md index be64dc0d..e20fe67c 100644 --- a/pull301/_sources/regression1.md +++ b/pull301/_sources/regression1.md @@ -295,13 +295,13 @@ of a house that is 2,000 square feet. ```{code-cell} ipython3 small_sacramento["dist"] = (2000 - small_sacramento["sqft"]).abs() -small_sacramento.nsmallest(5, "dist") +nearest_neighbors = small_sacramento.nsmallest(5, "dist") +nearest_neighbors ``` ```{code-cell} ipython3 :tags: [remove-cell] -nearest_neighbors = small_sacramento.nsmallest(5, "dist") nn_plot = small_plot + rule diff --git a/pull301/classification1.html b/pull301/classification1.html index c4441eb8..a2be73f8 100644 --- a/pull301/classification1.html +++ b/pull301/classification1.html @@ -872,23 +872,23 @@