imbalanced-learn icon indicating copy to clipboard operation
imbalanced-learn copied to clipboard

DOC Fix incorrect source code link

Open hasan-yaman opened this issue 2 years ago • 1 comments

Reference Issue

What does this implement/fix? Explain your changes.

Some source code links are wrong in the API reference. For example make_imbalance, fetch_datasets, classification_report_imbalanced and many more. The common thing between those objects is they wrapped by a decorator. Similar problem occurred in scikit-learn in the past. This PR fixed it.

Any other comments?

As stated in the PR, I also dropped removed Python 2 related lines because Python 2 support is dropped in 0.5.0. Also, source code links now points to the decorator.

hasan-yaman avatar Jun 04 '22 19:06 hasan-yaman

Codecov Report

Merging #906 (c285a67) into master (6176807) will not change coverage. The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #906   +/-   ##
=======================================
  Coverage   97.19%   97.19%           
=======================================
  Files          97       97           
  Lines        6348     6348           
  Branches      711      711           
=======================================
  Hits         6170     6170           
  Misses        106      106           
  Partials       72       72           
Impacted Files Coverage Δ
imblearn/keras/_generator.py 92.10% <0.00%> (ø)

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 6176807...c285a67. Read the comment docs.

codecov[bot] avatar Jun 04 '22 19:06 codecov[bot]

This is an external extension. We will not touch the code.

glemaitre avatar Dec 03 '22 20:12 glemaitre