Skip to content

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

Merged
rth merged 4 commits into
scikit-learn:masterfrom
RoopamSharma:Included_criterion.pxd
Oct 31, 2018
Merged

rth merged 4 commits into
scikit-learn:masterfrom
RoopamSharma:Included_criterion.pxd

Conversation

@RoopamSharma

Copy link
Copy Markdown
Contributor

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

Comment thread sklearn/tree/setup.py Outdated

config.add_subpackage("tests")

config.add_data_files('_criterion.pxd')

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

Comment thread sklearn/tree/setup.py Outdated

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

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

@jnothman jnothman left a comment

Copy link
Copy Markdown
Member

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.

@rth rth left a comment

Copy link
Copy Markdown
Member

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

rth commented Oct 31, 2018

Copy link
Copy Markdown
Member

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
Copy Markdown
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

RoopamSharma commented Jan 15, 2019 via email

Copy link
Copy Markdown
Contributor Author

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