Skip to content

Commit b316a90

Browse files
authored
Update cart.py
1 parent c46209c commit b316a90

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

charpter11_GBDT/cart.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ def _mean_of_y(self, y):
176176
value = np.mean(y, axis=0)
177177
return value if len(value) > 1 else value[0]
178178

179-
# 回归树拟合
179+
# 回归树拟合
180180
def fit(self, X, y):
181181
self.impurity_calculation = self._calculate_variance_reduction
182182
self._leaf_value_calculation = self._mean_of_y

0 commit comments

Comments
 (0)