Please help! I am stuck in implementing Forward and Backward propagation in python. I tried implementing the following codes but in vain. I will attach the image below.
{moderator edit - solution code removed}
Please help! I am stuck in implementing Forward and Backward propagation in python. I tried implementing the following codes but in vain. I will attach the image below.
A=σ(w^TX+b) is written in Mathematics form. What this means is to call the sigmoid function with the result of the dot product operation of two matrices, w^T and X, that has been added with b.
So in code, it would look like this
A=sigmoid(np.dot(w.T,X)+b)
Where np.dot() is the numpy library function for the dot product operation.
Hello, Thombson.
Also, please remove the code. It’s against the honor code.
Thanks.