8000 MNT Converting http to https (#12277) · lithuak/scikit-learn@74b56db · GitHub
[go: up one dir, main page]

Skip to content

Commit 74b56db

Browse files
TakingItCasualqinhanmin2014
authored andcommitted
MNT Converting http to https (scikit-learn#12277)
1 parent 3f5bf97 commit 74b56db

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+111
-111
lines changed

CONTRIBUTING.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ following rules before submitting:
196196

197197
- Please be specific about what estimators and/or functions are involved
198198
and the shape of the data, as appropriate; please include a
199-
[reproducible](http://stackoverflow.com/help/mcve) code snippet
199+
[reproducible](https://stackoverflow.com/help/mcve) code snippet
200200
or link to a [gist](https://gist.github.com). If an exception is raised,
201201
please provide the traceback.
202202

@@ -230,8 +230,8 @@ be placed in ``_build/html/stable`` and are viewable in a web browser. See the
230230

231231
For building the documentation, you will need
232232
[sphinx](http://sphinx.pocoo.org/),
233-
[matplotlib](http://matplotlib.org/), and
234-
[pillow](http://pillow.readthedocs.io/en/latest/).
233+
[matplotlib](https://matplotlib.org/), and
234+
[pillow](https://pillow.readthedocs.io/en/latest/).
235235

236236
When you are writing documentation, it is important to keep a good
237237
compromise between mathematical and algorithmic details, and give

ISSUE_ 10000 TEMPLATE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!--
22
If your issue is a usage question, submit it here instead:
3-
- StackOverflow with the scikit-learn tag: http://stackoverflow.com/questions/tagged/scikit-learn
3+
- StackOverflow with the scikit-learn tag: https://stackoverflow.com/questions/tagged/scikit-learn
44
- Mailing List: https://mail.python.org/mailman/listinfo/scikit-learn
55
For more information, see User Questions: http://scikit-learn.org/stable/support.html#user-questions
66
-->

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ Communication
167167

168168
- Mailing list: https://mail.python.org/mailman/listinfo/scikit-learn
169169
- IRC channel: ``#scikit-learn`` at ``webchat.freenode.net``
170-
- Stack Overflow: http://stackoverflow.com/questions/tagged/scikit-learn
170+
- Stack Overflow: https://stackoverflow.com/questions/tagged/scikit-learn
171171
- Website: http://scikit-learn.org
172172

173173
Citation

appveyor.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ environment:
66
global:
77
# SDK v7.0 MSVC Express 2008's SetEnv.cmd script will fail if the
88
# /E:ON and /V:ON options are not enabled in the batch script interpreter
9-
# See: http://stackoverflow.com/a/13751649/163740
9+
# See: https://stackoverflow.com/a/13751649/163740
1010
CMD_IN_ENV: "cmd /E:ON /V:ON /C .\\build_tools\\appveyor\\run_with_env.cmd"
1111
WHEELHOUSE_UPLOADER_USERNAME: sklearn-appveyor
1212
WHEELHOUSE_UPLOADER_SECRET:
@@ -46,7 +46,7 @@ install:
4646
Where-Object pullRequestId -eq $env:APPVEYOR_PULL_REQUEST_NUMBER)[0].buildNumber) { `
4747
throw "There are newer queued builds for this pull request, failing early." }
4848

49-
# Install Python (from the official .msi of http://python.org) and pip when
49+
# Install Python (from the official .msi of https://python.org) and pip when
5050
# not already installed.
5151
- "powershell ./build_tools/appveyor/install.ps1"
5252
- "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"

benchmarks/bench_plot_nmf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ def _nls_subproblem(X, W, H, tol, max_iter, alpha=0., l1_ratio=0.,
9696
----------
9797
C.-J. Lin. Projected gradient methods for non-negative matrix
9898
factorization. Neural Computation, 19(2007), 2756-2779.
99-
http://www.csie.ntu.edu.tw/~cjlin/nmf/
99+
https://www.csie.ntu.edu.tw/~cjlin/nmf/
100100
"""
101101
WtX = safe_sparse_dot(W.T, X)
102102
WtW = np.dot(W.T, W)

benchmarks/bench_plot_randomized_svd.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
----------
5353
(1) Finding structure with randomness: Stochastic algorithms for constructing
5454
approximate matrix decompositions
55-
Halko, et al., 2009 http://arxiv.org/abs/arXiv:0909.4061
55+
Halko, et al., 2009 https://arxiv.org/abs/0909.4061
5656
5757
(2) A randomized algorithm for the decomposition of matrices
5858
Per-Gunnar Martinsson, Vladimir Rokhlin and Mark Tygert
@@ -106,7 +106,7 @@
106106
MAX_MEMORY = np.int(2e9)
107107

108108
# The following datasets can be dowloaded manually from:
109-
# CIFAR 10: http://www.cs.toronto.edu/~kriz/cifar-10-python.tar.gz
109+
# CIFAR 10: https://www.cs.toronto.edu/~kriz/cifar-10-python.tar.gz
110110
# SVHN: http://ufldl.stanford.edu/housenumbers/train_32x32.mat
111111
CIFAR_FOLDER = "./cifar-10-batches-py/"
112112
SVHN_FOLDER = "./SVHN/"

build_tools/appveyor/install.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Sample script to install Python and pip under Windows
22
# Authors: Olivier Grisel, Jonathan Helmus, Kyle Kastner, and Alex Willmer
3-
# License: CC0 1.0 Universal: http://creativecommons.org/publicdomain/zero/1.0/
3+
# License: CC0 1.0 Universal: https://creativecommons.org/publicdomain/zero/1.0/
44

5-
$MINICONDA_URL = "http://repo.continuum.io/miniconda/"
5+
$MINICONDA_URL = "https://repo.continuum.io/miniconda/"
66
$BASE_URL = "https://www.python.org/ftp/python/"
77
$GET_PIP_URL = "https://bootstrap.pypa.io/get-pip.py"
88
$GET_PIP_PATH = "C:\get-pip.py"

build_tools/appveyor/run_with_env.cmd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@
1414
::
1515
:: More details at:
1616
:: https://github.com/cython/cython/wiki/64BitCythonExtensionsOnWindows
17-
:: http://stackoverflow.com/a/13751649/163740
17+
:: https://stackoverflow.com/a/13751649/163740
1818
::
1919
:: Author: Olivier Grisel
20-
:: License: CC0 1.0 Universal: http://creativecommons.org/publicdomain/zero/1.0/
20+
:: License: CC0 1.0 Universal: https://creativecommons.org/publicdomain/zero/1.0/
2121
::
2222
:: Notes about batch files for Python people:
2323
::

build_tools/travis/after_success.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22
# This script is meant to be called by the "after_success" step defined in
3-
# .travis.yml. See http://docs.travis-ci.com/ for more details.
3+
# .travis.yml. See https://docs.travis-ci.com/ for more details.
44

55
# License: 3-clause BSD
66

build_tools/travis/install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22
# This script is meant to be called by the "install" step defined in
3-
# .travis.yml. See http://docs.travis-ci.com/ for more details.
3+
# .travis.yml. See https://docs.travis-ci.com/ for more details.
44
# The behavior of the script is controlled by environment variabled defined
55
# in the .travis.yml in the top level folder of the project.
66

build_tools/travis/test_script.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22
# This script is meant to be called by the "script" step defined in
3-
# .travis.yml. See http://docs.travis-ci.com/ for more details.
3+
# .travis.yml. See https://docs.travis-ci.com/ for more details.
44
# The behavior of the script is controlled by environment variabled defined
55
# in the .travis.yml in the top level folder of the project.
66

build_tools/windows/windows_testing_downloader.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ param (
2727

2828
function DisableInternetExplorerESC {
2929
# Disables InternetExplorerESC to enable easier manual downloads of testing packages.
30-
# http://stackoverflow.com/questions/9368305/disable-ie-security-on-windows-server-via-powershell
30+
# https://stackoverflow.com/questions/9368305/disable-ie-security-on-windows-server-via-powershell
3131
$AdminKey = "HKLM:\SOFTWARE\Microsoft\Active Setup\Installed Components\{A509B1A7-37EF-4b3f-8CFC-4F3A74704073}"
3232
$UserKey = "HKLM:\SOFTWARE\Microsoft\Active Setup\Installed Components\{A509B1A8-37EF-4b3f-8CFC-4F3A74704073}"
3333
Set-ItemProperty -Path $AdminKey -Name "IsInstalled" -Value 0
@@ -153,7 +153,7 @@ function InstallGit {
153153
}
154154

155155
function ReadAndUpdateFromRegistry {
156-
# http://stackoverflow.com/questions/14381650/how-to-update-windows-powershell-session-environment-variables-from-registry
156+
# https://stackoverflow.com/questions/14381650/how-to-update-windows-powershell-session-environment-variables-from-registry
157157
foreach($level in "Machine","User") {
158158
[Environment]::GetEnvironmentVariables($level).GetEnumerator() | % {
159159
# For Path variables, append the new values, if they're not already in there

doc/about.rst

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ If you want to cite scikit-learn for its API or design, you may also want to con
6161
following paper:
6262

6363
`API design for machine learning software: experiences from the scikit-learn
64-
project <http://arxiv.org/abs/1309.0238>`_, Buitinck *et al.*, 2013.
64+
project <https://arxiv.org/abs/1309.0238>`_, Buitinck *et al.*, 2013.
6565

6666
Bibtex entry::
6767

@@ -108,14 +108,14 @@ funded one year for a developer to work on the project full-time
108108
:align: center
109109
:target: http://www.datascience-paris-saclay.fr
110110

111-
`NYU Moore-Sloan Data Science Environment <http://cds.nyu.edu/mooresloan/>`_
111+
`NYU Moore-Sloan Data Science Environment <https://cds.nyu.edu/mooresloan/>`_
112112
funded Andreas Mueller (2014-2016) to work on this project. The Moore-Sloan Data Science
113113
Environment also funds several students to work on the project part-time.
114114

115115
.. image:: images/nyu_short_color.png
116116
:width: 200pt
117117
:align: center
118-
:target: http://cds.nyu.edu/mooresloan/
118+
:target: https://cds.nyu.edu/mooresloan/
119119

120120

121121
`Télécom Paristech <http://www.telecom-paristech.com>`_ funded Manoj Kumar (2014),
@@ -128,12 +128,12 @@ and Albert Thomas (2017) to work on scikit-learn.
128128
:target: http://www.telecom-paristech.fr/
129129

130130

131-
`Columbia University <http://columbia.edu>`_ funds Andreas Müller since 2016.
131+
`Columbia University <https://columbia.edu/>`_ funds Andreas Müller since 2016.
132132

133133
.. image:: themes/scikit-learn/static/img/columbia.png
134134
:width: 100pt
135135
:align: center
136-
:target: http://www.columbia.edu/
136+
:target: https://www.columbia.edu/
137137

138138
Andreas Müller also received a grant to improve scikit-learn from the `Alfred P. Sloan Foundation <https://sloan.org>`_ in 2017.
139139

@@ -142,12 +142,12 @@ Andreas Müller also received a grant to improve scikit-learn from the `Alfred P
142142
:align: center
143143
:target: https://sloan.org/
144144

145-
`The University of Sydney <http://sydney.edu.au>`_ funds Joel Nothman since July 2017.
145+
`The University of Sydney <https://sydney.edu.au/>`_ funds Joel Nothman since July 2017.
146146

147147
.. image:: themes/scikit-learn/static/img/sydney-primary.jpeg
148148
:width: 200pt
149149
:align: center
150-
:target: http://www.sydney.edu.au/
150+
:target: https://sydney.edu.au/
151151

152152
`The Labex DigiCosme <https://digicosme.lri.fr>`_ funded Nicolas Goix (2015-2016),
153153
Tom Dupré la Tour (2015-2016 and 2017-2018), Mathurin Massias (2018-2019) to work part time
@@ -169,17 +169,17 @@ program.
169169
- 2013 - Kemal Eren, Nicolas Trésegnie
170170
- 2014 - Hamzeh Alsalhi, Issam Laradji, Maheshakya Wijewardena, Manoj Kumar.
171171
- 2015 - `Raghav RV <https://github.com/raghavrv>`_, Wei Xue
172-
- 2016 - `Nelson Liu <http://nelsonliu.me>`_, `YenChen Lin <http://yclin.me>`_
172+
- 2016 - `Nelson Liu <http://nelsonliu.me>`_, `YenChen Lin <https://yclin.me/>`_
173173

174174
It also provided funding for sprints and events around scikit-learn. If
175175
you would like to participate in the next Google Summer of code
176176
program, please see `this page
177177
<https://github.com/scikit-learn/scikit-learn/wiki/SummerOfCode>`_.
178178

179179
The `NeuroDebian <http://neuro.debian.net>`_ project providing `Debian
180-
<http://www.debian.org>`_ packaging and contributions is supported by
180+
<https://www.debian.org/>`_ packaging and contributions is supported by
181181
`Dr. James V. Haxby <http://haxbylab.dartmouth.edu/>`_ (`Dartmouth
182-
College <http://pbs.dartmouth.edu>`_).
182+
College <https://pbs.dartmouth.edu/>`_).
183183

184184
The `PSF <https://www.python.org/psf/>`_ helped find and manage funding for our
185185
2011 Granada sprint. More information can be found `here
@@ -193,12 +193,12 @@ Donating to the project
193193
~~~~~~~~~~~~~~~~~~~~~~~
194194

195195
If you are interested in donating to the project or to one of our code-sprints, you can use
196-
the *Paypal* button below or the `NumFOCUS Donations Page <http://www.numfocus.org/support-numfocus.html>`_ (if you use the latter, please indicate that you are donating for the scikit-learn project).
196+
the *Paypal* button below or the `NumFOCUS Donations Page <https://www.numfocus.org/support-numfocus.html>`_ (if you use the latter, please indicate that you are donating for the scikit-learn project).
197197

198198
All donations will be handled by `NumFOCUS
199-
<http://www.numfocus.org>`_, a non-profit-organization which is
199+
<https://numfocus.org/>`_, a non-profit-organization which is
200200
managed by a board of `Scipy community members
201-
<http://www.numfocus.org/board.html>`_. NumFOCUS's mission is to foster
201+
<https://numfocus.org/board.html>`_. NumFOCUS's mission is to foster
202202
scientific computing software, in particular in Python. As a fiscal home
203203
of scikit-learn, it ensures that money is available when needed to keep
204204
the project funded and available while in compliance with tax regulations.
@@ -245,7 +245,7 @@ The 2013 Paris international sprint
245245

246246
.. |telecom| image:: themes/scikit-learn/static/img/telecom.png
247247
:width: 120pt
248-
:target: http://www.telecom-paristech.fr/
248+
:target: https://www.telecom-paristech.fr/
249249

250250

251251
.. |tinyclues| image:: https://www.tinyclues.com/web/wp-content/uploads/2016/06/Tinyclues-PNG-logo.png
@@ -268,7 +268,7 @@ The 2013 Paris international sprint
268268

269269
.. figure:: images/dysco.png
270270
:width: 120pt
271-
:target: http://sites.uclouvain.be/dysco/
271+
:target: https://sites.uclouvain.be/dysco/
272272

273273
IAP VII/19 - DYSCO
274274

doc/datasets/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -530,7 +530,7 @@ format usable by scikit-learn:
530530
For some miscellaneous data such as images, videos, and audio, you may wish to
531531
refer to:
532532

533-
* `skimage.io <http://scikit-image.org/docs/dev/api/skimage.io.html>`_ or
533+
* `skimage.io <https://scikit-image.org/docs/dev/api/skimage.io.html>`_ or
534534
`Imageio <https://imageio.readthedocs.io/en/latest/userapi.html>`_
535535
for loading images and videos into numpy arrays
536536
* `scipy.io.wavfile.read

doc/developers/advanced_installation.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ builds the extension in place and creates a link to the development directory
8686
.. note::
8787

8888
This is fundamentally similar to using the command ``python setup.py develop``
89-
(see `the setuptool docs <http://setuptools.readthedocs.io/en/latest/setuptools.html#development-mode>`_).
89+
(see `the setuptool docs <https://setuptools.readthedocs.io/en/latest/setuptools.html#development-mode>`_).
9090
It is however preferred to use pip.
9191

9292
.. note::

doc/developers/contributing.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ feedback:
128128

129129
- The ideal bug report contains a **short reproducible code snippet**, this way
130130
anyone can try to reproduce the bug easily (see `this
131-
<http://stackoverflow.com/help/mcve>`_ for more details). If your snippet is
131+
<https://stackoverflow.com/help/mcve>`_ for more details). If your snippet is
132132
longer than around 50 lines, please link to a `gist
133133
<https://gist.github.com>`_ or a github repo.
134134

@@ -354,7 +354,7 @@ and Cython optimizations.
354354
workflow, please pay a visit to the `Scipy Development Workflow
355355
<http://docs.scipy.org/doc/numpy/dev/gitwash/development_workflow.html>`_ -
356356
and the `Astropy Workflow for Developers
357-
<http://astropy.readthedocs.io/en/latest/development/workflow/development_workflow.html>`_
357+
<https://astropy.readthedocs.io/en/latest/development/workflow/development_workflow.html>`_
358358
sections.
359359

360360
.. topic:: Continuous Integration (CI)
@@ -899,7 +899,7 @@ just remember that ``print`` is a function and
899899
integer division is written ``//``.
900900
String handling has been overhauled, though, as have parts of
901901
the Python standard library.
902-
The `six <http://pythonhosted.org/six/>`_ package helps with
902+
The `six <https://pythonhosted.org/six/>`_ package helps with
903903
cross-compatibility and is included in scikit-learn as
904904
``sklearn.externals.six``.
905905

doc/developers/performance.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ this means trying to **replace any nested for loops by calls to equivalent
4040
Numpy array methods**. The goal is to avoid the CPU wasting time in the
4141
Python interpreter rather than crunching numbers to fit your statistical
4242
model. It's generally a good idea to consider NumPy and SciPy performance tips:
43-
http://scipy.github.io/old-wiki/pages/PerformanceTips
43+
https://scipy.github.io/old-wiki/pages/PerformanceTips
4444

4545
Sometimes however an algorithm cannot be expressed efficiently in simple
4646
vectorized Numpy code. In this case, the recommended strategy is the

doc/developers/tips.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ such as `TamperMonkey`_ or `GreaseMonkey`_; to set up userscripts you must have
1414
one of these extensions installed, enabled and running. We provide userscripts
1515
as GitHub gists; to install them, click on the "Raw" button on the gist page.
1616

17-
.. _TamperMonkey: https://tampermonkey.net
18-
.. _GreaseMonkey: http://www.greasespot.net
17+
.. _TamperMonkey: https://tampermonkey.net/
18+
.. _GreaseMonkey: https://www.greasespot.net/
1919

2020

2121
.. _viewing_rendered_html_documentation:
@@ -177,7 +177,7 @@ PR-NEW: Fix #
177177
PR-NEW or Issue: Maintenance cost
178178
::
179179

180-
Every feature we include has a [maintenance cost](http://scikit-learn.org/dev/faq.html#why-are-you-so-selective-on-what-algorithms-you-include-in-scikit-learn). Our maintainers are mostly volunteers. For a new feature to be included, we need evidence that it is often useful and, ideally, [well-established](http://scikit-learn.org/dev/faq.html#what-are-the-inclusion-criteria-for-new-algorithms) in the literature or in practice. That doesn't stop you implementing it for yourself and publishing it in a separate repository, or even [scikit-learn-contrib](http://scikit-learn-contrib.github.io).
180+
Every feature we include has a [maintenance cost](http://scikit-learn.org/dev/faq.html#why-are-you-so-selective-on-what-algorithms-you-include-in-scikit-learn). Our maintainers are mostly volunteers. For a new feature to be included, we need evidence that it is often useful and, ideally, [well-established](http://scikit-learn.org/dev/faq.html#what-are-the-inclusion-criteria-for-new-algorithms) in the literature or in practice. That doesn't stop you implementing it for yourself and publishing it in a separate repository, or even [scikit-learn-contrib](https://scikit-learn-contrib.github.io).
181181

182182
PR-WIP: What's needed before merge?
183183
::
@@ -244,8 +244,8 @@ code. Follow these steps:
244244
$> valgrind -v --suppressions=valgrind-python.supp python my_test_script.py
245245

246246
.. _valgrind: http://valgrind.org
247-
.. _`README.valgrind`: http://svn.python.org/projects/python/trunk/Misc/README.valgrind
248-
.. _`valgrind-python.supp`: http://svn.python.org/projects/python/trunk/Misc/valgrind-python.supp
247+
.. _`README.valgrind`: https://svn.python.org/projects/python/trunk/Misc/README.valgrind
248+
.. _`valgrind-python.supp`: https://svn.python.org/projects/python/trunk/Misc/valgrind-python.supp
249249

250250

251251
The result will be a list of all the memory-related errors, which reference

0 commit comments

Comments
 (0)
0