Skip to content

Commit 4627339

Browse files
committed
Add docstring
Signed-off-by: Adam Li <adam2392@gmail.com>
1 parent ccc8a4d commit 4627339

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

sklearn/tree/_splitter.pxd

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,8 @@ cdef class BaseSplitter:
102102
cdef int pointer_size(self) noexcept nogil
103103

104104
cdef class Splitter(BaseSplitter):
105+
"""Base class for supervised splitters."""
106+
105107
cdef public Criterion criterion # Impurity criterion
106108
cdef const DOUBLE_t[:, ::1] y
107109

0 commit comments

Comments
 (0)