Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
103 commits
Select commit Hold shift + click to select a range
03baf0f
MNT Update array-api-compat to 1.12 (#31388)
lesteve May 20, 2025
4022014
DOC: Correct a typo: this examples -> this example (#31458)
star1327p Jun 1, 2025
27835fa
DOC Use `from_cv_results` in `plot_roc_crossval.py` (#31455)
lucyleeow Jun 2, 2025
67749c3
:lock: :robot: CI Update lock files for main CI build(s) :lock: :robo…
scikit-learn-bot Jun 2, 2025
1b1df69
MNT Use tmp_path fixture for test_check_memory (#31453)
hroncok Jun 3, 2025
b705139
:lock: :robot: CI Update lock files for array-api CI build(s) :lock: …
scikit-learn-bot Jun 3, 2025
9e3a206
:lock: :robot: CI Update lock files for scipy-dev CI build(s) :lock: …
scikit-learn-bot Jun 3, 2025
5301945
:lock: :robot: CI Update lock files for free-threaded CI build(s) :lo…
scikit-learn-bot Jun 3, 2025
d714d47
DOC Add link to plot_monotonic_constraints.py in ensemble examples (#…
shivamchhuneja Jun 4, 2025
22b23f4
DOC Add link for prediction latency plot example in SGD Regression#30…
tjnorred Jun 5, 2025
d4087a3
:lock: :robot: CI Update lock files for scipy-dev CI build(s) :lock: …
scikit-learn-bot Jun 9, 2025
113b231
:lock: :robot: CI Update lock files for free-threaded CI build(s) :lo…
scikit-learn-bot Jun 9, 2025
223c425
:lock: :robot: CI Update lock files for array-api CI build(s) :lock: …
scikit-learn-bot Jun 9, 2025
9742b1c
:lock: :robot: CI Update lock files for main CI build(s) :lock: :robo…
scikit-learn-bot Jun 9, 2025
0475cae
DOC Add additional donation options to About page (#31379)
ShauryaDusht Jun 10, 2025
ba9fa2b
MNT Add free-threaded wheel for Linux arm (#31513)
MatthewSZhang Jun 10, 2025
5ca79f2
DOC Added example comparing L1-based models to ARD user guide (#31425)
supersom Jun 10, 2025
ba9e063
DOC: Add link to plot_ensemble_oob example (#31457)
Ganasekhar-gif Jun 11, 2025
7fef2fd
FIX: fix wrongly used `plt.show()` in examples (#31524)
ChVeen Jun 12, 2025
be75711
DOC add reference to higher level functions in estimator_checks_gener…
adrinjalali Jun 12, 2025
210cdca
DOC Scale data before using k-neighbours regression (#31201)
5nizza Jun 12, 2025
2b2a5c4
Preemptively fix incompatibilities with an upcoming array-api-strict …
ev-br Jun 12, 2025
073714c
CI Fix wheels build after cibuildwheel 3.0 release (#31532)
lesteve Jun 12, 2025
44e12ae
DOC Clarify metadata routing docs from `_metadata_requests.py` module…
StefanieSenger Jun 13, 2025
87ced4d
DOC Update About Us page (#31519)
reshamas Jun 13, 2025
46b2ebd
TST use global_random_seed in sklearn/feature_extraction/tests/test_i…
TheAyos Jun 13, 2025
9c1b729
DOC link kernel_approximation example to Nystrom and RBFSampler in Us…
agitator Jun 17, 2025
60e4b19
DOC Fix `RocCurveDisplay` docstring and parameter order (#31578)
lucyleeow Jun 18, 2025
59349e4
:lock: :robot: CI Update lock files for scipy-dev CI build(s) :lock: …
scikit-learn-bot Jun 18, 2025
bb5070b
:lock: :robot: CI Update lock files for array-api CI build(s) :lock: …
scikit-learn-bot Jun 18, 2025
4d6eef6
:lock: :robot: CI Update lock files for free-threaded CI build(s) :lo…
scikit-learn-bot Jun 18, 2025
0424ae9
:lock: :robot: CI Update lock files for main CI build(s) :lock: :robo…
scikit-learn-bot Jun 18, 2025
c88a15b
DOC: add link to the plot_mahalanobis_distances example (#31485)
natmokval Jun 18, 2025
b6746e8
Doc add link plot robust vs empirical covariance examples (#31511)
natmokval Jun 18, 2025
063fd28
DOC add link to plot_cv_predict example in cross_val_predict doc (#31…
sisird864 Jun 18, 2025
2e7bac1
MNT replace `fetch_california_housing` with `make_regression` in `get…
virchan Jun 18, 2025
2b0c017
DOC:Add inline example link to RFECV class docstring (#30621) (#31476)
VirenPassi Jun 18, 2025
77f6889
DOC change 'relation' to 'relationship' in classification_threshold (…
mayankraj25 Jun 18, 2025
4824508
DOC implement responsive multi-column layout for emeritus contributor…
bl3ck Jun 18, 2025
5148b0b
DOC fix formatting of `intercept_scaling` parameter in `LogisticRegre…
virchan Jun 18, 2025
e62bcc2
BLD: use more modern way to specify license metadata (#31560)
rrricharrrd Jun 18, 2025
2b55c3a
DOC: Improve Ridge regression example β€” fix typo, clarify title, add …
dhyeyinf Jun 18, 2025
c0e1490
FIX set `CategoricalNB().__sklearn_tags__.input_tags.categorical` to …
ogrisel Jun 18, 2025
38ef3ce
DOC Fix example Recursive feature elimination with cross-validation (…
StefRe Jun 18, 2025
69bdef0
DOC Add examples of make_scorer usage to fbeta_score docstring (#28755)
marijavlajic Jun 18, 2025
1a19e3c
DOC Improve older whats_new doc entries (#31589)
ztw33 Jun 19, 2025
b2aaea0
FIX fix comparison between array-like parameters when detecting non-d…
DeaMariaLeon Jun 19, 2025
194dd9a
DOC Revise the math formatting for eta_0 (#31598)
star1327p Jun 20, 2025
441bcea
MNT Simplify inefficient regex (#31603)
lesteve Jun 23, 2025
c4b7489
GOV more pragmatic decision making process for small PRs (#31430)
lorentzenchr Jun 23, 2025
92ae8db
DOC Fix misleading statement about model refitting in permutation imp…
GaetandeCast Jun 24, 2025
2b0d2aa
CI Avoid Windows timeout by switching to OpenBLAS (#31641)
glemaitre Jun 26, 2025
3c3e4c1
FIX use pyarrow types in pyarrow.filter() for older pyarrow versions …
StefanieSenger Jun 26, 2025
77b2afd
Fix `make_swiss_roll` docstring to resolve a copyright ambiguity (#31…
ogrisel Jun 26, 2025
4c4cb5a
DOC Clarify how mixed array input types handled in array api (#31452)
lucyleeow Jun 26, 2025
77d38fa
DOC Fixed typo (#31667)
burkh4rt Jun 29, 2025
dac8ed9
MNT Remove deprecated `iprint` and `disp` usage in scipy 1.15 LBFGS (…
lesteve Jun 29, 2025
86da0f6
DOC fix minor typo in `TimeSeriesSplit` docstrings (#31640)
sylvaincom Jun 29, 2025
a9daa12
DOC Fix typo math formating (#31622)
star1327p Jun 29, 2025
df66d12
DOC: Remove FIXME tags from glossary (#31677)
ShauryaDusht Jun 29, 2025
8bae7eb
:lock: :robot: CI Update lock files for free-threaded CI build(s) :lo…
scikit-learn-bot Jun 30, 2025
5927ff5
:lock: :robot: CI Update lock files for array-api CI build(s) :lock: …
scikit-learn-bot Jun 30, 2025
87648a6
BLD fix missing license file (#31594)
adrinjalali Jun 30, 2025
8e1c690
MAINT: make scipy-doctest usage forward-compatible (#31609)
ev-br Jun 30, 2025
0eaf1c3
:lock: :robot: CI Update lock files for scipy-dev CI build(s) :lock: …
scikit-learn-bot Jul 2, 2025
1ae703c
MAINT upgrade CI to cibuildwheel 3.0 (#31688)
ogrisel Jul 2, 2025
9c72945
:lock: :robot: CI Update lock files for main CI build(s) :lock: :robo…
scikit-learn-bot Jul 2, 2025
dd5b9ee
DOC Add Links to plot_lof_novelty_detection example (#31405)
SiyuJin-1 Jul 2, 2025
382dac7
DOC Improve docstrings for scikit-learn configuration functions (#31486)
StefanieSenger Jul 2, 2025
7fdbe27
DOC Recommend setting `array_api_dispatch` globally in array API docs…
lucyleeow Jul 2, 2025
66da5a4
MAINT CI cleanups and checks (#31690)
ogrisel Jul 2, 2025
8d23830
FIX wrong >= in error message in `_locally_linear_embedding` (#29716)
AdrianoCLeao Jul 2, 2025
50e0107
Revert ":lock: :robot: CI Update lock files for main CI build(s) :loc…
adrinjalali Jul 3, 2025
0baaca3
DOC Make references to scipy modules/functions links in `pairwise.py`…
lucyleeow Jul 3, 2025
8db769a
DOC: Replace the tag XXX with Note in Glossary (#31710)
star1327p Jul 7, 2025
01d52cc
:lock: :robot: CI Update lock files for scipy-dev CI build(s) :lock: …
scikit-learn-bot Jul 7, 2025
1d656cd
:lock: :robot: CI Update lock files for array-api CI build(s) :lock: …
scikit-learn-bot Jul 7, 2025
4116db2
DOC Fix typo in `ensemble.rst` (#31711)
lucyleeow Jul 7, 2025
06032cb
:lock: :robot: CI Update lock files for free-threaded CI build(s) :lo…
scikit-learn-bot Jul 7, 2025
31a2286
FIX Revert tarfile_extractall clean-up (#31685)
jeremiedbb Jul 7, 2025
08af3e9
:lock: :robot: CI Update lock files for main CI build(s) :lock: :robo…
scikit-learn-bot Jul 7, 2025
9ab893a
BLD Use Cython's shared memoryview utility to reduce wheel size (#31151)
thomasjpfan Jul 7, 2025
34a10d5
DOC add link for Discussions in the footer (#31704)
reshamas Jul 7, 2025
9ef6593
FIX short deprecation cycle for private module (#31500)
glemaitre Jul 8, 2025
84d31fc
CI Move some pip_dependencies to conda_dependencies (#31623)
StefanieSenger Jul 8, 2025
7132d02
DOC Fix broken formatting of `cohen_kappa_score` docstring (#31732)
StefanieSenger Jul 10, 2025
1c39889
DOC: Correct several math typos in the User Guide (#31736)
star1327p Jul 10, 2025
a8e4f1a
CI Remove constraints for scipy version in `pylatest_conda_mkl_no_ope…
StefanieSenger Jul 10, 2025
729f6a3
MNT Update pre-commit ruff legacy alias (#31740)
DimitriPapadopoulos Jul 11, 2025
f54a11f
DOC: Update a link to a research paper (#31739)
star1327p Jul 11, 2025
30c033f
Fix `PandasAdapter` causes crash or misattributed features (#31079)
nicolas-bolle Jul 11, 2025
1480c04
Fix spurious warning from type_of_target when called on estimator.cla…
saskra Jul 14, 2025
dbcfbf9
FIX Avoid fitting a pipeline without steps (#31723)
DeaMariaLeon Jul 14, 2025
63ca649
Mention possibility of regression targets in warning about unique cla…
lucyleeow Jul 14, 2025
a73deee
:lock: :robot: CI Update lock files for main CI build(s) :lock: :robo…
scikit-learn-bot Jul 15, 2025
d60cafe
:lock: :robot: CI Update lock files for array-api CI build(s) :lock: …
scikit-learn-bot Jul 15, 2025
ba2918e
:lock: :robot: CI Update lock files for free-threaded CI build(s) :lo…
scikit-learn-bot Jul 15, 2025
6b2b4b4
:lock: :robot: CI Update lock files for scipy-dev CI build(s) :lock: …
scikit-learn-bot Jul 15, 2025
6cba1d8
FIX: Regression in DecisionBoundaryDisplay.from_estimator with colors…
jshn9515 Jul 15, 2025
f97fe77
CI Avoid miniconda CondaToSNonInteractiveError and stop using the def…
lesteve Jul 16, 2025
33893bd
set version
jeremiedbb Jul 16, 2025
35afe8d
generate changelog 1.7.1
jeremiedbb Jul 16, 2025
672a2dd
[cd build] Trigger wheel builder workflow
jeremiedbb Jul 16, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/cuda-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ jobs:
- uses: actions/checkout@v4

- name: Build wheels
uses: pypa/cibuildwheel@faf86a6ed7efa889faf6996aa23820831055001a
uses: pypa/cibuildwheel@5f22145df44122af0f5a201f93cf0207171beca7
env:
CIBW_BUILD: cp313-manylinux_x86_64
CIBW_MANYLINUX_X86_64_IMAGE: manylinux2014
CIBW_MANYLINUX_X86_64_IMAGE: manylinux_2_28
CIBW_BUILD_VERBOSITY: 1
CIBW_ARCHS: x86_64

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/emscripten.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:
with:
persist-credentials: false

- uses: pypa/cibuildwheel@faf86a6ed7efa889faf6996aa23820831055001a
- uses: pypa/cibuildwheel@5f22145df44122af0f5a201f93cf0207171beca7
env:
CIBW_PLATFORM: pyodide
SKLEARN_SKIP_OPENMP_TEST: "true"
Expand Down
16 changes: 10 additions & 6 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ jobs:
- os: windows-latest
python: 313t
platform_id: win_amd64
free_threaded_support: True
cibw_enable: cpython-freethreading

# Linux 64 bit manylinux2014
- os: ubuntu-latest
Expand All @@ -98,7 +98,7 @@ jobs:
python: 313t
platform_id: manylinux_x86_64
manylinux_image: manylinux2014
free_threaded_support: True
cibw_enable: cpython-freethreading

# # Linux 64 bit manylinux2014
- os: ubuntu-24.04-arm
Expand All @@ -117,6 +117,11 @@ jobs:
python: 313
platform_id: manylinux_aarch64
manylinux_image: manylinux2014
- os: ubuntu-24.04-arm
python: 313t
platform_id: manylinux_aarch64
manylinux_image: manylinux2014
cibw_enable: cpython-freethreading

# MacOS x86_64
- os: macos-13
Expand All @@ -134,7 +139,7 @@ jobs:
- os: macos-13
python: 313t
platform_id: macosx_x86_64
free_threaded_support: True
cibw_enable: cpython-freethreading

# MacOS arm64
- os: macos-14
Expand All @@ -152,7 +157,7 @@ jobs:
- os: macos-14
python: 313t
platform_id: macosx_arm64
free_threaded_support: True
cibw_enable: cpython-freethreading

steps:
- name: Checkout scikit-learn
Expand All @@ -168,8 +173,7 @@ jobs:

- name: Build and test wheels
env:
CIBW_PRERELEASE_PYTHONS: ${{ matrix.prerelease_pythons }}
CIBW_FREE_THREADED_SUPPORT: ${{ matrix.free_threaded_support }}
CIBW_ENABLE: ${{ matrix.cibw_enable }}
CIBW_ENVIRONMENT: SKLEARN_SKIP_NETWORK_TESTS=1
CIBW_BUILD: cp${{ matrix.python }}-${{ matrix.platform_id }}
CIBW_ARCHS: all
Expand Down
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ repos:
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.11.7
rev: v0.12.2
hooks:
- id: ruff
- id: ruff-check
args: ["--fix", "--output-format=full"]
- id: ruff-format
- repo: https://github.com/pre-commit/mirrors-mypy
Expand Down
8 changes: 4 additions & 4 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -234,9 +234,9 @@ jobs:
LOCK_FILE: './build_tools/azure/pylatest_conda_forge_mkl_osx-64_conda.lock'
SKLEARN_TESTS_GLOBAL_RANDOM_SEED: '5' # non-default seed
SCIPY_ARRAY_API: '1'
pylatest_conda_mkl_no_openmp:
pylatest_conda_forge_mkl_no_openmp:
DISTRIB: 'conda'
LOCK_FILE: './build_tools/azure/pylatest_conda_mkl_no_openmp_osx-64_conda.lock'
LOCK_FILE: './build_tools/azure/pylatest_conda_forge_mkl_no_openmp_osx-64_conda.lock'
SKLEARN_TEST_NO_OPENMP: 'true'
SKLEARN_SKIP_OPENMP_TEST: 'true'
SKLEARN_TESTS_GLOBAL_RANDOM_SEED: '6' # non-default seed
Expand All @@ -253,9 +253,9 @@ jobs:
not(contains(dependencies['git_commit']['outputs']['commit.message'], '[ci skip]'))
)
matrix:
pymin_conda_forge_mkl:
pymin_conda_forge_openblas:
DISTRIB: 'conda'
LOCK_FILE: ./build_tools/azure/pymin_conda_forge_mkl_win-64_conda.lock
LOCK_FILE: ./build_tools/azure/pymin_conda_forge_openblas_win-64_conda.lock
SKLEARN_WARNINGS_AS_ERRORS: '1'
# The Azure Windows runner is typically much slower than other CI
# runners due to the lack of compiler cache. Running the tests with
Expand Down
14 changes: 9 additions & 5 deletions build_tools/azure/debian_32bit_lock.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@
#
# pip-compile --output-file=build_tools/azure/debian_32bit_lock.txt build_tools/azure/debian_32bit_requirements.txt
#
coverage[toml]==7.8.2
coverage[toml]==7.9.2
# via pytest-cov
cython==3.1.1
cython==3.1.2
# via -r build_tools/azure/debian_32bit_requirements.txt
iniconfig==2.1.0
# via pytest
joblib==1.5.1
# via -r build_tools/azure/debian_32bit_requirements.txt
meson==1.8.1
meson==1.8.2
# via meson-python
meson-python==0.18.0
# via -r build_tools/azure/debian_32bit_requirements.txt
Expand All @@ -24,14 +24,18 @@ packaging==25.0
# pyproject-metadata
# pytest
pluggy==1.6.0
# via
# pytest
# pytest-cov
pygments==2.19.2
# via pytest
pyproject-metadata==0.9.1
# via meson-python
pytest==8.3.5
pytest==8.4.1
# via
# -r build_tools/azure/debian_32bit_requirements.txt
# pytest-cov
pytest-cov==6.1.1
pytest-cov==6.2.1
# via -r build_tools/azure/debian_32bit_requirements.txt
threadpoolctl==3.6.0
# via -r build_tools/azure/debian_32bit_requirements.txt
34 changes: 23 additions & 11 deletions build_tools/azure/install_setup_conda.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,34 @@
set -e
set -x

if [[ -z "${CONDA}" ]]; then
# In some runners (macOS-13 and macOS-14 in October 2024) conda is not
# installed so we install it ourselves
MINIFORGE_URL="https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-$(uname)-$(uname -m).sh"
wget ${MINIFORGE_URL} -O miniforge.sh
bash miniforge.sh -b -u -p $HOME/miniforge3
CONDA="$HOME/miniforge3"
PLATFORM=$(uname)
if [[ "$PLATFORM" =~ MINGW|MSYS ]]; then
PLATFORM=Windows
fi
if [[ "$PLATFORM" == "Windows" ]]; then
EXTENSION="exe"
else
EXTENSION="sh"
fi
INSTALLER="miniforge.$EXTENSION"
MINIFORGE_URL="https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-$PLATFORM-$(uname -m).$EXTENSION"
curl -L ${MINIFORGE_URL} -o "$INSTALLER"

MINIFORGE_DIR="$HOME/miniforge3"
if [[ "$PLATFORM" == "Windows" ]]; then
WIN_MINIFORGE_DIR=$(cygpath -w "$MINIFORGE_DIR")
cmd "/C $INSTALLER /InstallationType=JustMe /RegisterPython=0 /S /D=$WIN_MINIFORGE_DIR"
else
# In most runners (in October 2024) conda is installed,
# but in a system folder and we want it user writable
sudo chown -R $USER $CONDA
bash "$INSTALLER" -b -u -p $MINIFORGE_DIR
fi

# Add conda to the PATH so that it can be used in further Azure CI steps.
# Need set +x for ##vso Azure magic otherwise it may add a quote in the PATH.
# For more details, see https://github.com/microsoft/azure-pipelines-tasks/issues/10331
set +x
echo "##vso[task.prependpath]$CONDA/bin"
if [[ "$PLATFORM" == "Windows" ]]; then
echo "##vso[task.prependpath]$MINIFORGE_DIR/Scripts"
else
echo "##vso[task.prependpath]$MINIFORGE_DIR/bin"
fi
set -x
Loading
Loading