We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 672a82a commit c1977fdCopy full SHA for c1977fd
charpter12_XGBoost/utils.py
@@ -10,7 +10,6 @@ def feature_split(X, feature_i, threshold):
10
11
X_left = np.array([sample for sample in X if split_func(sample)])
12
X_right = np.array([sample for sample in X if not split_func(sample)])
13
-
14
return np.array([X_left, X_right])
15
16
### 计算基尼指数
0 commit comments