Skip to content
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

Making it scikit-learn compatible #57

Open
jvdd opened this issue Feb 2, 2023 · 0 comments
Open

Making it scikit-learn compatible #57

jvdd opened this issue Feb 2, 2023 · 0 comments

Comments

@jvdd
Copy link

jvdd commented Feb 2, 2023

I think that a great enhancement to this library would be to make it scikit-learn compatible. Basically this boils down to inherit from the SelectorMixin & BaseEstimator class & implement the .fit() and .transform() methods.

Once this library is scikit-learn compatible, you can include it in a Pipeline - resulting in fewer data leakage issues :)

An illustration of how this can be realized: https://github.com/predict-idlab/powershap/blob/main/powershap/powershap.py#L17

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

No branches or pull requests

1 participant