imbalanced-learn icon indicating copy to clipboard operation
imbalanced-learn copied to clipboard

Updated _instance_hardness_threshold.py to allow for pipelines as estimator

Open gmogol opened this issue 8 months ago • 1 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.

Reference Issue

What does this implement/fix? Explain your changes.

Any other comments?

gmogol avatar Nov 14 '23 22:11 gmogol