Skip to content

Commit

Permalink
[MRG] DOC Correcting EasyEnsemble doc (scikit-learn-contrib#234)
Browse files Browse the repository at this point in the history
In EasyEnsemble doc page, its signature is

> class imblearn.ensemble.EasyEnsemble(ratio='auto', return_indices=False, random_state=None, replacement=False, n_subsets=10)

with `return_indices=False`, but its pydoc says

> return_indices : bool, optional (default=True)
>
>Whether or not to return the indices of the samples randomly selected from the majority class.

Checking the code at https://github.com/scikit-learn-contrib/imbalanced-learn/blob/b45a3e4167d188ec9fd40afd3a56330aa80a5ee1/imblearn/ensemble/easy_ensemble.py#L92, the correct value is False.
  • Loading branch information
paulochf authored and glemaitre committed Feb 17, 2017
1 parent 4e885ae commit eccd23f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion imblearn/ensemble/easy_ensemble.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class EasyEnsemble(BaseMulticlassSampler):
of samples in the minority class over the the number of samples
in the majority class.
return_indices : bool, optional (default=True)
return_indices : bool, optional (default=False)
Whether or not to return the indices of the samples randomly
selected from the majority class.
Expand Down

0 comments on commit eccd23f

Please sign in to comment.