imbalanced-learn
imbalanced-learn copied to clipboard
Updated _instance_hardness_threshold.py to allow for pipelines as estimator
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.