Repository navigation
[MRG+1] Fixes broken links in docs - #10353
Conversation
|
You intend to add more to this PR? |
|
Yes. I will try to have it done by end of day today, tomorrow at the latest. |
|
I have finished fixing the links. I was not able to find another link for http://tbayes.eecs.umich.edu/yilun/covestimation. Other than that, this is now ready for review. |
|
would it be appropriate to use the Wayback Machine for that one? Or is
there another equally good reference
|
|
A Wayback archive for the page exists, but the MATLAB program that is referenced in the docs was not archived (see sklearn/covariance/shrunk_covariance_.py). The other possible reference would be the paper itself (which is already referenced in the docs). The MATLAB program implements a slightly different formula than the one in the paper, and the MATLAB formula is the one used by scikit-learn. However, the MATLAB formula is almost identical to the one in the paper, and the difference is well explained in the scikit-learn documentation. So my gut intuition is that the paper is good enough a reference on its own, without the webpage/MATLAB program. What do you think? |
|
sounds fair enough
|
Same feeling. I checked manually the links and they looked all good. |
1ecd2b5 to
36ca592
Compare
|
I eye-balled the output of |
|
@nsheth12 let me know if you want to remove the broken link http://tbayes.eecs.umich.edu/yilun/covestimation. If I don't hear from you I'll merge it as is. |
|
I'm removing the broken link. Will push change very shortly. |
|
Done. |
|
You have a flake8 error (trailing whitespace) can you fix it? It would be a good idea to invest some time to configure on-the-fly flake8 checks inside your editor of choice. This allows you to spot these kind of problems while editing. |
| from the MATLAB program available from the author's webpage | ||
| (http://tbayes.eecs.umich.edu/yilun/covestimation). | ||
| does not correspond to the one given in the article. It is slightly | ||
| modified (see OAS class description for details). |
There was a problem hiding this comment.
You can use a sphinx directive here, this way this will be a link in the HTML doc, example usage:
Use :class:`sklearn.model_selection.ParameterSampler` instead.
Look at git grep :class: for more examples
|
Fixed those two issues. |
even if that creates a PEP8 violation
|
I pushed a few tweaks, I think this can be merged when CIs are green. |
| ---------- | ||
| .. [1] https://en.wikipedia.org/wiki/RANSAC | ||
| .. [2] http://www.cs.columbia.edu/~belhumeur/courses/compPhoto/ransac.pdf | ||
| .. [2] https://www.sri.com/sites/default/files/publications/ransac-publication.pdf |
There was a problem hiding this comment.
I think the flake8 error here is fine. This is more readable this way.
|
Merging, Travis flake8 error is acceptable, and I double-check the CircleCI doc for the |
Reference Issues/PRs
Fixes the broken links referenced in #10334. Fixes #10334.