Skip to content

Commit 1f8acee

Browse files
committed
DOC fix borderline-1 explanations (#366)
1 parent 392018b commit 1f8acee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/over_sampling.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ Ill-posed examples
9090
------------------
9191

9292
While the :class:`RandomOverSampler` is over-sampling by duplicating some of
93-
the original samples of the minority class, :`SMOTE` and :class:`ADASYN`
93+
the original samples of the minority class, :class:`SMOTE` and :class:`ADASYN`
9494
generate new samples in by interpolation. However, the samples used to
9595
interpolate/generate new synthetic samples differ. In fact, :class:`ADASYN`
9696
focuses on generating samples next to the original samples which are wrongly
@@ -180,7 +180,7 @@ are from a different class than the one of :math:`x_i`), (ii) in danger
180180
:math:`x_i`, or (iii) safe (i.e. all nearest neighbors are from the same class
181181
than :math:`x_i`). **Borderline-1** and **Borderline-2** SMOTE will use the
182182
samples *in danger* to generate new samples. In **Borderline-1** SMOTE,
183-
:math:`x_{zi}` will belong to a class different from the one of the sample
183+
:math:`x_{zi}` will belong to the same class than the one of the sample
184184
:math:`x_i`. On the contrary, **Borderline-2** SMOTE will consider
185185
:math:`x_{zi}` which can be from any class.
186186

0 commit comments

Comments
 (0)