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 6ea24c7 commit 29dddc7Copy full SHA for 29dddc7
sklearn/tree/tree.py
@@ -386,7 +386,8 @@ def apply(self, X):
386
X_leaves : array_like, shape = [n_samples,]
387
For each datapoint x in X, return the index of the leaf x
388
ends up in. Leaves are numbered within
389
- ``[0;self.tree_.node_count)``.
+ ``[0; self.tree_.node_count)``, possibly with gaps in the
390
+ numbering.
391
"""
392
if self.tree_ is None:
393
raise NotFittedError("Estimator not fitted, "
0 commit comments