diff --git a/ProgrammingAssignment_1/model.ipynb b/ProgrammingAssignment_1/model.ipynb index dcfb2390ae89af6cf83559eca7671c93fe940147..48316f283e18f40d6072589ecfccf3f3654d5cb2 100644 --- a/ProgrammingAssignment_1/model.ipynb +++ b/ProgrammingAssignment_1/model.ipynb @@ -123,12 +123,12 @@ " dist: float\n", " '''\n", "if metric == 'Euclidean':\n", - "raise NotImplementedError", + " raise NotImplementedError", "elif metric == 'Manhattan':\n", - "raise NotImplementedError\n", + " raise NotImplementedError\n", "else:\n", - "raise ValueError('{} is not a valid metric.'.format(metric))\n", - " return dist # scalar distance btw x and y" + " raise ValueError('{} is not a valid metric.'.format(metric))\n", + " return dist # scalar distance btw x and y" ] }, {