From 37f35841f747dca1e665ec2addc961e7ff6e839c Mon Sep 17 00:00:00 2001 From: Ion Freeman Date: Sun, 14 Aug 2016 16:55:56 -0400 Subject: [PATCH] Moving function description for predict_probability inside function body --- ...le-3-linear-classifier-learning-assignment-blank.ipynb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/course-3/module-3-linear-classifier-learning-assignment-blank.ipynb b/course-3/module-3-linear-classifier-learning-assignment-blank.ipynb index 9db6771..13cc992 100644 --- a/course-3/module-3-linear-classifier-learning-assignment-blank.ipynb +++ b/course-3/module-3-linear-classifier-learning-assignment-blank.ipynb @@ -388,11 +388,11 @@ }, "outputs": [], "source": [ - "'''\n", - "produces probablistic estimate for P(y_i = +1 | x_i, w).\n", - "estimate ranges between 0 and 1.\n", - "'''\n", "def predict_probability(feature_matrix, coefficients):\n", + " '''\n", + " produces probablistic estimate for P(y_i = +1 | x_i, w).\n", + " estimate ranges between 0 and 1.\n", + " '''\n", " # Take dot product of feature_matrix and coefficients \n", " # YOUR CODE HERE\n", " ...\n",