From f20846416ecb4a5d89eab0600a77bd2ebe01ca10 Mon Sep 17 00:00:00 2001 From: enyoukai <52297896+enyoukai@users.noreply.github.com> Date: Thu, 2 Sep 2021 19:50:11 -0700 Subject: [PATCH 1/4] typo of element as elemennt --- Exercise1/exercise1.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Exercise1/exercise1.ipynb b/Exercise1/exercise1.ipynb index 38a9faed..6f921a48 100755 --- a/Exercise1/exercise1.ipynb +++ b/Exercise1/exercise1.ipynb @@ -371,7 +371,7 @@ "\n", "As you perform gradient descent to learn minimize the cost function $J(\\theta)$, it is helpful to monitor the convergence by computing the cost. In this section, you will implement a function to calculate $J(\\theta)$ so you can check the convergence of your gradient descent implementation. \n", "\n", - "Your next task is to complete the code for the function `computeCost` which computes $J(\\theta)$. As you are doing this, remember that the variables $X$ and $y$ are not scalar values. $X$ is a matrix whose rows represent the examples from the training set and $y$ is a vector whose each elemennt represent the value at a given row of $X$.\n", + "Your next task is to complete the code for the function `computeCost` which computes $J(\\theta)$. As you are doing this, remember that the variables $X$ and $y$ are not scalar values. $X$ is a matrix whose rows represent the examples from the training set and $y$ is a vector whose each element represent the value at a given row of $X$.\n", "" ] }, From 0b5560d6f39613e35eda1571c4cfa0f4dc34b530 Mon Sep 17 00:00:00 2001 From: GSKW <63060445+GSKW@users.noreply.github.com> Date: Fri, 26 Nov 2021 20:51:56 +0300 Subject: [PATCH 2/4] Fixed index system --- submission.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/submission.py b/submission.py index 135b19f5..2236f4f2 100755 --- a/submission.py +++ b/submission.py @@ -45,7 +45,7 @@ def grade(self): 'feedback'] part_evaluation = response['linked']['onDemandProgrammingScriptEvaluations.v1'][0]['parts'][str(part)] score = '%d / %3d' % (part_evaluation['score'], part_evaluation['maxScore']) - print('%43s | %9s | %-s' % (self.part_names[int(index) - 1], score, part_feedback)) + print('%43s | %9s | %-s' % (self.part_names[int(index)], score, part_feedback)) evaluation = response['linked']['onDemandProgrammingScriptEvaluations.v1'][0] total_score = '%d / %d' % (evaluation['score'], evaluation['maxScore']) print(' --------------------------------') From 5ea6e17ede688fb34fa4df5c53726d6efe411521 Mon Sep 17 00:00:00 2001 From: Zohair-coder <52404521+Zohair-coder@users.noreply.github.com> Date: Tue, 4 Jan 2022 17:21:36 +0500 Subject: [PATCH 3/4] Added requests dependency --- environment.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/environment.yml b/environment.yml index 07a7a45d..624707a3 100644 --- a/environment.yml +++ b/environment.yml @@ -5,5 +5,6 @@ dependencies: - jupyter=1.0.0 - matplotlib=2.1.2 - numpy=1.13.3 + - requests=2.26.0 - python=3.6.4 - scipy=1.0.0 From 5d06e83b5fbf51098594b0ba5c47aacb57bf738d Mon Sep 17 00:00:00 2001 From: Andrew Low Date: Thu, 26 May 2022 23:55:18 +0800 Subject: [PATCH 4/4] fix typo in exercise 5 --- Exercise5/exercise5.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Exercise5/exercise5.ipynb b/Exercise5/exercise5.ipynb index 5182c278..5da0c5f5 100755 --- a/Exercise5/exercise5.ipynb +++ b/Exercise5/exercise5.ipynb @@ -396,7 +396,7 @@ " A vector of shape m. error_train[i] contains the training error for\n", " i examples.\n", " error_val : array_like\n", - " A vecotr of shape m. error_val[i] contains the validation error for\n", + " A vector of shape m. error_val[i] contains the validation error for\n", " i training examples.\n", " \n", " Instructions\n",