You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I believe that the derivative ought to be
return np.dot(np.multiply(W[1], W[0].T), sigmoid_grad(np.dot(x, W[0]) )
to remain consistent with chain rule,
Though, I am intrigued that you were able to get the same amount of convergence in spite of this.
The text was updated successfully, but these errors were encountered:
def d_neural_network_dx(W, x, k=1):
return np.dot(np.dot(W[1].T, W[0].T**k), sigmoid_grad(x))
I believe that the derivative ought to be
return np.dot(np.multiply(W[1], W[0].T), sigmoid_grad(np.dot(x, W[0]) )
to remain consistent with chain rule,
Though, I am intrigued that you were able to get the same amount of convergence in spite of this.
The text was updated successfully, but these errors were encountered: