Skip to content

Commit 7b2d05b

Browse files
authored
Fix doctest
1 parent 7b37c2d commit 7b2d05b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

imblearn/ensemble/easy_ensemble_generalization.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ class EasyEnsembleGeneralization(BaseEnsemble, ClassifierMixin):
6969
>>> X = np.array([[-1, -1], [-2, -1], [-3, -2], [1, 1], [2, 1], [3, 2]])
7070
>>> y = np.array([1, 1, 1, 2, 2, 2])
7171
>>> eeg = EEG(voting='hard', random_state=0)
72-
>>> eeg.fit(X,y)
72+
>>> eeg = eeg.fit(X,y)
7373
>>> print(eeg.predict(X))
7474
[1 1 1 2 2 2]
7575
>>>

0 commit comments

Comments
 (0)