Update Apprentice Exercise 7

Changed "import scipy" to "import scipy.spatial".
This commit is contained in:
ghevcoul 2015-03-05 14:03:41 -05:00
parent 9d5189d5bd
commit 101be3edf6

View File

@ -628,7 +628,7 @@
"print D\n",
"\n",
"# Much faster with scipy\n",
"import scipy\n",
"import scipy.spatial\n",
"Z = np.random.random((10,2))\n",
"D = scipy.spatial.distance.cdist(Z,Z)\n",
"print D"