Skip to content

Commit 065a85e

Browse files
AminaKeldibekglemaitre
authored andcommitted
DOC: Fix Tomek Link definition (#506)
1 parent eda1c2e commit 065a85e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/under_sampling.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -206,11 +206,11 @@ Tomek's links
206206

207207
:class:`TomekLinks` detects the so-called Tomek's links [T2010]_. A Tomek's
208208
link between two samples of different class :math:`x` and :math:`y` is defined
209-
such that there is no example :math:`z` such that:
209+
such that for any sample :math:`z`:
210210

211211
.. math::
212212
213-
d(x, y) < d(x, z) \text{ or } d(y, z) < d(x, y)
213+
d(x, y) < d(x, z) \text{ and } d(x, y) < d(y, z)
214214
215215
where :math:`d(.)` is the distance between the two samples. In some other
216216
words, a Tomek's link exist if the two samples are the nearest neighbors of

0 commit comments

Comments
 (0)