diff --git a/1- Neural Networks and Deep Learning/Readme.md b/1- Neural Networks and Deep Learning/Readme.md index 787825f8..d5a5ea3b 100644 --- a/1- Neural Networks and Deep Learning/Readme.md +++ b/1- Neural Networks and Deep Learning/Readme.md @@ -258,7 +258,7 @@ Here are the course summary as its given on the course [link](https://www.course # Forward pass z(i) = W1*x1(i) + W2*x2(i) + b a(i) = Sigmoid(z(i)) - J += (Y(i)*log(a(i)) + (1-Y(i))*log(1-a(i))) + J += -(Y(i)*log(a(i)) + (1-Y(i))*log(1-a(i))) # Backward pass dz(i) = a(i) - Y(i)