Calculating dz2 in batch training
Opened this issue · 2 comments
Hello. Investigating your blog, I've stumbled upon this line in training function:
xor-neural-network/XOR-Net-Notebook.ipynb
Line 433 in af6eda3
If following the math background of your source, they compute the output layer delta (in your case dz2
) as δx,L=∇aCx⊙σ′(zx,L)
, which should be translated to your code as:
dz2 = np.multiply(a2 - y[j], sigmoid(a2, derv=True)) # 1x1 .* 1x1 = 1x1
Or am I missing something?
Thank you for your time (and repo) and I'm looking forward for your answer.
Sorry? you have send your messege to wrong e-майл, re-send it to write man/ Goog luck !
I did not send email. I wrote an issue to @Frixoe github repo xor-neural-network
. Maybe you are watching the repository and you got notification from github to your email.
Thank you for your concerns and have a nice life. 😉