Skip to content

[MRG] Fix #12363 Included criterion.pxd #12381

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

Merged
merged 4 commits into from
Oct 31, 2018

Conversation

RoopamSharma
Copy link
Contributor

Fixes #12363
Included _criterion.pxd in the sklearn/tree/setup.py wheel to derive new criterion

@@ -31,7 +31,7 @@ def configuration(parent_package="", top_path=None):
extra_compile_args=["-O3"])

config.add_subpackage("tests")

config.add_data_files('_criterion.pxd')
Copy link
Member

Choose a reason for hiding this comment

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

Please also add the other pxd files here

@@ -31,7 +31,11 @@ def configuration(parent_package="", top_path=None):
extra_compile_args=["-O3"])

config.add_subpackage("tests")
config.add_data_files('_criterion.pxd')
config.add_data_files("_tree.pxd")
Copy link
Member

Choose a reason for hiding this comment

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

Alphabetical order?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

do you mean I should add pxd files in alphabetical order

Copy link
Member

@jnothman jnothman left a comment

Choose a reason for hiding this comment

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

Yes, thanks. From a code perspective this LGTM, but I should check the wheel when I'm not mobile.

Copy link
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.

LGTM, scipy does this for cython_blas.pxd so it should be fine, I think.

@rth
Copy link
Member

rth commented Oct 31, 2018

Checked that these are included in the generated wheel. Merging. Thanks!

@rth rth merged commit c6455fa into scikit-learn:master Oct 31, 2018
thoo pushed a commit to thoo/scikit-learn that referenced this pull request Nov 14, 2018
jnothman pushed a commit to jnothman/scikit-learn that referenced this pull request Nov 14, 2018
jnothman pushed a commit to jnothman/scikit-learn that referenced this pull request Nov 14, 2018
@adrinjalali
Copy link
Member

@RoopamSharma we're thinking of using memory views in the tree code, which implies some changes to the criterion and splitter's interface. What do you think about the changes proposed in #12886?

@RoopamSharma
Copy link
Contributor Author

RoopamSharma commented Jan 15, 2019 via email

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.

4 participants