Skip to content

Update _tree.pyx#13230

Merged
rth merged 1 commit intoscikit-learn:masterfrom
hhu-luqi:master
Feb 25, 2019
Merged

Update _tree.pyx#13230
rth merged 1 commit intoscikit-learn:masterfrom
hhu-luqi:master

Conversation

@hhu-luqi
Copy link
Copy Markdown
Contributor

@hhu-luqi hhu-luqi commented Feb 23, 2019

I think the 'cdef double threshold' in DepthFirstTreeBuilder.build() of original _tree.pyx is not useful,
so I have deleted it.
**cdef double threshold** cdef double impurity = INFINITY cdef SIZE_t n_constant_features

Reference Issues/PRs

What does this implement/fix? Explain your changes.

Any other comments?

I think the 'cdef double threshold' in DepthFirstTreeBuilder.build() of original _tree.pyx is not useful, so I have deleted it.
Copy link
Copy Markdown
Member

@agramfort agramfort left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CIs did not break so LGTM

Copy link
Copy Markdown
Member

@rth rth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @hhu-luqi !

@rth rth merged commit 337448f into scikit-learn:master Feb 25, 2019
xhluca pushed a commit to xhluca/scikit-learn that referenced this pull request Apr 28, 2019
xhluca pushed a commit to xhluca/scikit-learn that referenced this pull request Apr 28, 2019
xhluca pushed a commit to xhluca/scikit-learn that referenced this pull request Apr 28, 2019
koenvandevelde pushed a commit to koenvandevelde/scikit-learn that referenced this pull request Jul 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants