imblearn/under_sampling/_prototype_selection/_instance_hardness_threshold.py
Killed 0 out of 3 mutantsSurvived
Survived mutation testing. These mutants show holes in your test suite.Mutant 296
--- imblearn/under_sampling/_prototype_selection/_instance_hardness_threshold.py
+++ imblearn/under_sampling/_prototype_selection/_instance_hardness_threshold.py
@@ -98,7 +98,6 @@
Resampled dataset shape Counter({{1: 5..., 0: 100}})
"""
- @_deprecate_positional_args
def __init__(
self,
*,
Mutant 297
--- imblearn/under_sampling/_prototype_selection/_instance_hardness_threshold.py
+++ imblearn/under_sampling/_prototype_selection/_instance_hardness_threshold.py
@@ -103,7 +103,7 @@
self,
*,
estimator=None,
- sampling_strategy="auto",
+ sampling_strategy="XXautoXX",
random_state=None,
cv=5,
n_jobs=None,
Mutant 298
--- imblearn/under_sampling/_prototype_selection/_instance_hardness_threshold.py
+++ imblearn/under_sampling/_prototype_selection/_instance_hardness_threshold.py
@@ -105,7 +105,7 @@
estimator=None,
sampling_strategy="auto",
random_state=None,
- cv=5,
+ cv=6,
n_jobs=None,
):
super().__init__(sampling_strategy=sampling_strategy)