Skip to content

Commit

Permalink
Export shift_missing_values_to_left_if_required
Browse files Browse the repository at this point in the history
Signed-off-by: Adam Li <[email protected]>
  • Loading branch information
adam2392 committed Mar 10, 2024
1 parent 5ccd00f commit b61ae3d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions sklearn/tree/_splitter.pxd
Original file line number Diff line number Diff line change
Expand Up @@ -140,3 +140,9 @@ cdef class Splitter(BaseSplitter):
float64_t lower_bound,
float64_t upper_bound
) noexcept nogil

cdef void shift_missing_values_to_left_if_required(
SplitRecord* best,
intp_t[::1] samples,
intp_t end,
) noexcept nogil

0 comments on commit b61ae3d

Please sign in to comment.