Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update _tree.pxd #144

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions deepforest/tree/_tree.pxd
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,13 @@ cdef class Tree:
cdef SIZE_t value_stride # = n_outputs * max_n_classes

# Methods
cdef SIZE_t _upd_parent(self, SIZE_t parent, bint is_left) nogil except -1
cdef SIZE_t _upd_parent(self, SIZE_t parent, bint is_left) except -1 nogil
cdef SIZE_t _add_node(self, SIZE_t parent, bint is_left, bint is_leaf,
SIZE_t feature, DTYPE_t threshold) nogil except -1
SIZE_t feature, DTYPE_t threshold) except -1 nogil
cdef int _resize(self, SIZE_t internal_capacity,
SIZE_t leaf_capacity) nogil except -1
cdef int _resize_node_c(self, SIZE_t internal_capacity=*) nogil except -1
cdef int _resize_value_c(self, SIZE_t leaf_capacity=*) nogil except -1
SIZE_t leaf_capacity) except -1 nogil
cdef int _resize_node_c(self, SIZE_t internal_capacity=*) except -1 nogil
cdef int _resize_value_c(self, SIZE_t leaf_capacity=*) except -1 nogil

cdef np.ndarray _get_value_ndarray(self)
cdef np.ndarray _get_node_ndarray(self)
Expand Down