数学公式测试

行内公式c=a2+b2c=\sqrt{a^2 + b^2}

行间公式

c=a2+b2c=\sqrt{a^2 + b^2}

BP算法

训练集 {(x(1),y(1)),,(x(m),y(m))}\left\{\left(x^{(1)}, y^{(1)}\right), \ldots,\left(x^{(m)}, y^{(m)}\right)\right\}

Δij(l)=0( for all l,i,j)\Delta_{i j}^{(l)}=0(\text { for all } l, i, j)

For i=1 to m\begin{array}{l}{\text {For } i=1 \text { to } m}\end{array}

 Set a(1)=x(i) Perform forward propagation to compute a(l) for l=2,3,,L Using y(i), compute δ(L)=a(L)y(i) Compute δ(L1),δ(l+1),,δ(2)Δij(l):=Δij(l)+aj(l)δi(l+1)\begin{array}{l}{\text { Set } a^{(1)}=x^{(i)}} \\ {\text { Perform forward propagation to compute } a^{(l)} \text { for } l=2,3, \ldots, L} \\ {\text { Using } y^{(i)}, \text { compute } \delta^{(L)}=a^{(L)}-y^{(i)}} \\ {\text { Compute } \delta^{(L-1)}, \delta^{(l+1)}, \ldots, \delta^{(2)}} \\ {\Delta_{i j}^{(l)} :=\Delta_{i j}^{(l)}+a_{j}^{(l)} \delta_{i}^{(l+1)}}\end{array}

Dij(l):=1mΔij(l)+λΘij(l) if j0Dij(l):=1mΔij(l) if j=0\begin{array}{l}{D_{i j}^{(l)} :=\frac{1}{m} \Delta_{i j}^{(l)}+\lambda \Theta_{i j}^{(l)}} & {\text { if } j \neq 0} \\ {D_{i j}^{(l)} :=\frac{1}{m} \Delta_{i j}^{(l)}} & {\text { if } j=0}\end{array}

其中 Θij(l)J(Θ)=Dij(l)\frac{\partial}{\partial \Theta_{i j}^{(l)}} J(\Theta)=D_{i j}^{(l)}


调了很久很久,原来是必须要先删除kramed后再安装markdown-it-down-plus,否则删不完全。

此外,hexo-math也是必须要安装的。

✨ 留言板 / Message Box

后端部署中,敬请期待喵...