diff --git a/Neural Networks and Deep Learning/week2/basics_numpy.py b/Neural Networks and Deep Learning/week2/basics_numpy.py index 8b046ec..4109c1c 100644 --- a/Neural Networks and Deep Learning/week2/basics_numpy.py +++ b/Neural Networks and Deep Learning/week2/basics_numpy.py @@ -135,7 +135,7 @@ def L2(yhat, y): """ ### START CODE HERE ### (≈ 1 line of code) - loss = np.sum(np.multiply(y - yhat), y - yhat, axis=0, keepdims=True) + loss = np.sum(np.multiply(y - yhat, y - yhat), axis=0, keepdims=True) ### END CODE HERE ### return loss @@ -153,4 +153,4 @@ def main(): if __name__ == "__main__": - main() \ No newline at end of file + main()