There was an error while loading. Please reload this page.
1 parent 8bbbd2e commit 9ac2797Copy full SHA for 9ac2797
imblearn/over_sampling/_rose.py
@@ -107,8 +107,8 @@ def _make_samples(self,
107
108
def _fit_resample(self, X, y):
109
110
- if type_of_target(y) != "binary":
111
- raise Exception("ROSE supports only binary outcome datasets.")
+ # if type_of_target(y) != "binary":
+ # raise Exception("ROSE supports only binary outcome datasets.")
112
113
X_resampled = np.empty((0, X.shape[1]), dtype=X.dtype)
114
y_resampled = np.empty((0), dtype=X.dtype)
0 commit comments