From cdbe61436f3e9d6a9d31851a31bc32e42a381186 Mon Sep 17 00:00:00 2001 From: Frae19 <515745323@qq.com> Date: Tue, 5 Nov 2024 15:02:49 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20function.py?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- function.py | 1 + 1 file changed, 1 insertion(+) diff --git a/function.py b/function.py index 2eb9492..fb11ba4 100644 --- a/function.py +++ b/function.py @@ -27,6 +27,7 @@ id = "202210423629" name = "Tanjunfeng" # 这里写自己的代码实现 + def sigmoid(z): return 1 / (1 + np.exp(-z))