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 7419965 commit c49294cCopy full SHA for c49294c
sklearn/tree/_tree.pxd
@@ -92,6 +92,14 @@ cdef class Splitter:
92
# split reorganizes the node samples `samples[start:end]` in two
93
# subsets `samples[start:pos]` and `samples[pos:end]`.
94
95
+ # The `features` array contains the features indices and allows fast
96
+ # sampling without replacement of features.
97
+
98
+ # The `constant_features` array contains in `[:n_constant_features]` the
99
+ # order and index of the constant features found at a given node. The value
100
+ # `n_constant_features` is given by the the parent node to its child nodes.
101
+ # This allows optimisation with depth-based tree building.
102
103
# Methods
104
cdef void init(self, np.ndarray X,
105
np.ndarray y,
0 commit comments