Skip to content

Commit a286300

Browse files
authored
Fix Travis complaint
1 parent 9a74789 commit a286300

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

imblearn/ensemble/easy_ensemble_generalization.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -64,13 +64,13 @@ class EasyEnsembleGeneralization(BaseEnsemble, ClassifierMixin):
6464
6565
Examples
6666
--------
67-
>>>import numpy as np
68-
>>>from imblearn.ensemble import EasyEnsembleGeneralization as EEG
69-
>>>X = np.array([[-1, -1], [-2, -1], [-3, -2], [1, 1], [2, 1], [3, 2]])
70-
>>>y = np.array([1, 1, 1, 2, 2, 2])
71-
>>>eeg = EEG(voting='hard', random_state=0)
72-
>>>eeg.fit(X,y)
73-
>>>eeg.predict(X)
67+
>>> import numpy as np
68+
>>> from imblearn.ensemble import EasyEnsembleGeneralization as EEG
69+
>>> X = np.array([[-1, -1], [-2, -1], [-3, -2], [1, 1], [2, 1], [3, 2]])
70+
>>> y = np.array([1, 1, 1, 2, 2, 2])
71+
>>> eeg = EEG(voting='hard', random_state=0)
72+
>>> eeg.fit(X,y)
73+
>>> eeg.predict(X)
7474
[1 1 1 2 2 2]
7575
>>>
7676
"""

0 commit comments

Comments
 (0)