Skip to content

Including _criterion.pxd in the wheel to dervive new criterion #12363

Closed

Description

@glemaitre

PR #10325 make it possible to derive a new criterion by exposing the RegressionCriterion and ClassificationCriterion. However, it seems that this PR does not make available the header file _criterion.pxd in the wheel. I was thinking that MANIFEST.in who do that but apparently not.

Checking scipy, I think that we should add the following sklearn/tree/setup.py

config.add_data_files('_criterion.pxd')

Is it the right way and do we want to do it?

Activity

  1. added this to the 0.20.1 milestone on Oct 14, 2018
  2. added
    Easy
    on Oct 14, 2018
  3. jnothman commented on Oct 14, 2018

    @jnothman
    Member

    I suspect so

  4. added
    good first issue
    on Oct 14, 2018
  5. RoopamSharma commented on Oct 14, 2018

    @RoopamSharma
    Contributor

    Hi, I would like to work on this issue. I am contributing for the first time.

  6. added a commit that references this issue on Oct 14, 2018
    ee88825
  7. jnothman commented on Oct 14, 2018

    @jnothman
    Member
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Easygood first issuehelp wanted

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions