Skip to content

Commit 5d9b3f6

Browse files
authored
chore: Fixed typo (scikit-learn#30792)
1 parent 3c8d92d commit 5d9b3f6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sklearn/tree/_partitioner.pyx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ cdef class DensePartitioner:
167167
self.n_missing = n_missing
168168

169169
cdef inline void next_p(self, intp_t* p_prev, intp_t* p) noexcept nogil:
170-
"""Compute the next p_prev and p for iteratiing over feature values.
170+
"""Compute the next p_prev and p for iterating over feature values.
171171
172172
The missing values are not included when iterating through the feature values.
173173
"""
@@ -397,7 +397,7 @@ cdef class SparsePartitioner:
397397
max_feature_value_out[0] = max_feature_value
398398

399399
cdef inline void next_p(self, intp_t* p_prev, intp_t* p) noexcept nogil:
400-
"""Compute the next p_prev and p for iteratiing over feature values."""
400+
"""Compute the next p_prev and p for iterating over feature values."""
401401
cdef:
402402
intp_t p_next
403403
float32_t[::1] feature_values = self.feature_values

0 commit comments

Comments
 (0)