8000 Merge branch 'main' into pairwise-distances-argkmin-plug-contd · scikit-learn/scikit-learn@7b90dfa · GitHub
[go: up one dir, main page]

Skip to content

Commit 7b90dfa

Browse files
committed
Merge branch 'main' into pairwise-distances-argkmin-plug-contd
2 parents 5f5a83f + bdb7db5 commit 7b90dfa

File tree

164 files changed

+1524
-2137
lines changed

Some content is hidden

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

164 files changed

+1524
-2137
lines changed

.github/workflows/assign.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ on:
77
jobs:
88
one:
99
runs-on: ubuntu-latest
10+
# Note that string comparisons is not case sensitive.
1011
if: >-
11-
(github.event.comment.body == 'take' ||
12-
github.event.comment.body == 'Take')
13-
&& !github.event.issue.assignee
12+
startsWith(github.event.comment.body, '/take')
13+
&& !github.event.issue.assignee
1414
steps:
1515
- run: |
1616
echo "Assigning issue ${{ github.event.issue.number }} to ${{ github.event.comment.user.login }}"

.github/workflows/check-manifest.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ on:
66

77
jobs:
88
check:
9+
# Don't run on forks
10+
if: github.repository == 'scikit-learn/scikit-learn'
11+
912
runs-on: ubuntu-latest
1013
steps:
1114
- uses: actions/checkout@v2

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,9 @@ _configtest.o.d
7575
# Used by mypy
7676
.mypy_cache/
7777

78+
# virtualenv from advanced installation guide
79+
sklearn-env/
80+
7881
# files generated from a template
7982
sklearn/_loss/_loss.pyx
8083
sklearn/utils/_seq_dataset.pyx

README.rst

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
.. |PythonMinVersion| replace:: 3.7
3636
.. |NumPyMinVersion| replace:: 1.14.6
3737
.. |SciPyMinVersion| replace:: 1.1.0
38-
.. |JoblibMinVersion| replace:: 0.11
38+
.. |JoblibMinVersion| replace:: 1.0.0
3939
.. |ThreadpoolctlMinVersion| replace:: 2.0.0
4040
.. |MatplotlibMinVersion| replace:: 2.2.3
4141
.. |Scikit-ImageMinVersion| replace:: 0.14.5
@@ -89,7 +89,7 @@ User installation
8989
~~~~~~~~~~~~~~~~~
9090

9191
If you already have a working installation of numpy and scipy,
92-
the easiest way to install scikit-learn is using ``pip`` ::
92+
the easiest way to install scikit-learn is using ``pip``::
9393

9494
pip install -U scikit-learn
9595

@@ -184,6 +184,8 @@ Communication
184184

185185
- Mailing list: https://mail.python.org/mailman/listinfo/scikit-learn
186186
- Gitter: https://gitter.im/scikit-learn/scikit-learn
187+
- Blog: https://blog.scikit-learn.org
188+
- Calendar: https://blog.scikit-learn.org/calendar/
187189
- Twitter: https://twitter.com/scikit_learn
188190
- Twitter (commits): https://twitter.com/sklearn_commits
189191
- Stack Overflow: https://stackoverflow.com/questions/tagged/scikit-learn
@@ -193,6 +195,7 @@ Communication
193195
- YouTube: https://www.youtube.com/channel/UCJosFjYm0ZYVUARxuOZqnnw/playlists
194196
- Facebook: https://www.facebook.com/scikitlearnofficial/
195197
- Instagram: https://www.instagram.com/scikitlearnofficial/
198+
- TikTok: https://www.tiktok.com/@scikit.learn
196199

197200
Citation
198201
~~~~~~~~

azure-pipelines.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ jobs:
190190
PANDAS_VERSION: 'none'
191191
THREADPOOLCTL_VERSION: 'min'
192192
COVERAGE: 'false'
193-
# Linux + Python 3.7 build with OpenBLAS and without SITE_JOBLIB
193+
# Linux + Python 3.7 build with OpenBLAS
194194
py37_conda_defaults_openblas:
195195
DISTRIB: 'conda'
196196
CONDA_CHANNEL: 'defaults' # Anaconda main channel
@@ -206,6 +206,7 @@ jobs:
206206
pylatest_pip_openblas_pandas:
207207
DISTRIB: 'conda-pip-latest'
208208
PYTHON_VERSION: '3.9'
209+
PYTEST_VERSION: '6.2.5'
209210
CHECK_PYTEST_SOFT_DEPENDENCY: 'true'
210211
TEST_DOCSTRINGS: 'true'
211212
CHECK_WARNINGS: 'true'
@@ -273,7 +274,8 @@ jobs:
273274
PYTHON_VERSION: '3.7'
274275
CHECK_WARNINGS: 'true'
275276
PYTHON_ARCH: '64'
276-
PYTEST_VERSION: '*'
277+
# Unpin when pytest stalling issue is fixed
278+
PYTEST_VERSION: '6.2.5'
277279
COVERAGE: 'true'
278280
# Temporary fix for setuptools to use disutils from standard lib
279281
# https://github.com/numpy/numpy/issues/17216

