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 14a8c70 commit be084d2Copy full SHA for be084d2
treeple/tree/honesty/_honest_prune.pyx
@@ -374,8 +374,8 @@ cdef _honest_prune(
374
)
375
376
is_leaf_in_origtree = child_l[node_idx] == _TREE_LEAF
377
-
378
- if invalid_split or split_is_degenerate or is_leaf_in_origtree:
+
+ if invalid_split or split_is_degenerate or is_leaf_in_origtree:
379
# invalid_split or is_leaf_in_origtree:
380
# or split_is_degenerate or is_leaf_in_origtree:
381
# ... and child_r[node_idx] == _TREE_LEAF:
0 commit comments