Skip to content

Commit 9431bb8

Browse files
committed
DOC add documentation info
1 parent 97dd664 commit 9431bb8

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

doc/introduction.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,12 @@ Imbalanced-learn samplers accept the same inputs that in scikit-learn:
3030
matrices;
3131
* ``targets``: array-like (1-D list, pandas.Series, numpy.array).
3232

33+
The output will be of the following type:
34+
35+
* ``data_resampled``: array-like (2-D list, pandas.Dataframe, numpy.array) or
36+
sparse matrices;
37+
* ``targets_resampled``: 1-D numpy.array.
38+
3339
.. topic:: Sparse input
3440

3541
For sparse input the data is **converted to the Compressed Sparse Rows

0 commit comments

Comments
 (0)