From 40f5eca82eb43b29d842006cc8287d63bc15070b Mon Sep 17 00:00:00 2001 From: andy Date: Sun, 4 Jun 2023 22:34:31 +0100 Subject: [PATCH] Revert "vault backup: 2023-06-04 22:31:53" This reverts commit e353f5fccb6aa71a2e2ad4327f976e30622b5e18. --- AI/Neural Networks/MLP/Back-Propagation.md | 24 +++++++++++++++++----- 1 file changed, 19 insertions(+), 5 deletions(-) diff --git a/AI/Neural Networks/MLP/Back-Propagation.md b/AI/Neural Networks/MLP/Back-Propagation.md index 97f2bac..442a775 100644 --- a/AI/Neural Networks/MLP/Back-Propagation.md +++ b/AI/Neural Networks/MLP/Back-Propagation.md @@ -44,13 +44,27 @@ $$\Delta w_{ji}(n)=\eta\delta_j(n)y_i(n)$$ ## Gradients #### Output Local $$\delta_j(n)=-\frac{\partial\mathfrak E (n)}{\partial v_j(n)}$$ -$$=-\frac{\partial\mathfrak E(n)}{\partial e_j(n)}\frac{\partial e_j(n)}{\partial y_j(n)}\frac{\partial y_j(n){\partial v_j(n)}$$ -$$=e_j(n)\cdot\varphi_j'(v_j(n))$$ +$$=- +\frac{\partial\mathfrak E(n)}{\partial e_j(n)} +\frac{\partial e_j(n)}{\partial y_j(n)} +\frac{\partial y_j(n)}{\partial v_j(n)}$$ +$$= +e_j(n)\cdot +\varphi_j'(v_j(n)) +$$ #### Hidden Local -$$\delta_j(n)=-\frac{\partial\mathfrak E (n)}{\partial y_j(n)}\frac{\partial y_j(n)}{\partial v_j(n)}$$ -$$=-\frac{\partial\mathfrak E (n)}{\partial y_j(n)}\cdot\varphi_j'(v_j(n))$$ -$$\delta_j(n)=\varphi_j'(v_j(n))\cdot\sum_k \delta_k(n)\cdot w_{kj}(n)$$ +$$\delta_j(n)=- +\frac{\partial\mathfrak E (n)}{\partial y_j(n)} +\frac{\partial y_j(n)}{\partial v_j(n)}$$ +$$=- +\frac{\partial\mathfrak E (n)}{\partial y_j(n)} +\cdot +\varphi_j'(v_j(n))$$ +$$\delta_j(n)= +\varphi_j'(v_j(n)) +\cdot +\sum_k \delta_k(n)\cdot w_{kj}(n)$$ ## Weight Correction $$\text{weight correction = learning rate $\cdot$ local gradient $\cdot$ input signal of neuron $j$}$$