Skip to content

DOC effect and comparison to deal with imbalanced classification #648

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 12 commits into from
Nov 19, 2019
2 changes: 1 addition & 1 deletion doc/introduction.rst
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ The output will be of the following type:

* ``data_resampled``: array-like (2-D list, pandas.Dataframe, numpy.array) or
sparse matrices;
* ``targets_resampled``: 1-D numpy.array.
* ``targets_resampled``: 1-D numpy.array or pd.Series.

.. topic:: Sparse input

Expand Down
3 changes: 2 additions & 1 deletion doc/whats_new/v0.6.rst
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@ Enhancement
- :class:`imblearn.under_sampling.RandomUnderSampling`,
:class:`imblearn.over_sampling.RandomOverSampling`,
:class:`imblearn.datasets.make_imbalance` accepts Pandas DataFrame in and
will output Pandas DataFrame.
will output Pandas DataFrame. Similarly, it will accepts Pandas Series in and
will output Pandas Series.
:pr:`636` by :user:`Guillaume Lemaitre <glemaitre>`.

- :class:`imblearn.FunctionSampler` accepts a parameter ``validate`` allowing
Expand Down
Loading