benchmarks/bench_plot_randomized_svd.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,10 @@
5050
5151
References
5252
----------
53-
(1) Finding structure with randomness: Stochastic algorithms for constructing
54-
approximate matrix decompositions
55-
Halko, et al., 2009 https://arxiv.org/abs/0909.4061
53+
(1) :arxiv:`"Finding structure with randomness:
54+
Stochastic algorithms for constructing approximate matrix decompositions."
55+
<0909.4061>`
56+
Halko, et al., (2009)
5657
5758
(2) A randomized algorithm for the decomposition of matrices
5859
Per-Gunnar Martinsson, Vladimir Rokhlin and Mark Tygert

build_tools/azure/install.sh

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -142,10 +142,6 @@ if [[ "$COVERAGE" == "true" ]]; then
142142
python -m pip install codecov pytest-cov coverage==6.2
143143
fi
144144

145-
if [[ "$PYTEST_XDIST_VERSION" != "none" ]]; then
146-
python -m pip install pytest-xdist
147-
fi
148-
149145
if [[ "$TEST_DOCSTRINGS" == "true" ]]; then
150146
# numpydoc requires sphinx
151147
python -m pip install sphinx

build_tools/azure/posix.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
PYAMG_VERSION: 'latest'
3131
PILLOW_VERSION: 'latest'
3232
MATPLOTLIB_VERSION: 'latest'
33-
PYTEST_VERSION: 'latest'
33+
PYTEST_VERSION: '6.2.5'
3434
# Disable pytest-xdist as it can stall builds
3535
PYTEST_XDIST_VERSION: 'latest'
3636
THREADPOOLCTL_VERSION: 'latest'

doc/about.rst

Lines changed: 4 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -244,19 +244,18 @@ July 2017.
244244
<div class="sk-sponsor-div">
245245
<div class="sk-sponsor-div-box">
246246

247-
`Zalando SE <https://corporate.zalando.com/en>`_ funds Adrin Jalali since
248-
August 2020.
247+
`Hugging Face <https://huggingface.co/>`_ funds Adrin Jalali since 2022.
249248

250249
.. raw:: html
251250

252251
</div>
253252

254253
<div class="sk-sponsor-div-box">
255254

256-
.. image:: images/zalando_logo.png
257-
:width: 100pt
255+
.. image:: images/huggingface_logo-noborder.png
256+
:width: 55pt
258257
:align: center
259-
:target: https://corporate.zalando.com/en
258+
:target: https://huggingface.co/
260259

261260
.. raw:: html
262261

@@ -423,31 +422,6 @@ time of Joris van den Bossche (2017-2018).
423422
</div>
424423
</div>
425424

426-
............
427-
428-
.. raw:: html
429-
430-
<div class="sk-sponsor-div">
431-
<div class="sk-sponsor-div-box">
432-
433-
`Anaconda, Inc <https://www.anaconda.com/>`_ funded Adrin Jalali in 2019.
434-
435-
.. raw:: html
436-
437-
</div>
438-
439-
<div class="sk-sponsor-div-box">
440-
441-
.. image:: images/anaconda.png
442-
:width: 100pt
443-
:align: center
444-
:target: https://www.anaconda.com/
445-
446-
.. raw:: html
447-
448-
</div>
449-
</div>
450-
451425
..........................
452426

453427
.. raw:: html

doc/computing/parallelism.rst

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -179,21 +179,6 @@ Environment variables
179179

180180
These environment variables should be set before importing scikit-learn.
181181

182-
:SKLEARN_SITE_JOBLIB:
183-
184-
When this environment variable is set to a non zero value,
185-
scikit-learn uses the site joblib rather than its vendored version.
186-
Consequently, joblib must be installed for scikit-learn to run.
187-
Note that using the site joblib is at your own risks: the versions of
188-
scikit-learn and joblib need to be compatible. Currently, joblib 0.11+
189-
is supported. In addition, dumps from joblib.Memory might be incompatible,
190-
and you might loose some caches and have to redownload some datasets.
191-
192-
.. deprecated:: 0.21
193-
194-
As of version 0.21 this parameter has no effect, vendored joblib was
195-
removed and site joblib is always used.
196-
197182
:SKLEARN_ASSUME_FINITE:
198183

199184
Sets the default value for the `assume_finite` argument of

0 commit comments

Comments
 (0)
0