generated from LufsX/Experiment-LogReg
This commit is contained in:
+1
-1
@@ -36,7 +36,7 @@ def train_logreg(X, y, learning_rate=0.01, iterations=1000):
|
||||
Args:
|
||||
- X (numpy array): 特征数据。
|
||||
- y (numpy array): 标签数据。
|
||||
- other_params (str): 其它参数,可选设置。若需设置其它参数,必须设置其默认值,否则将**无法通过**自动评测,**成绩为零**。
|
||||
- other_params (str): 其它参数,可选设置。若需设置其它参数,必须设置其默认值,否则将**无法通过**自动评测,**成绩为零*。
|
||||
|
||||
Returns:
|
||||
- numpy array: 训练得到的权重。
|
||||
|
||||
Reference in New Issue
Block a user