generated from LufsX/Experiment-LogReg
This commit is contained in:
@@ -30,9 +30,6 @@ import pandas as pd
|
|||||||
from sklearn.preprocessing import StandardScaler
|
from sklearn.preprocessing import StandardScaler
|
||||||
from sklearn.model_selection import train_test_split, KFold
|
from sklearn.model_selection import train_test_split, KFold
|
||||||
|
|
||||||
id = "202210423130"
|
|
||||||
name = "董秋"
|
|
||||||
|
|
||||||
def sigmoid(z):
|
def sigmoid(z):
|
||||||
"""Sigmoid 激活函数。"""
|
"""Sigmoid 激活函数。"""
|
||||||
return 1 / (1 + np.exp(-z))
|
return 1 / (1 + np.exp(-z))
|
||||||
|
|||||||
Reference in New Issue
Block a user