Skip to content
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

DOC improve ENN documentation #1021

Merged

Conversation

solegalli
Copy link
Contributor

related to #850

separating in smaller PRs as requested.

@solegalli solegalli force-pushed the update_ENN_and_variants branch from 87b5761 to 35ffdf9 Compare July 10, 2023 19:04
@solegalli
Copy link
Contributor Author

@glemaitre ready for review

@glemaitre glemaitre changed the title Update ENN user guide DOC improve ENN documentation Jul 10, 2023
doc/under_sampling.rst Outdated Show resolved Hide resolved
doc/under_sampling.rst Outdated Show resolved Hide resolved
:class:`EditedNearestNeighbours` carries out the following steps:

1. Train a KNN using the entire dataset.
2. Find each observations' 3 closest neighbours (only for the targeted classes).
Copy link
Member

Choose a reason for hiding this comment

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

Almost sure that the 3 is parametrizable. We should instead refer to the sampler argument.

doc/under_sampling.rst Outdated Show resolved Hide resolved
solegalli and others added 4 commits July 11, 2023 11:24
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
@solegalli
Copy link
Contributor Author

done!

doc/under_sampling.rst Outdated Show resolved Hide resolved
Copy link
Member

@glemaitre glemaitre left a comment

Choose a reason for hiding this comment

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

Only one expansion more.

Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
@solegalli
Copy link
Contributor Author

I missed that one, thank you!

@glemaitre glemaitre merged commit 87ef4fc into scikit-learn-contrib:master Jul 11, 2023
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