Skip to content

Commit 25323b4

Browse files
authored
Update utils.py
1 parent 8f36e64 commit 25323b4

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

charpter12_XGBoost/utils.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ def feature_split(X, feature_i, threshold):
1313

1414
return np.array([X_left, X_right])
1515

16-
1716
### 计算基尼指数
1817
def calculate_gini(y):
1918
y = y.tolist()

0 commit comments

Comments
 (0)