Skip to content

Commit c1977fd

Browse files
authored
Update utils.py
1 parent 672a82a commit c1977fd

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
@@ -10,7 +10,6 @@ def feature_split(X, feature_i, threshold):
1010

1111
X_left = np.array([sample for sample in X if split_func(sample)])
1212
X_right = np.array([sample for sample in X if not split_func(sample)])
13-
1413
return np.array([X_left, X_right])
1514

1615
### 计算基尼指数

0 commit comments

Comments
 (0)