Skip to content

Edit Tomek Link definition #506

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 2 commits into from
Nov 17, 2018

Conversation

AminaKeldibek
Copy link
Contributor

Sorry, it seems to me the definition is not completely correct.

Sorry, it seems to me the definition is not completely correct.
@codecov
Copy link

codecov bot commented Nov 16, 2018

Codecov Report

Merging #506 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #506   +/-   ##
=======================================
  Coverage   98.86%   98.86%           
=======================================
  Files          82       82           
  Lines        5020     5020           
=======================================
  Hits         4963     4963           
  Misses         57       57

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update eda1c2e...664c87d. Read the comment docs.

@@ -210,7 +210,7 @@ such that there is no example :math:`z` such that:

.. math::

d(x, y) < d(x, z) \text{ or } d(y, z) < d(x, y)
d(x, y) > d(x, z) \text{ or } d(x, y) > d(y, z)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually I would edit the previous statement to make it more straight forward:

 :class:`TomekLinks` detects the so-called Tomek's links [T2010]_. A Tomek's
 link between two samples of different class :math:`x` and :math:`y` is defined
 such that for any sample :math:`z`:
.. math::
   d(x, y) < d(x, z) \text{ or } d(x, y) < d(y, z)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, probably more straitght forward, but should be AND then not OR.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

right

@glemaitre
Copy link
Member

Thanks to catch this up. Could you make an edit.

@glemaitre glemaitre merged commit 065a85e into scikit-learn-contrib:master Nov 17, 2018
@glemaitre
Copy link
Member

Thanks for contributing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants