From 4a4a01761fa05fd3e448280818dd045e4ccd0898 Mon Sep 17 00:00:00 2001 From: sxjeru Date: Sat, 25 Feb 2023 22:20:43 +0800 Subject: [PATCH 01/17] =?UTF-8?q?Update=2004.1-=E6=9C=80=E5=B0=8F=E4=BA=8C?= =?UTF-8?q?=E4=B9=98=E6=B3=95.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 公式修复 --- ...6\234\200\345\260\217\344\272\214\344\271\230\346\263\225.md" | 1 + 1 file changed, 1 insertion(+) diff --git "a/\345\237\272\347\241\200\346\225\231\347\250\213/A2-\347\245\236\347\273\217\347\275\221\347\273\234\345\237\272\346\234\254\345\216\237\347\220\206/\347\254\2542\346\255\245 - \347\272\277\346\200\247\345\233\236\345\275\222/04.1-\346\234\200\345\260\217\344\272\214\344\271\230\346\263\225.md" "b/\345\237\272\347\241\200\346\225\231\347\250\213/A2-\347\245\236\347\273\217\347\275\221\347\273\234\345\237\272\346\234\254\345\216\237\347\220\206/\347\254\2542\346\255\245 - \347\272\277\346\200\247\345\233\236\345\275\222/04.1-\346\234\200\345\260\217\344\272\214\344\271\230\346\263\225.md" index ce21d56ae..906be3862 100644 --- "a/\345\237\272\347\241\200\346\225\231\347\250\213/A2-\347\245\236\347\273\217\347\275\221\347\273\234\345\237\272\346\234\254\345\216\237\347\220\206/\347\254\2542\346\255\245 - \347\272\277\346\200\247\345\233\236\345\275\222/04.1-\346\234\200\345\260\217\344\272\214\344\271\230\346\263\225.md" +++ "b/\345\237\272\347\241\200\346\225\231\347\250\213/A2-\347\245\236\347\273\217\347\275\221\347\273\234\345\237\272\346\234\254\345\216\237\347\220\206/\347\254\2542\346\255\245 - \347\272\277\346\200\247\345\233\236\345\275\222/04.1-\346\234\200\345\260\217\344\272\214\344\271\230\346\263\225.md" @@ -26,6 +26,7 @@ $$z_i \simeq y_i \tag{2}$$ 其中,$x_i$ 是样本特征值,$y_i$ 是样本标签值,$z_i$ 是模型预测值。 如何学得 $w$ 和 $b$ 呢?均方差(MSE - mean squared error)是回归任务中常用的手段: + $$ J = \frac{1}{2m}\sum_{i=1}^m(z_i-y_i)^2 = \frac{1}{2m}\sum_{i=1}^m(y_i-wx_i-b)^2 \tag{3} $$ From fab734aae8706a9d89d9fc9bee0ee042e0c5ee92 Mon Sep 17 00:00:00 2001 From: sxjeru Date: Sat, 25 Feb 2023 22:20:58 +0800 Subject: [PATCH 02/17] =?UTF-8?q?Update=2004.2-=E6=A2=AF=E5=BA=A6=E4=B8=8B?= =?UTF-8?q?=E9=99=8D=E6=B3=95.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 公式修复 --- ...6\242\257\345\272\246\344\270\213\351\231\215\346\263\225.md" | 1 + 1 file changed, 1 insertion(+) diff --git "a/\345\237\272\347\241\200\346\225\231\347\250\213/A2-\347\245\236\347\273\217\347\275\221\347\273\234\345\237\272\346\234\254\345\216\237\347\220\206/\347\254\2542\346\255\245 - \347\272\277\346\200\247\345\233\236\345\275\222/04.2-\346\242\257\345\272\246\344\270\213\351\231\215\346\263\225.md" "b/\345\237\272\347\241\200\346\225\231\347\250\213/A2-\347\245\236\347\273\217\347\275\221\347\273\234\345\237\272\346\234\254\345\216\237\347\220\206/\347\254\2542\346\255\245 - \347\272\277\346\200\247\345\233\236\345\275\222/04.2-\346\242\257\345\272\246\344\270\213\351\231\215\346\263\225.md" index dd74ce4c1..26f5ace11 100644 --- "a/\345\237\272\347\241\200\346\225\231\347\250\213/A2-\347\245\236\347\273\217\347\275\221\347\273\234\345\237\272\346\234\254\345\216\237\347\220\206/\347\254\2542\346\255\245 - \347\272\277\346\200\247\345\233\236\345\275\222/04.2-\346\242\257\345\272\246\344\270\213\351\231\215\346\263\225.md" +++ "b/\345\237\272\347\241\200\346\225\231\347\250\213/A2-\347\245\236\347\273\217\347\275\221\347\273\234\345\237\272\346\234\254\345\216\237\347\220\206/\347\254\2542\346\255\245 - \347\272\277\346\200\247\345\233\236\345\275\222/04.2-\346\242\257\345\272\246\344\270\213\351\231\215\346\263\225.md" @@ -35,6 +35,7 @@ $$ #### 计算z的梯度 根据公式2: + $$ \frac{\partial loss}{\partial z_i}=z_i - y_i \tag{3} $$ From 33f03890632010c3d2da215634fffd82295b7a9d Mon Sep 17 00:00:00 2001 From: sxjeru Date: Sat, 25 Feb 2023 22:21:39 +0800 Subject: [PATCH 03/17] =?UTF-8?q?Update=2004.4-=E5=A4=9A=E6=A0=B7=E6=9C=AC?= =?UTF-8?q?=E8=AE=A1=E7=AE=97.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 公式修复 --- ...5\244\232\346\240\267\346\234\254\350\256\241\347\256\227.md" | 1 + 1 file changed, 1 insertion(+) diff --git "a/\345\237\272\347\241\200\346\225\231\347\250\213/A2-\347\245\236\347\273\217\347\275\221\347\273\234\345\237\272\346\234\254\345\216\237\347\220\206/\347\254\2542\346\255\245 - \347\272\277\346\200\247\345\233\236\345\275\222/04.4-\345\244\232\346\240\267\346\234\254\350\256\241\347\256\227.md" "b/\345\237\272\347\241\200\346\225\231\347\250\213/A2-\347\245\236\347\273\217\347\275\221\347\273\234\345\237\272\346\234\254\345\216\237\347\220\206/\347\254\2542\346\255\245 - \347\272\277\346\200\247\345\233\236\345\275\222/04.4-\345\244\232\346\240\267\346\234\254\350\256\241\347\256\227.md" index 2131dcd65..8cf6b5956 100644 --- "a/\345\237\272\347\241\200\346\225\231\347\250\213/A2-\347\245\236\347\273\217\347\275\221\347\273\234\345\237\272\346\234\254\345\216\237\347\220\206/\347\254\2542\346\255\245 - \347\272\277\346\200\247\345\233\236\345\275\222/04.4-\345\244\232\346\240\267\346\234\254\350\256\241\347\256\227.md" +++ "b/\345\237\272\347\241\200\346\225\231\347\250\213/A2-\347\245\236\347\273\217\347\275\221\347\273\234\345\237\272\346\234\254\345\216\237\347\220\206/\347\254\2542\346\255\245 - \347\272\277\346\200\247\345\233\236\345\275\222/04.4-\345\244\232\346\240\267\346\234\254\350\256\241\347\256\227.md" @@ -112,6 +112,7 @@ $$ $$ 其中: + $$ X = \begin{pmatrix} From cafbd14e55154a26d65c9a5dcdbd74b3f57d11d1 Mon Sep 17 00:00:00 2001 From: sxjeru Date: Sat, 25 Feb 2023 22:22:40 +0800 Subject: [PATCH 04/17] =?UTF-8?q?Update=2004.5-=E6=A2=AF=E5=BA=A6=E4=B8=8B?= =?UTF-8?q?=E9=99=8D=E7=9A=84=E4=B8=89=E7=A7=8D=E5=BD=A2=E5=BC=8F.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...7\232\204\344\270\211\347\247\215\345\275\242\345\274\217.md" | 1 + 1 file changed, 1 insertion(+) diff --git "a/\345\237\272\347\241\200\346\225\231\347\250\213/A2-\347\245\236\347\273\217\347\275\221\347\273\234\345\237\272\346\234\254\345\216\237\347\220\206/\347\254\2542\346\255\245 - \347\272\277\346\200\247\345\233\236\345\275\222/04.5-\346\242\257\345\272\246\344\270\213\351\231\215\347\232\204\344\270\211\347\247\215\345\275\242\345\274\217.md" "b/\345\237\272\347\241\200\346\225\231\347\250\213/A2-\347\245\236\347\273\217\347\275\221\347\273\234\345\237\272\346\234\254\345\216\237\347\220\206/\347\254\2542\346\255\245 - \347\272\277\346\200\247\345\233\236\345\275\222/04.5-\346\242\257\345\272\246\344\270\213\351\231\215\347\232\204\344\270\211\347\247\215\345\275\242\345\274\217.md" index 0ee0452cb..3b9453561 100644 --- "a/\345\237\272\347\241\200\346\225\231\347\250\213/A2-\347\245\236\347\273\217\347\275\221\347\273\234\345\237\272\346\234\254\345\216\237\347\220\206/\347\254\2542\346\255\245 - \347\272\277\346\200\247\345\233\236\345\275\222/04.5-\346\242\257\345\272\246\344\270\213\351\231\215\347\232\204\344\270\211\347\247\215\345\275\242\345\274\217.md" +++ "b/\345\237\272\347\241\200\346\225\231\347\250\213/A2-\347\245\236\347\273\217\347\275\221\347\273\234\345\237\272\346\234\254\345\216\237\347\220\206/\347\254\2542\346\255\245 - \347\272\277\346\200\247\345\233\236\345\275\222/04.5-\346\242\257\345\272\246\344\270\213\351\231\215\347\232\204\344\270\211\347\247\215\345\275\242\345\274\217.md" @@ -56,6 +56,7 @@ SGD(Stochastic Gradient Descent) 假设一共100个样本,每次使用1个样本: *** + $repeat \lbrace \\\\ \quad for \quad i=1,2,3,...,100 \lbrace \\\\ \quad \quad z_i = x_i \cdot w + b\\\\ From e93d8f136d4313c259aeb0a5943163fb6a45a81f Mon Sep 17 00:00:00 2001 From: sxjeru Date: Sat, 25 Feb 2023 22:23:34 +0800 Subject: [PATCH 05/17] =?UTF-8?q?Update=2004.5-=E6=A2=AF=E5=BA=A6=E4=B8=8B?= =?UTF-8?q?=E9=99=8D=E7=9A=84=E4=B8=89=E7=A7=8D=E5=BD=A2=E5=BC=8F.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...32\204\344\270\211\347\247\215\345\275\242\345\274\217.md" | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git "a/\345\237\272\347\241\200\346\225\231\347\250\213/A2-\347\245\236\347\273\217\347\275\221\347\273\234\345\237\272\346\234\254\345\216\237\347\220\206/\347\254\2542\346\255\245 - \347\272\277\346\200\247\345\233\236\345\275\222/04.5-\346\242\257\345\272\246\344\270\213\351\231\215\347\232\204\344\270\211\347\247\215\345\275\242\345\274\217.md" "b/\345\237\272\347\241\200\346\225\231\347\250\213/A2-\347\245\236\347\273\217\347\275\221\347\273\234\345\237\272\346\234\254\345\216\237\347\220\206/\347\254\2542\346\255\245 - \347\272\277\346\200\247\345\233\236\345\275\222/04.5-\346\242\257\345\272\246\344\270\213\351\231\215\347\232\204\344\270\211\347\247\215\345\275\242\345\274\217.md" index 3b9453561..5247a17e5 100644 --- "a/\345\237\272\347\241\200\346\225\231\347\250\213/A2-\347\245\236\347\273\217\347\275\221\347\273\234\345\237\272\346\234\254\345\216\237\347\220\206/\347\254\2542\346\255\245 - \347\272\277\346\200\247\345\233\236\345\275\222/04.5-\346\242\257\345\272\246\344\270\213\351\231\215\347\232\204\344\270\211\347\247\215\345\275\242\345\274\217.md" +++ "b/\345\237\272\347\241\200\346\225\231\347\250\213/A2-\347\245\236\347\273\217\347\275\221\347\273\234\345\237\272\346\234\254\345\216\237\347\220\206/\347\254\2542\346\255\245 - \347\272\277\346\200\247\345\233\236\345\275\222/04.5-\346\242\257\345\272\246\344\270\213\351\231\215\347\232\204\344\270\211\347\247\215\345\275\242\345\274\217.md" @@ -57,7 +57,7 @@ SGD(Stochastic Gradient Descent) *** -$repeat \lbrace \\\\ +$$repeat \lbrace \\\\ \quad for \quad i=1,2,3,...,100 \lbrace \\\\ \quad \quad z_i = x_i \cdot w + b\\\\ \quad \quad dw= x_i \cdot (z_i - y_i)\\\\ @@ -65,7 +65,7 @@ $repeat \lbrace \\\\ \quad \quad w=w-\eta \cdot dw \\\\ \quad \quad b=b-\eta \cdot db \\\\ \quad \rbrace \\\\ -\rbrace$ +\rbrace$$ *** From 58ad3c6d673557ba065f7926f08ecf213b58ecce Mon Sep 17 00:00:00 2001 From: sxjeru Date: Sat, 25 Feb 2023 22:26:32 +0800 Subject: [PATCH 06/17] =?UTF-8?q?Update=2005.2-=E7=A5=9E=E7=BB=8F=E7=BD=91?= =?UTF-8?q?=E7=BB=9C=E6=B3=95.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 公式修复 --- ...7\245\236\347\273\217\347\275\221\347\273\234\346\263\225.md" | 1 + 1 file changed, 1 insertion(+) diff --git "a/\345\237\272\347\241\200\346\225\231\347\250\213/A2-\347\245\236\347\273\217\347\275\221\347\273\234\345\237\272\346\234\254\345\216\237\347\220\206/\347\254\2542\346\255\245 - \347\272\277\346\200\247\345\233\236\345\275\222/05.2-\347\245\236\347\273\217\347\275\221\347\273\234\346\263\225.md" "b/\345\237\272\347\241\200\346\225\231\347\250\213/A2-\347\245\236\347\273\217\347\275\221\347\273\234\345\237\272\346\234\254\345\216\237\347\220\206/\347\254\2542\346\255\245 - \347\272\277\346\200\247\345\233\236\345\275\222/05.2-\347\245\236\347\273\217\347\275\221\347\273\234\346\263\225.md" index d746e90cd..088022839 100644 --- "a/\345\237\272\347\241\200\346\225\231\347\250\213/A2-\347\245\236\347\273\217\347\275\221\347\273\234\345\237\272\346\234\254\345\216\237\347\220\206/\347\254\2542\346\255\245 - \347\272\277\346\200\247\345\233\236\345\275\222/05.2-\347\245\236\347\273\217\347\275\221\347\273\234\346\263\225.md" +++ "b/\345\237\272\347\241\200\346\225\231\347\250\213/A2-\347\245\236\347\273\217\347\275\221\347\273\234\345\237\272\346\234\254\345\216\237\347\220\206/\347\254\2542\346\255\245 - \347\272\277\346\200\247\345\233\236\345\275\222/05.2-\347\245\236\347\273\217\347\275\221\347\273\234\346\263\225.md" @@ -83,6 +83,7 @@ $B$ 是个单值,因为输出层只有一个神经元,所以只有一个bias #### 输出层 由于我们只想完成一个回归(拟合)任务,所以输出层只有一个神经元。由于是线性的,所以没有用激活函数。 + $$ \begin{aligned} Z&= From 49d69961ccc375fb96879a4fd361ae84fd420da8 Mon Sep 17 00:00:00 2001 From: sxjeru Date: Sat, 25 Feb 2023 22:27:45 +0800 Subject: [PATCH 07/17] =?UTF-8?q?Update=2005.4-=E8=BF=98=E5=8E=9F=E5=8F=82?= =?UTF-8?q?=E6=95=B0=E5=80=BC.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 公式修复 --- ...\277\230\345\216\237\345\217\202\346\225\260\345\200\274.md" | 2 ++ 1 file changed, 2 insertions(+) diff --git "a/\345\237\272\347\241\200\346\225\231\347\250\213/A2-\347\245\236\347\273\217\347\275\221\347\273\234\345\237\272\346\234\254\345\216\237\347\220\206/\347\254\2542\346\255\245 - \347\272\277\346\200\247\345\233\236\345\275\222/05.4-\350\277\230\345\216\237\345\217\202\346\225\260\345\200\274.md" "b/\345\237\272\347\241\200\346\225\231\347\250\213/A2-\347\245\236\347\273\217\347\275\221\347\273\234\345\237\272\346\234\254\345\216\237\347\220\206/\347\254\2542\346\255\245 - \347\272\277\346\200\247\345\233\236\345\275\222/05.4-\350\277\230\345\216\237\345\217\202\346\225\260\345\200\274.md" index 946a0c80b..6d217f62c 100644 --- "a/\345\237\272\347\241\200\346\225\231\347\250\213/A2-\347\245\236\347\273\217\347\275\221\347\273\234\345\237\272\346\234\254\345\216\237\347\220\206/\347\254\2542\346\255\245 - \347\272\277\346\200\247\345\233\236\345\275\222/05.4-\350\277\230\345\216\237\345\217\202\346\225\260\345\200\274.md" +++ "b/\345\237\272\347\241\200\346\225\231\347\250\213/A2-\347\245\236\347\273\217\347\275\221\347\273\234\345\237\272\346\234\254\345\216\237\347\220\206/\347\254\2542\346\255\245 - \347\272\277\346\200\247\345\233\236\345\275\222/05.4-\350\277\230\345\216\237\345\217\202\346\225\260\345\200\274.md" @@ -78,6 +78,7 @@ z = x_1' w_1' + x_2' w_2' + b' \tag{z是预测值} $$ 由于训练时标签值(房价)并没有做标准化,意味着我们是用真实的房价做的训练,所以预测值和标签值应该相等,所以: + $$ y = z $$ @@ -86,6 +87,7 @@ x_1 w_1 + x_2 w_2 + b = x_1' w_1' + x_2' w_2' + b' \tag{1} $$ 标准化的公式是: + $$ x' = \frac{x - x_{min}}{x_{max}-x_{min}} \tag{2} $$ From d276eb29b8b78a4faa411db4f083bcb5db9e2bb6 Mon Sep 17 00:00:00 2001 From: sxjeru Date: Sat, 25 Feb 2023 22:30:13 +0800 Subject: [PATCH 08/17] =?UTF-8?q?Update=2004.5-=E6=A2=AF=E5=BA=A6=E4=B8=8B?= =?UTF-8?q?=E9=99=8D=E7=9A=84=E4=B8=89=E7=A7=8D=E5=BD=A2=E5=BC=8F.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 复原 --- ...\204\344\270\211\347\247\215\345\275\242\345\274\217.md" | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git "a/\345\237\272\347\241\200\346\225\231\347\250\213/A2-\347\245\236\347\273\217\347\275\221\347\273\234\345\237\272\346\234\254\345\216\237\347\220\206/\347\254\2542\346\255\245 - \347\272\277\346\200\247\345\233\236\345\275\222/04.5-\346\242\257\345\272\246\344\270\213\351\231\215\347\232\204\344\270\211\347\247\215\345\275\242\345\274\217.md" "b/\345\237\272\347\241\200\346\225\231\347\250\213/A2-\347\245\236\347\273\217\347\275\221\347\273\234\345\237\272\346\234\254\345\216\237\347\220\206/\347\254\2542\346\255\245 - \347\272\277\346\200\247\345\233\236\345\275\222/04.5-\346\242\257\345\272\246\344\270\213\351\231\215\347\232\204\344\270\211\347\247\215\345\275\242\345\274\217.md" index 5247a17e5..46773c23f 100644 --- "a/\345\237\272\347\241\200\346\225\231\347\250\213/A2-\347\245\236\347\273\217\347\275\221\347\273\234\345\237\272\346\234\254\345\216\237\347\220\206/\347\254\2542\346\255\245 - \347\272\277\346\200\247\345\233\236\345\275\222/04.5-\346\242\257\345\272\246\344\270\213\351\231\215\347\232\204\344\270\211\347\247\215\345\275\242\345\274\217.md" +++ "b/\345\237\272\347\241\200\346\225\231\347\250\213/A2-\347\245\236\347\273\217\347\275\221\347\273\234\345\237\272\346\234\254\345\216\237\347\220\206/\347\254\2542\346\255\245 - \347\272\277\346\200\247\345\233\236\345\275\222/04.5-\346\242\257\345\272\246\344\270\213\351\231\215\347\232\204\344\270\211\347\247\215\345\275\242\345\274\217.md" @@ -56,8 +56,7 @@ SGD(Stochastic Gradient Descent) 假设一共100个样本,每次使用1个样本: *** - -$$repeat \lbrace \\\\ +$repeat \lbrace \\\\ \quad for \quad i=1,2,3,...,100 \lbrace \\\\ \quad \quad z_i = x_i \cdot w + b\\\\ \quad \quad dw= x_i \cdot (z_i - y_i)\\\\ @@ -65,8 +64,7 @@ $$repeat \lbrace \\\\ \quad \quad w=w-\eta \cdot dw \\\\ \quad \quad b=b-\eta \cdot db \\\\ \quad \rbrace \\\\ -\rbrace$$ - +\rbrace$ *** #### 特点 From 364365621b3a4fb883f9e11dc0d138baaf645dbf Mon Sep 17 00:00:00 2001 From: sxjeru Date: Sat, 25 Feb 2023 22:39:43 +0800 Subject: [PATCH 09/17] =?UTF-8?q?Update=2006.2-=E7=BA=BF=E6=80=A7=E4=BA=8C?= =?UTF-8?q?=E5=88=86=E7=B1=BB=E5=AE=9E=E7=8E=B0.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 公式修复 --- ...\272\214\345\210\206\347\261\273\345\256\236\347\216\260.md" | 2 ++ 1 file changed, 2 insertions(+) diff --git "a/\345\237\272\347\241\200\346\225\231\347\250\213/A2-\347\245\236\347\273\217\347\275\221\347\273\234\345\237\272\346\234\254\345\216\237\347\220\206/\347\254\2543\346\255\245 - \347\272\277\346\200\247\345\210\206\347\261\273/06.2-\347\272\277\346\200\247\344\272\214\345\210\206\347\261\273\345\256\236\347\216\260.md" "b/\345\237\272\347\241\200\346\225\231\347\250\213/A2-\347\245\236\347\273\217\347\275\221\347\273\234\345\237\272\346\234\254\345\216\237\347\220\206/\347\254\2543\346\255\245 - \347\272\277\346\200\247\345\210\206\347\261\273/06.2-\347\272\277\346\200\247\344\272\214\345\210\206\347\261\273\345\256\236\347\216\260.md" index 83fd552f4..76a7184de 100644 --- "a/\345\237\272\347\241\200\346\225\231\347\250\213/A2-\347\245\236\347\273\217\347\275\221\347\273\234\345\237\272\346\234\254\345\216\237\347\220\206/\347\254\2543\346\255\245 - \347\272\277\346\200\247\345\210\206\347\261\273/06.2-\347\272\277\346\200\247\344\272\214\345\210\206\347\261\273\345\256\236\347\216\260.md" +++ "b/\345\237\272\347\241\200\346\225\231\347\250\213/A2-\347\245\236\347\273\217\347\275\221\347\273\234\345\237\272\346\234\254\345\216\237\347\220\206/\347\254\2543\346\255\245 - \347\272\277\346\200\247\345\210\206\347\261\273/06.2-\347\272\277\346\200\247\344\272\214\345\210\206\347\261\273\345\256\236\347\216\260.md" @@ -85,6 +85,7 @@ $$ \frac{\partial loss}{\partial w_2} \end{pmatrix} $$ + $$ =\begin{pmatrix} \frac{\partial loss}{\partial z}\frac{\partial z}{\partial w_1} \\\\ @@ -95,6 +96,7 @@ $$ (a-y)x_2 \end{pmatrix} $$ + $$ =(x_1 \ x_2)^{\top} (a-y) \tag{4} $$ From d7f85df71d34b79efa0c003a80903aaba1c858e9 Mon Sep 17 00:00:00 2001 From: sxjeru Date: Sat, 25 Feb 2023 22:42:55 +0800 Subject: [PATCH 10/17] =?UTF-8?q?Update=2001.3-=E7=A5=9E=E7=BB=8F=E7=BD=91?= =?UTF-8?q?=E7=BB=9C=E7=9A=84=E5=9F=BA=E6=9C=AC=E5=B7=A5=E4=BD=9C=E5=8E=9F?= =?UTF-8?q?=E7=90=86.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 公式修复 --- ...\234\254\345\267\245\344\275\234\345\216\237\347\220\206.md" | 2 ++ 1 file changed, 2 insertions(+) diff --git "a/\345\237\272\347\241\200\346\225\231\347\250\213/A2-\347\245\236\347\273\217\347\275\221\347\273\234\345\237\272\346\234\254\345\216\237\347\220\206/\347\254\2541\346\255\245 - \345\237\272\346\234\254\347\237\245\350\257\206/01.3-\347\245\236\347\273\217\347\275\221\347\273\234\347\232\204\345\237\272\346\234\254\345\267\245\344\275\234\345\216\237\347\220\206.md" "b/\345\237\272\347\241\200\346\225\231\347\250\213/A2-\347\245\236\347\273\217\347\275\221\347\273\234\345\237\272\346\234\254\345\216\237\347\220\206/\347\254\2541\346\255\245 - \345\237\272\346\234\254\347\237\245\350\257\206/01.3-\347\245\236\347\273\217\347\275\221\347\273\234\347\232\204\345\237\272\346\234\254\345\267\245\344\275\234\345\216\237\347\220\206.md" index 279b9ee6c..691247511 100644 --- "a/\345\237\272\347\241\200\346\225\231\347\250\213/A2-\347\245\236\347\273\217\347\275\221\347\273\234\345\237\272\346\234\254\345\216\237\347\220\206/\347\254\2541\346\255\245 - \345\237\272\346\234\254\347\237\245\350\257\206/01.3-\347\245\236\347\273\217\347\275\221\347\273\234\347\232\204\345\237\272\346\234\254\345\267\245\344\275\234\345\216\237\347\220\206.md" +++ "b/\345\237\272\347\241\200\346\225\231\347\250\213/A2-\347\245\236\347\273\217\347\275\221\347\273\234\345\237\272\346\234\254\345\216\237\347\220\206/\347\254\2541\346\255\245 - \345\237\272\346\234\254\347\237\245\350\257\206/01.3-\347\245\236\347\273\217\347\275\221\347\273\234\347\232\204\345\237\272\346\234\254\345\267\245\344\275\234\345\216\237\347\220\206.md" @@ -138,9 +138,11 @@ $$A=\sigma{(Z)}$$ $$ z1_1 = x_1 \cdot w1_{1,1}+ x_2 \cdot w1_{2,1}+b1_1 $$ + $$ z1_2 = x_1 \cdot w1_{1,2}+ x_2 \cdot w1_{2,2}+b1_2 $$ + $$ z1_3 = x_1 \cdot w1_{1,3}+ x_2 \cdot w1_{2,3}+b1_3 $$ From d558031fe77c63ec31c716802d2d093aa216e1c9 Mon Sep 17 00:00:00 2001 From: sxjeru Date: Sat, 25 Feb 2023 22:43:24 +0800 Subject: [PATCH 11/17] =?UTF-8?q?Update=2002.1-=E7=BA=BF=E6=80=A7=E5=8F=8D?= =?UTF-8?q?=E5=90=91=E4=BC=A0=E6=92=AD.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 公式修复 --- ...200\247\345\217\215\345\220\221\344\274\240\346\222\255.md" | 3 +++ 1 file changed, 3 insertions(+) diff --git "a/\345\237\272\347\241\200\346\225\231\347\250\213/A2-\347\245\236\347\273\217\347\275\221\347\273\234\345\237\272\346\234\254\345\216\237\347\220\206/\347\254\2541\346\255\245 - \345\237\272\346\234\254\347\237\245\350\257\206/02.1-\347\272\277\346\200\247\345\217\215\345\220\221\344\274\240\346\222\255.md" "b/\345\237\272\347\241\200\346\225\231\347\250\213/A2-\347\245\236\347\273\217\347\275\221\347\273\234\345\237\272\346\234\254\345\216\237\347\220\206/\347\254\2541\346\255\245 - \345\237\272\346\234\254\347\237\245\350\257\206/02.1-\347\272\277\346\200\247\345\217\215\345\220\221\344\274\240\346\222\255.md" index 7b4f1fccc..413f9a8f5 100644 --- "a/\345\237\272\347\241\200\346\225\231\347\250\213/A2-\347\245\236\347\273\217\347\275\221\347\273\234\345\237\272\346\234\254\345\216\237\347\220\206/\347\254\2541\346\255\245 - \345\237\272\346\234\254\347\237\245\350\257\206/02.1-\347\272\277\346\200\247\345\217\215\345\220\221\344\274\240\346\222\255.md" +++ "b/\345\237\272\347\241\200\346\225\231\347\250\213/A2-\347\245\236\347\273\217\347\275\221\347\273\234\345\237\272\346\234\254\345\216\237\347\220\206/\347\254\2541\346\255\245 - \345\237\272\346\234\254\347\237\245\350\257\206/02.1-\347\272\277\346\200\247\345\217\215\345\220\221\344\274\240\346\222\255.md" @@ -139,12 +139,15 @@ $$ $$ \frac{\partial{z}}{\partial{x}}=\frac{\partial{}}{\partial{x}}(x \cdot y)=y=9 $$ + $$ \frac{\partial{z}}{\partial{y}}=\frac{\partial{}}{\partial{y}}(x \cdot y)=x=18 $$ + $$ \frac{\partial{x}}{\partial{b}}=\frac{\partial{}}{\partial{b}}(2w+3b)=3 $$ + $$ \frac{\partial{y}}{\partial{b}}=\frac{\partial{}}{\partial{b}}(2b+1)=2 $$ From 67a8e96266acb24ac4e194c2bb7afcb5e25630af Mon Sep 17 00:00:00 2001 From: sxjeru Date: Sat, 25 Feb 2023 22:46:37 +0800 Subject: [PATCH 12/17] =?UTF-8?q?Update=2017.3-=E5=8D=B7=E7=A7=AF=E7=9A=84?= =?UTF-8?q?=E5=8F=8D=E5=90=91=E4=BC=A0=E6=92=AD=E5=8E=9F=E7=90=86.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...20\221\344\274\240\346\222\255\345\216\237\347\220\206.md" | 4 ++++ 1 file changed, 4 insertions(+) diff --git "a/\345\237\272\347\241\200\346\225\231\347\250\213/A2-\347\245\236\347\273\217\347\275\221\347\273\234\345\237\272\346\234\254\345\216\237\347\220\206/\347\254\2548\346\255\245 - \345\215\267\347\247\257\347\245\236\347\273\217\347\275\221\347\273\234/17.3-\345\215\267\347\247\257\347\232\204\345\217\215\345\220\221\344\274\240\346\222\255\345\216\237\347\220\206.md" "b/\345\237\272\347\241\200\346\225\231\347\250\213/A2-\347\245\236\347\273\217\347\275\221\347\273\234\345\237\272\346\234\254\345\216\237\347\220\206/\347\254\2548\346\255\245 - \345\215\267\347\247\257\347\245\236\347\273\217\347\275\221\347\273\234/17.3-\345\215\267\347\247\257\347\232\204\345\217\215\345\220\221\344\274\240\346\222\255\345\216\237\347\220\206.md" index a2b11f1b6..438037867 100644 --- "a/\345\237\272\347\241\200\346\225\231\347\250\213/A2-\347\245\236\347\273\217\347\275\221\347\273\234\345\237\272\346\234\254\345\216\237\347\220\206/\347\254\2548\346\255\245 - \345\215\267\347\247\257\347\245\236\347\273\217\347\275\221\347\273\234/17.3-\345\215\267\347\247\257\347\232\204\345\217\215\345\220\221\344\274\240\346\222\255\345\216\237\347\220\206.md" +++ "b/\345\237\272\347\241\200\346\225\231\347\250\213/A2-\347\245\236\347\273\217\347\275\221\347\273\234\345\237\272\346\234\254\345\216\237\347\220\206/\347\254\2548\346\255\245 - \345\215\267\347\247\257\347\245\236\347\273\217\347\275\221\347\273\234/17.3-\345\215\267\347\247\257\347\232\204\345\217\215\345\220\221\344\274\240\346\222\255\345\216\237\347\220\206.md" @@ -27,8 +27,11 @@ $$Z = W*A+b \tag{0}$$ 分解到每一项就是下列公式: $$z_{11} = w_{11} \cdot a_{11} + w_{12} \cdot a_{12} + w_{21} \cdot a_{21} + w_{22} \cdot a_{22} + b \tag{1}$$ + $$z_{12} = w_{11} \cdot a_{12} + w_{12} \cdot a_{13} + w_{21} \cdot a_{22} + w_{22} \cdot a_{23} + b \tag{2}$$ + $$z_{21} = w_{11} \cdot a_{21} + w_{12} \cdot a_{22} + w_{21} \cdot a_{31} + w_{22} \cdot a_{32} + b \tag{3}$$ + $$z_{22} = w_{11} \cdot a_{22} + w_{12} \cdot a_{23} + w_{21} \cdot a_{32} + w_{22} \cdot a_{33} + b \tag{4}$$ 求损失函数$J$对$a_{11}$的梯度: @@ -50,6 +53,7 @@ $$ $$ \frac{\partial J}{\partial a_{22}}=\frac{\partial J}{\partial z_{11}} \frac{\partial z_{11}}{\partial a_{22}}+\frac{\partial J}{\partial z_{12}} \frac{\partial z_{12}}{\partial a_{22}}+\frac{\partial J}{\partial z_{21}} \frac{\partial z_{21}}{\partial a_{22}}+\frac{\partial J}{\partial z_{22}} \frac{\partial z_{22}}{\partial a_{22}} $$ + $$ =\delta_{z11} \cdot w_{22} + \delta_{z12} \cdot w_{21} + \delta_{z21} \cdot w_{12} + \delta_{z22} \cdot w_{11} \tag{7} $$ From 7a0466985b5fc0e8c2673d237b6cfa57e0c411ed Mon Sep 17 00:00:00 2001 From: sxjeru Date: Sat, 25 Feb 2023 22:49:01 +0800 Subject: [PATCH 13/17] =?UTF-8?q?Update=2017.3-=E5=8D=B7=E7=A7=AF=E7=9A=84?= =?UTF-8?q?=E5=8F=8D=E5=90=91=E4=BC=A0=E6=92=AD=E5=8E=9F=E7=90=86.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 公式修复 --- ...344\274\240\346\222\255\345\216\237\347\220\206.md" | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git "a/\345\237\272\347\241\200\346\225\231\347\250\213/A2-\347\245\236\347\273\217\347\275\221\347\273\234\345\237\272\346\234\254\345\216\237\347\220\206/\347\254\2548\346\255\245 - \345\215\267\347\247\257\347\245\236\347\273\217\347\275\221\347\273\234/17.3-\345\215\267\347\247\257\347\232\204\345\217\215\345\220\221\344\274\240\346\222\255\345\216\237\347\220\206.md" "b/\345\237\272\347\241\200\346\225\231\347\250\213/A2-\347\245\236\347\273\217\347\275\221\347\273\234\345\237\272\346\234\254\345\216\237\347\220\206/\347\254\2548\346\255\245 - \345\215\267\347\247\257\347\245\236\347\273\217\347\275\221\347\273\234/17.3-\345\215\267\347\247\257\347\232\204\345\217\215\345\220\221\344\274\240\346\222\255\345\216\237\347\220\206.md" index 438037867..4e180c368 100644 --- "a/\345\237\272\347\241\200\346\225\231\347\250\213/A2-\347\245\236\347\273\217\347\275\221\347\273\234\345\237\272\346\234\254\345\216\237\347\220\206/\347\254\2548\346\255\245 - \345\215\267\347\247\257\347\245\236\347\273\217\347\275\221\347\273\234/17.3-\345\215\267\347\247\257\347\232\204\345\217\215\345\220\221\344\274\240\346\222\255\345\216\237\347\220\206.md" +++ "b/\345\237\272\347\241\200\346\225\231\347\250\213/A2-\347\245\236\347\273\217\347\275\221\347\273\234\345\237\272\346\234\254\345\216\237\347\220\206/\347\254\2548\346\255\245 - \345\215\267\347\247\257\347\245\236\347\273\217\347\275\221\347\273\234/17.3-\345\215\267\347\247\257\347\232\204\345\217\215\345\220\221\344\274\240\346\222\255\345\216\237\347\220\206.md" @@ -136,13 +136,19 @@ $$ 正向公式: $$z_{111} = w_{111} \cdot a_{11} + w_{112} \cdot a_{12} + w_{121} \cdot a_{21} + w_{122} \cdot a_{22}$$ + $$z_{112} = w_{111} \cdot a_{12} + w_{112} \cdot a_{13} + w_{121} \cdot a_{22} + w_{122} \cdot a_{23}$$ + $$z_{121} = w_{111} \cdot a_{21} + w_{112} \cdot a_{22} + w_{121} \cdot a_{31} + w_{122} \cdot a_{32}$$ + $$z_{122} = w_{111} \cdot a_{22} + w_{112} \cdot a_{23} + w_{121} \cdot a_{32} + w_{122} \cdot a_{33}$$ $$z_{211} = w_{211} \cdot a_{11} + w_{212} \cdot a_{12} + w_{221} \cdot a_{21} + w_{222} \cdot a_{22}$$ + $$z_{212} = w_{211} \cdot a_{12} + w_{212} \cdot a_{13} + w_{221} \cdot a_{22} + w_{222} \cdot a_{23}$$ + $$z_{221} = w_{211} \cdot a_{21} + w_{212} \cdot a_{22} + w_{221} \cdot a_{31} + w_{222} \cdot a_{32}$$ + $$z_{222} = w_{211} \cdot a_{22} + w_{212} \cdot a_{23} + w_{221} \cdot a_{32} + w_{222} \cdot a_{33}$$ 求$J$对$a_{22}$的梯度: @@ -180,18 +186,21 @@ z_{11} &= w_{111} \cdot a_{111} + w_{112} \cdot a_{112} + w_{121} \cdot a_{121} \end{aligned} \tag{10} $$ + $$ \begin{aligned} z_{12} &= w_{111} \cdot a_{112} + w_{112} \cdot a_{113} + w_{121} \cdot a_{122} + w_{122} \cdot a_{123} \\\\ &+ w_{211} \cdot a_{212} + w_{212} \cdot a_{213} + w_{221} \cdot a_{222} + w_{222} \cdot a_{223} \end{aligned}\tag{11} $$ + $$ \begin{aligned} z_{21} &= w_{111} \cdot a_{121} + w_{112} \cdot a_{122} + w_{121} \cdot a_{131} + w_{122} \cdot a_{132} \\\\ &+ w_{211} \cdot a_{221} + w_{212} \cdot a_{222} + w_{221} \cdot a_{231} + w_{222} \cdot a_{232} \end{aligned}\tag{12} $$ + $$ \begin{aligned} z_{22} &= w_{111} \cdot a_{122} + w_{112} \cdot a_{123} + w_{121} \cdot a_{132} + w_{122} \cdot a_{133} \\\\ @@ -325,6 +334,7 @@ $$ $$ z = x * w $$ + $$ loss = \frac{1}{2}(z-y)^2 $$ From 7925d4c118c672776de246c493fb2cecfb8d5bc4 Mon Sep 17 00:00:00 2001 From: sxjeru Date: Sat, 25 Feb 2023 23:01:40 +0800 Subject: [PATCH 14/17] Update README.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 可能解决 #751 --- .../README.md" | 32 +++++++++---------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git "a/\345\237\272\347\241\200\346\225\231\347\250\213/A2-\347\245\236\347\273\217\347\275\221\347\273\234\345\237\272\346\234\254\345\216\237\347\220\206/README.md" "b/\345\237\272\347\241\200\346\225\231\347\250\213/A2-\347\245\236\347\273\217\347\275\221\347\273\234\345\237\272\346\234\254\345\216\237\347\220\206/README.md" index 88906461a..2b22a46e1 100644 --- "a/\345\237\272\347\241\200\346\225\231\347\250\213/A2-\347\245\236\347\273\217\347\275\221\347\273\234\345\237\272\346\234\254\345\216\237\347\220\206/README.md" +++ "b/\345\237\272\347\241\200\346\225\231\347\250\213/A2-\347\245\236\347\273\217\347\275\221\347\273\234\345\237\272\346\234\254\345\216\237\347\220\206/README.md" @@ -56,22 +56,22 @@ |网络结构名称|网络结构图|应用领域| |---|----|----| -|单入
单出
一层||一元线性回归| -|多入
单出
一层||多元线性回归| -|多入
单出
一层||线性二分类
| -|多入
多出
一层||线性多分类
| -|单入
单出
两层||一元非线性回归/拟合
可以拟合任意复杂函数| -|多入
单出
两层||非线性二分类| -|多入
多出
两层||非线性多分类| -|多入
多出
三层||非线性多分类| -|多层全连接网络||非线性多分类| -|带批归一化层的多层全连接网络||非线性多分类| -|带丢弃层的多层全连接网络||非线性多分类| -|简单的卷积神经网络||非线性多分类| -|复杂的卷积神经网络||非线性多分类| -|单向循环神经网络||非线性多分类| -|双向循环神经网络||非线性多分类| -|深度循环神经网络||非线性多分类| +|单入
单出
一层||一元线性回归| +|多入
单出
一层||多元线性回归| +|多入
单出
一层||线性二分类
| +|多入
多出
一层||线性多分类
| +|单入
单出
两层||一元非线性回归/拟合
可以拟合任意复杂函数| +|多入
单出
两层||非线性二分类| +|多入
多出
两层||非线性多分类| +|多入
多出
三层||非线性多分类| +|多层全连接网络||非线性多分类| +|带批归一化层的多层全连接网络||非线性多分类| +|带丢弃层的多层全连接网络||非线性多分类| +|简单的卷积神经网络||非线性多分类| +|复杂的卷积神经网络||非线性多分类| +|单向循环神经网络||非线性多分类| +|双向循环神经网络||非线性多分类| +|深度循环神经网络||非线性多分类| ## 写在后面 From deb2b078f4815f8855a84d416840fbdeea599e43 Mon Sep 17 00:00:00 2001 From: sxjeru Date: Sun, 26 Feb 2023 10:29:00 +0800 Subject: [PATCH 15/17] =?UTF-8?q?Update=2005.1-=E6=AD=A3=E8=A7=84=E6=96=B9?= =?UTF-8?q?=E7=A8=8B=E6=B3=95.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...\255\243\350\247\204\346\226\271\347\250\213\346\263\225.md" | 2 ++ 1 file changed, 2 insertions(+) diff --git "a/\345\237\272\347\241\200\346\225\231\347\250\213/A2-\347\245\236\347\273\217\347\275\221\347\273\234\345\237\272\346\234\254\345\216\237\347\220\206/\347\254\2542\346\255\245 - \347\272\277\346\200\247\345\233\236\345\275\222/05.1-\346\255\243\350\247\204\346\226\271\347\250\213\346\263\225.md" "b/\345\237\272\347\241\200\346\225\231\347\250\213/A2-\347\245\236\347\273\217\347\275\221\347\273\234\345\237\272\346\234\254\345\216\237\347\220\206/\347\254\2542\346\255\245 - \347\272\277\346\200\247\345\233\236\345\275\222/05.1-\346\255\243\350\247\204\346\226\271\347\250\213\346\263\225.md" index b3c33b069..4e5ab3d65 100644 --- "a/\345\237\272\347\241\200\346\225\231\347\250\213/A2-\347\245\236\347\273\217\347\275\221\347\273\234\345\237\272\346\234\254\345\216\237\347\220\206/\347\254\2542\346\255\245 - \347\272\277\346\200\247\345\233\236\345\275\222/05.1-\346\255\243\350\247\204\346\226\271\347\250\213\346\263\225.md" +++ "b/\345\237\272\347\241\200\346\225\231\347\250\213/A2-\347\245\236\347\273\217\347\275\221\347\273\234\345\237\272\346\234\254\345\216\237\347\220\206/\347\254\2542\346\255\245 - \347\272\277\346\200\247\345\233\236\345\275\222/05.1-\346\255\243\350\247\204\346\226\271\347\250\213\346\263\225.md" @@ -108,9 +108,11 @@ $$ $$ \frac{\partial J}{\partial W}=2X^{\top}XW - 2X^{\top}Y=0 \tag{14} $$ + $$ X^{\top}XW = X^{\top}Y \tag{15} $$ + $$ W=(X^{\top}X)^{-1}X^{\top}Y \tag{16} $$ From 056898028ddcab04147dd40aa43137dde0efb691 Mon Sep 17 00:00:00 2001 From: sxjeru Date: Sun, 26 Feb 2023 10:30:32 +0800 Subject: [PATCH 16/17] =?UTF-8?q?Update=2004.0-=E5=8D=95=E5=85=A5=E5=8D=95?= =?UTF-8?q?=E5=87=BA=E5=8D=95=E5=B1=82-=E5=8D=95=E5=8F=98=E9=87=8F?= =?UTF-8?q?=E7=BA=BF=E6=80=A7=E5=9B=9E=E5=BD=92.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...07\217\347\272\277\346\200\247\345\233\236\345\275\222.md" | 4 ++++ 1 file changed, 4 insertions(+) diff --git "a/\345\237\272\347\241\200\346\225\231\347\250\213/A2-\347\245\236\347\273\217\347\275\221\347\273\234\345\237\272\346\234\254\345\216\237\347\220\206/\347\254\2542\346\255\245 - \347\272\277\346\200\247\345\233\236\345\275\222/04.0-\345\215\225\345\205\245\345\215\225\345\207\272\345\215\225\345\261\202-\345\215\225\345\217\230\351\207\217\347\272\277\346\200\247\345\233\236\345\275\222.md" "b/\345\237\272\347\241\200\346\225\231\347\250\213/A2-\347\245\236\347\273\217\347\275\221\347\273\234\345\237\272\346\234\254\345\216\237\347\220\206/\347\254\2542\346\255\245 - \347\272\277\346\200\247\345\233\236\345\275\222/04.0-\345\215\225\345\205\245\345\215\225\345\207\272\345\215\225\345\261\202-\345\215\225\345\217\230\351\207\217\347\272\277\346\200\247\345\233\236\345\275\222.md" index 030a77599..75925b8a7 100644 --- "a/\345\237\272\347\241\200\346\225\231\347\250\213/A2-\347\245\236\347\273\217\347\275\221\347\273\234\345\237\272\346\234\254\345\216\237\347\220\206/\347\254\2542\346\255\245 - \347\272\277\346\200\247\345\233\236\345\275\222/04.0-\345\215\225\345\205\245\345\215\225\345\207\272\345\215\225\345\261\202-\345\215\225\345\217\230\351\207\217\347\272\277\346\200\247\345\233\236\345\275\222.md" +++ "b/\345\237\272\347\241\200\346\225\231\347\250\213/A2-\347\245\236\347\273\217\347\275\221\347\273\234\345\237\272\346\234\254\345\216\237\347\220\206/\347\254\2542\346\255\245 - \347\272\277\346\200\247\345\233\236\345\275\222/04.0-\345\215\225\345\205\245\345\215\225\345\207\272\345\215\225\345\261\202-\345\215\225\345\217\230\351\207\217\347\272\277\346\200\247\345\233\236\345\275\222.md" @@ -114,6 +114,7 @@ W= w_{1} \\\\ w_{2} \\\\ w_{3} \end{pmatrix} $$ + $$ Y=W^{\top}X+B= \begin{pmatrix} @@ -126,6 +127,7 @@ x_{3} \end{pmatrix} +b $$ + $$ =w_1 \cdot x_1 + w_2 \cdot x_2 + w_3 \cdot x_3 + b \tag{4} $$ @@ -168,6 +170,7 @@ x_{3} \end{pmatrix} +b $$ + $$ =w_1 \cdot x_1 + w_2 \cdot x_2 + w_3 \cdot x_3 + b \tag{5} $$ @@ -206,6 +209,7 @@ w_{3} \end{pmatrix} +b $$ + $$ =x_1 \cdot w_1 + x_2 \cdot w_2 + x_3 \cdot w_3 + b \tag{6} $$ From ad337b0f741eb827fb58c07b1e91e39a2549818b Mon Sep 17 00:00:00 2001 From: sxjeru Date: Sun, 26 Feb 2023 10:48:40 +0800 Subject: [PATCH 17/17] Update Deploy_website.yml --- .github/workflows/Deploy_website.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/Deploy_website.yml b/.github/workflows/Deploy_website.yml index 5ecb32923..469116441 100644 --- a/.github/workflows/Deploy_website.yml +++ b/.github/workflows/Deploy_website.yml @@ -5,10 +5,11 @@ name: CI # Controls when the action will run. on: # Triggers the workflow on push or pull request events but only for the main branch - push: - branches: [ master ] - pull_request: - branches: [ master ] +# push: +# branches: [ master ] +# pull_request: +# branches: [ master ] + workflow_dispatch: # A workflow run is made up of one or more jobs that can run sequentially or in parallel jobs: @@ -36,7 +37,7 @@ jobs: # Installation dependency - run: pip install git+https://github.com/IMSUVEN/mkdocs.git - - run: pip install mkdocs-material==7.1.8 mkdocs-material-extensions==1.0.1 pymdown-extensions==8.2 jieba==0.42.1 + - run: pip install mkdocs-material==7.1.8 mkdocs-material-extensions==1.0.1 pymdown-extensions==8.2 jieba==0.42.1 pygments==2.11.0 # Deploy website - run: mkdocs gh-deploy --force