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

FIX InstanceHardnessThreshold accepts classifier included in a Pipeline #1049

Merged
merged 5 commits into from Mar 30, 2024

Conversation

gmogol
Copy link
Contributor

@gmogol gmogol commented Nov 14, 2023

Added the option to add a pipeline as an estimator for instance hardness threshold. Currently using a pipeline as an estimator fails because of the instance check. I think it's useful to be able to use pipelines as estimators and have thus added it.

Reference Issue

What does this implement/fix? Explain your changes.

Any other comments?

Added the option to add a pipeline as an estimator for instance hardness threshold. Currently using a pipeline as an estimator fails because of the instance check. I think it's useful to be able to use pipelines as estimators and have thus added it.
@glemaitre
Copy link
Member

The linter is failing. Could you add a non-regression test that would fail in master but that make it work in this PR.

@glemaitre glemaitre self-requested a review March 30, 2024 17:58
@glemaitre glemaitre changed the title Updated _instance_hardness_threshold.py to allow for pipelines as estimator FIX InstanceHardnessThreshold accepts classifier included in a Pipeline Mar 30, 2024
@glemaitre glemaitre merged commit b4faf5f into scikit-learn-contrib:master Mar 30, 2024
21 checks passed
glemaitre added a commit that referenced this pull request Mar 31, 2024
…ne (#1049)

Co-authored-by: Guillaume Lemaitre <guillaume@probabl.ai>
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.

None yet

2 participants