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
Use :doi: and :arxiv: directives for references in the documentation (Issue #21088) #22603
Conversation
Co-authored-by: Chiara Marmo <[email protected]>
Co-authored-by: Chiara Marmo <[email protected]>
Co-authored-by: Chiara Marmo <[email protected]>
Thanks @JSchuerz, all checks are green now.
without underscore at the end. |
Thanks @JSchuerz! I have some last comments.
Also, do you mind fixing the three DOI links in SpectralEmbedding?
scikit-learn/sklearn/manifold/_spectral_embedding.py
Lines 486 to 497 in 7a2a0f7
- A Tutorial on Spectral Clustering, 2007 | |
Ulrike von Luxburg | |
http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.165.9323 | |
- On Spectral Clustering: Analysis and an algorithm, 2001 | |
Andrew Y. Ng, Michael I. Jordan, Yair Weiss | |
http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.19.8100 | |
- Normalized cuts and image segmentation, 2000 | |
Jianbo Shi, Jitendra Malik | |
http://citeseer.ist.psu.edu/viewdoc/summary?doi=10.1.1.160.2324 | |
Almost done!
Co-authored-by: Chiara Marmo <[email protected]>
Co-authored-by: Chiara Marmo <[email protected]>
Hi @JSchuerz, please do not add too much files to this PR as this makes hard to review it.
I have made some comments, but a number of links are not working now because apparently some reviews use the parameter DOI but they are not really registering it in the standardized system, so the explicit links works, but not the sphinx DOI directive.
May I ask you to choose only some submodules to fix and check their rendering to verify if the links are correct? Then reduce your PR to them? Thank you very much for your understanding.
Co-authored-by: Chiara Marmo <[email protected]>
Co-authored-by: Chiara Marmo <[email protected]>
Co-authored-by: Chiara Marmo <[email protected]>
Thanks a lot @JSchuerz for your work. Indeed looking for Digital Identification Numbers on line is less straigthforward than I thought! :)
For your information you can check the DOIs at the official DOI page using the DOI resolver.
Please revert the following files, where no :doi: directive has been added
sklearn/manifold/_locally_linear.py
doc/modules/naive_bayes.rst
To do that you can run the command:
git checkout main <file-to-revert>
Thank you for referring me to the official DOI page. I checked all doi's and fixed them where necessary. |
@@ -563,7 +563,7 @@ graph, and SpectralClustering is initialized with `affinity='precomputed'`:: | |||
|
|||
* :arxiv:`"Preconditioned Spectral Clustering for Stochastic | |||
Block Partition Streaming Graph Challenge" | |||
<1309.0238>` | |||
<1708.07481>` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The arxiv number was indeed wrong.
All done! Thank you for reviewing my work!!!!! :) Interestingly for http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.19.8100 and http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.70.382 'official' doi's can be found here https://dl.acm.org/doi/10.5555/2980539.2980649 and here https://dl.acm.org/doi/10.5555/2976456.2976656 respectively. However, they do not work for the doi resolver. Any ideas how to proceed here? If not I believe Issue #21088 is now completely fixed. |
If the DOIs are not resolved by doi.org they will not be linked by the Thanks for your work, now we have to wait for a core-dev approval. Please be patient. Thanks! |
doc/modules/semi_supervised.rst
Outdated
Computational Linguistics, Stroudsburg, PA, USA, 189-196. | ||
:doi:`doi:10.3115/981658.981684 <10.3115/981658.981684>` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would be nicer to put the link on the title of the paper
.. [1] :doi:`"Unsupervised word sense disambiguation rivaling supervised methods"
<10.3115/981658.981684>`
David Yarowsky, Proceedings of the 33rd annual meeting on Association for
Computational Linguistics (ACL '95). Association for Computational Linguistics,
Stroudsburg, PA, USA, 189-196.
Co-authored-by: Jérémie du Boisberranger <[email protected]>
All done! |
Reference Issues/PRs
What does this implement/fix? Explain your changes.
Towards #21088 I changed " https://arxiv.org/... " to " :arxiv:
...
" and " https://doi.org/... " to " :doi:...
in the remaining files, wherethis has not yet been fixed.Any other comments?