8000 DOC Fix scipy broken link by Iglesys347 · Pull Request #23697 · scikit-learn/scikit-learn · GitHub
[go: up one dir, main page]

Skip to content

DOC Fix scipy broken link #23697

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 4 commits into from
Jun 21, 2022

Conversation

Iglesys347
Copy link
Contributor

Reference Issues/PRs

#23631

What does this implement/fix? Explain your changes.
The link https://docs.scipy.org/doc/scipy/reference/generated/scipy.stats.reciprocal.html vas broken, replaced it with https://docs.scipy.org/doc/scipy-0.14.0/reference/generated/scipy.stats.reciprocal.html.

As the scipy.stats.reciprocal disappeared in new version of scipy, I changed the link to an old version of the doc.

Any other comments?

@lesteve
Copy link
Member
lesteve commented Jun 20, 2022

Rather than linking to a very old scipy doc, I think this is better to link to scipy.stats.loguniform doc and mention that scikit-learn loguniform is a compatibility function for scipy < 1.4.

This is the scipy PR where it was added: scipy/scipy#10815

@Iglesys347
Copy link
Contributor Author

Hi @lesteve I changed the link and added a comment, but I'm not sure about it. What do you think ?

@lesteve
Copy link
Member
lesteve commented Jun 21, 2022

I pushed a tweak, after thinking a bit more about it, I don't think this is worth mentioning the backward compatibility for scipy < 1.14 since for the next release scipy 1.14 won't be supported. Also sklearn.utils.fixes.loguniform will be removed anyway in the next release #23699.

@lesteve lesteve merged commit 6db963c into scikit-learn:main Jun 21, 2022
@lesteve
Copy link
Member
lesteve commented Jun 21, 2022

Merging, thanks a lot!

ogrisel pushed a commit to ogrisel/scikit-learn that referenced this pull request Jul 11, 2022
Co-authored-by: Loïc Estève <loic.esteve@ymail.com>
glemaitre pushed a commit to glemaitre/scikit-learn that referenced this pull request Aug 4, 2022
Co-authored-by: Loïc Estève <loic.esteve@ymail.com>
glemaitre pushed a commit that referenced this pull request Aug 5, 2022
Co-authored-by: Loïc Estève <loic.esteve@ymail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0