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 351f14d commit 542397cCopy full SHA for 542397c
sklearn/tree/_tree.pyx
@@ -214,6 +214,7 @@ cdef class DepthFirstTreeBuilder(TreeBuilder):
214
paths = tree.decision_path(X)
215
cdef int PARENT
216
cdef int CHILD
217
+ cdef int i
218
false_roots = {}
219
X_copy = {}
220
y_copy = {}
@@ -1018,7 +1019,7 @@ cdef class BaseTree:
1018
1019
self.capacity = capacity
1020
return 0
1021
- cdef inline int _set_split_node(
1022
+ cdef int _set_split_node(
1023
self,
1024
SplitRecord* split_node,
1025
Node* node,
@@ -1040,7 +1041,7 @@ cdef class BaseTree:
1040
1041
node.threshold = split_node.threshold
1042
return 1
1043
- cdef inline int _set_leaf_node(
1044
+ cdef int _set_leaf_node(
1045
1046
1047
0 commit comments