Skip to content

Commit ed73b14

Browse files
chkoarglemaitre
authored andcommitted
DOC Minor changes in docs (#400)
1 parent e5d43ce commit ed73b14

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

doc/over_sampling.rst

+3-3
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,9 @@ for usage example.
6060
From random over-sampling to SMOTE and ADASYN
6161
---------------------------------------------
6262

63-
Apart from the random sampling with replacement, there is two popular methods
64-
to over-sample minority classes: (i) Synthetic Minority Oversampling Technique
65-
(SMOTE) and (ii) Adaptive Synthetic (ADASYN) sampling method. These algorithm
63+
Apart from the random sampling with replacement, there are two popular methods
64+
to over-sample minority classes: (i) the Synthetic Minority Oversampling Technique
65+
(SMOTE) and (ii) the Adaptive Synthetic (ADASYN) sampling method. These algorithms
6666
can be used in the same manner::
6767

6868
>>> from imblearn.over_sampling import SMOTE, ADASYN

imblearn/over_sampling/adasyn.py

+2-4
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,8 @@
1616

1717

1818
class ADASYN(BaseOverSampler):
19-
"""Perform over-sampling using ADASYN.
20-
21-
Perform over-sampling using Adaptive Synthetic Sampling Approach for
22-
Imbalanced Learning.
19+
"""Perform over-sampling using Adaptive Synthetic (ADASYN) sampling
20+
approach for imbalanced datasets.
2321
2422
Read more in the :ref:`User Guide <smote_adasyn>`.
2523

0 commit comments

Comments
 (0)