Skip to content

Pure python package? #26

@rth

Description

@rth

If this was a pure python package it would have been significantly easier to install and use.

It seems that no one would be willing to spend time on building wheels for this package. Which means that to currently install this package on windows one needs MSVC compiler which is problematic.

The only code currently using cython is sklearn_extra/utils/_cyfht.pyx, but there is also of course the question of future contributions.

The workarounds could be,

  • use numba as a dependency (there is a numba version for _cyfht.pyx). That would simplify maintenance a bit. Maybe @NicolasHug you would have an opinion after your experience with using numba for GBDT. Though it would make integrating methods back into scikit-learn require more work.
  • make the cython compilation (and modules that depend on it) optional at build time, so that this package can still be installed without a compilers.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions