Skip to content

Commit d6fefbc

Browse files
committed
Fix grf tree
1 parent d48c2e4 commit d6fefbc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ylearn/estimator_model/_generalized_forest/tree/_grf_tree.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ def _fit_with_array(self, x, y, w, v, sample_weight=None):
331331
self.max_features_ = max_features
332332

333333
max_leaf_nodes = (
334-
np.int(1e3) if self.max_leaf_nodes is None else self.max_leaf_nodes
334+
1000 if self.max_leaf_nodes is None else self.max_leaf_nodes
335335
)
336336

337337
if len(y) != n_samples or len(x) != n_samples:

0 commit comments

Comments
 (0)