From d85edc9d22c5c64af4ead9cc836cadeeb79db421 Mon Sep 17 00:00:00 2001 From: Xionghaoran <719929980@qq.com> Date: Thu, 31 Oct 2024 16:06:18 +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 | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/function.py b/function.py index 3fee1a5..9bcddf9 100644 --- a/function.py +++ b/function.py @@ -1,5 +1,14 @@ import numpy as np +""" +实验说明: +- 自行编写实现数据加载与预测病马死亡的对率回归算法。 +""" + +# 填写学号和姓名 +id = "202210423213" # 请替换为实际学号 +name = "熊浩燃" # 请替换为实际姓名 + def sigmoid(z): """计算Sigmoid函数值""" return 1 / (1 + np.exp(-z))