Skip to content
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

[Track v1.4] New PR branch to serve as submodule for scikit-tree #53

Open
wants to merge 332 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
332 commits
Select commit Hold shift + click to select a range
d455aa1
cimport _build pruned tree
adam2392 Jun 21, 2024
0d0c449
Merge branch 'main' into submodulev3
adam2392 Jul 2, 2024
465d47f
Merge branch 'main' into submodulev3
adam2392 Jul 5, 2024
05f2f9f
Merging main
adam2392 Jul 10, 2024
ae2604b
Make sure its defined
adam2392 Jul 11, 2024
2de80e1
Merged latest changes from sklearn upstream 07/20/24
adam2392 Jul 21, 2024
971c41d
Merging main 080724
adam2392 Aug 8, 2024
b201fcb
Update wrt main
adam2392 Aug 8, 2024
ac5cb8a
Merging main
adam2392 Aug 13, 2024
1f1cbd9
Merging main
adam2392 Sep 5, 2024
600187a
Merging main
adam2392 Sep 5, 2024
d9c9bd4
Merging main
adam2392 Sep 6, 2024
473f7bc
Reverting
adam2392 Sep 6, 2024
ee4b9b7
Fixed
adam2392 Sep 6, 2024
d3788bf
Fixed
adam2392 Sep 6, 2024
8f32f29
Fixed
adam2392 Sep 6, 2024
8c6be9f
Fixed
adam2392 Sep 6, 2024
5b074dd
Reverting back to imports
adam2392 Sep 9, 2024
8095921
Fixed
adam2392 Sep 9, 2024
960b589
Fix validate
adam2392 Sep 9, 2024
0a2a6ce
:lock: :robot: CI Update lock files for main CI build(s) :lock: :robo…
scikit-learn-bot Sep 9, 2024
ba6b5b7
:lock: :robot: CI Update lock files for scipy-dev CI build(s) :lock: …
scikit-learn-bot Sep 9, 2024
9758a51
:lock: :robot: CI Update lock files for cirrus-arm CI build(s) :lock:…
scikit-learn-bot Sep 9, 2024
6275f25
MAINT: Remove __SKLEARN_SETUP__ from __init__.py (#29803)
thomasjpfan Sep 9, 2024
eb3f08e
:lock: :robot: CI Update lock files for array-api CI build(s) :lock: …
scikit-learn-bot Sep 9, 2024
cc00420
Fix sample weight support in ElasticnectCV (#29442)
snath-xoc Sep 9, 2024
4551602
Fix partial fit
adam2392 Sep 9, 2024
dd58597
Fix partial fit
adam2392 Sep 9, 2024
504770a
Merge branch 'main' into submodulev3
adam2392 Sep 9, 2024
e4b9728
Adding unit test for partial fit
adam2392 Sep 9, 2024
cdb3566
DOC fix entry in changelog for backport happening in 1.5.2 (#29815)
glemaitre Sep 9, 2024
3bb916f
Raise RuntimeError instead of a warning when using array API without …
ogrisel Sep 10, 2024
ff6a774
DOC update the list of contributors for 1.5.2 (#29819)
glemaitre Sep 10, 2024
c91528c
DOC update date for the 1.5.2 release (#29816)
glemaitre Sep 10, 2024
89e2183
DOC Fix release checklist (#29817)
jeremiedbb Sep 10, 2024
0338eec
TST move check_f_contiguous_array_estimator to common tests (#29826)
adrinjalali Sep 10, 2024
7b0c0af
DOC fix typo in the name of Silverman for KDE bandwidth estimation (#…
dymil Sep 10, 2024
4443130
DOC add BiocSklearn into the related project page (#29806)
vjcitn Sep 10, 2024
938fa18
TST enable testing for multiple instances in common tests (#29824)
adrinjalali Sep 10, 2024
1d22a48
DOC update sphinx-gallery 0.17.1 and remove our workaround (#29700)
Charlie-XIAO Sep 11, 2024
d9deffe
TST move check_do_not_raise_errors_in_init_or_set_params to common te…
adrinjalali Sep 11, 2024
153205a
FIX sparse arrays not included in array API dispatch (#29476)
adrinjalali Sep 11, 2024
d4ab9ed
TST improve error message on _more_tags and _get_tags deprecation (#2…
adrinjalali Sep 12, 2024
7bcae6c
TST allow setting per test settings for estimators (#29820)
adrinjalali Sep 12, 2024
c24a3f9
TST be more specific in test_estimator_checks (#29834)
adrinjalali Sep 12, 2024
f6f6b77
Fixed array api support for MinMaxScaler with clip=True (#29751)
Shree7676 Sep 13, 2024
173103a
CI Use Meson 1.5 in no-OpenMP build (#29839)
lesteve Sep 13, 2024
35164b3
MAINT update SECURITY.md for 1.5.2 release (#29840)
glemaitre Sep 13, 2024
bb6e76e
DOC add fetch_file into the API reference (#29841)
glemaitre Sep 13, 2024
e2ee931
Add _voting.py file with voting regressor implementation (#29724)
doshi-kevin Sep 14, 2024
1fbca9c
:lock: :robot: CI Update lock files for scipy-dev CI build(s) :lock: …
scikit-learn-bot Sep 16, 2024
dbd83ad
:lock: :robot: CI Update lock files for cirrus-arm CI build(s) :lock:…
scikit-learn-bot Sep 16, 2024
4413b6b
MNT ignore .env file (#29851)
adrinjalali Sep 16, 2024
ece5120
:lock: :robot: CI Update lock files for array-api CI build(s) :lock: …
scikit-learn-bot Sep 16, 2024
88c2db2
PERF Slightly speedup MinCovDet. (#29835)
anntzer Sep 16, 2024
dda3e0d
MAINT set commit status during lock-files update in PR (#29843)
Charlie-XIAO Sep 16, 2024
f6d6929
DOC fix all unintentional block quotes in docs (#29848)
Charlie-XIAO Sep 16, 2024
748e6f9
MAINT filename typo `test_monotonic_contraints` -> `constraints` (#29…
Charlie-XIAO Sep 17, 2024
5301c94
DOC/TST Add test to check docstring consistency of stacking estimator…
lucyleeow Sep 17, 2024
c71340f
TST remove unnecessary check from check_classifiers_predictions (#29872)
adrinjalali Sep 17, 2024
cc5372c
TST add a few more tests to API checks (#29832)
adrinjalali Sep 18, 2024
8984266
MAINT redirect the URL of the machine learning map (#29879)
glemaitre Sep 18, 2024
9340a18
DOC Fix package name for sklearn-doc in Debian/Ubuntu (#29878)
soeren-b-c Sep 18, 2024
199322d
DOC add more developer doc in RidgeGCV (#29857)
glemaitre Sep 18, 2024
25bc29a
FIX RidgeCV works with multioutput and sample-weight non-default scor…
glemaitre Sep 18, 2024
69c1d79
FIX scoring != None for RidgeCV should used unscaled y for evaluation…
glemaitre Sep 18, 2024
938bce5
DOC fix typos introduced in #29842 (#29886)
glemaitre Sep 18, 2024
cfa5270
TST check that we support multioutput custom scorer in RidgeCV (#29884)
glemaitre Sep 19, 2024
c7839c4
MAINT remove wrong redirection machine learning map (#29892)
glemaitre Sep 19, 2024
54d1ec9
ENH make check_is_fitted to always pass on stateless estimators (#29880)
adrinjalali Sep 20, 2024
941ffbd
MNT Correct typos and simplify logic (#29897)
Micky774 Sep 23, 2024
780bb1c
:lock: :robot: CI Update lock files for main CI build(s) :lock: :robo…
scikit-learn-bot Sep 23, 2024
d5b7110
:lock: :robot: CI Update lock files for scipy-dev CI build(s) :lock: …
scikit-learn-bot Sep 23, 2024
c8fca4c
:lock: :robot: CI Update lock files for cirrus-arm CI build(s) :lock:…
scikit-learn-bot Sep 23, 2024
0ff50b1
:lock: :robot: CI Update lock files for array-api CI build(s) :lock: …
scikit-learn-bot Sep 23, 2024
d4ca146
MAINT Add Python 3.13 wheels (#29789)
lesteve Sep 23, 2024
c3d4e57
TST cleanup check_non_transformer_estimators_n_iter (#29875)
adrinjalali Sep 23, 2024
13de540
TST fix estimator checks when set_output is called on the instance (#…
adrinjalali Sep 23, 2024
74a3375
TST move check_n_features_in_after_fitting to common tests (#29844)
adrinjalali Sep 23, 2024
bd7de0b
DOC Fix a typo in the model evaluation doc (#29932)
AdeelH Sep 27, 2024
fde6f2d
DOC add link to plot_cost_complexity_pruning.py example in DecisionTr…
wjiayis Sep 27, 2024
e92dd40
ENH add support for array API to various metric (#29709)
virchan Sep 27, 2024
783d72f
DOC: make it explicit that `groups` is used to perform the split in `…
victoris93 Sep 27, 2024
f6871e8
GOV reminder email for emeritus (#29691)
lorentzenchr Sep 28, 2024
d99b3ce
DOC remove example showing a single image from digits dataset (#29931)
saldanhad Sep 28, 2024
fb9f0b9
DOC Merge Lasso Lasso-LARS and ElasticNet examples together (#29955)
saldanhad Sep 29, 2024
bdba1da
DOC: replace plot_random_dataset with snippets in docstrings (#29933)
yuanx749 Sep 29, 2024
94484e7
:lock: :robot: CI Update lock files for array-api CI build(s) :lock: …
scikit-learn-bot Sep 30, 2024
8d419fd
:lock: :robot: CI Update lock files for cirrus-arm CI build(s) :lock:…
scikit-learn-bot Sep 30, 2024
ebc7218
:lock: :robot: CI Update lock files for main CI build(s) :lock: :robo…
scikit-learn-bot Sep 30, 2024
2a67349
:lock: :robot: CI Update lock files for scipy-dev CI build(s) :lock: …
scikit-learn-bot Sep 30, 2024
7ab1b64
MAINT Clean up deprecations for 1.6: in MiniBatchDictionaryLearning (…
jeremiedbb Sep 30, 2024
02423d4
CI Fix check rendered doc _changed.html with template files (#29948)
jeremiedbb Oct 2, 2024
4137ec6
DOC simplify counting of documents in `plot_bicluster_newsgroups.py` …
StefanieSenger Oct 2, 2024
f677090
MAINT fix the redirection by removing the file suffix (#29959)
glemaitre Oct 2, 2024
019da08
CI Add free-threaded wheel for macOS (#29991)
lesteve Oct 2, 2024
8ae3ced
MAINT Clean up deprecations for 1.6: log_logistic (#29993)
jeremiedbb Oct 2, 2024
48eeca6
MAINT Clean up deprecations for 1.6: in NMF (#29919)
jeremiedbb Oct 3, 2024
a9ec347
MAINT Clean up deprecations for 1.6: in HDBSCAN (#29916)
jeremiedbb Oct 3, 2024
8d01acf
MAINT Clean up deprecations for 1.6: in AgglomerativeClustering (#29915)
jeremiedbb Oct 3, 2024
545d99e
DOC update scikit-learn contributors table (#30003)
glemaitre Oct 4, 2024
b0bc138
MAINT Avoid RuntimeWarning about invalid value in cast (#29977)
lesteve Oct 7, 2024
9732b58
FIX check_transformer_data_not_an_array for ColumnTransformer (#29938)
mrastgoo Oct 7, 2024
76d5f96
:lock: :robot: CI Update lock files for cirrus-arm CI build(s) :lock:…
scikit-learn-bot Oct 7, 2024
133d5be
:lock: :robot: CI Update lock files for array-api CI build(s) :lock: …
scikit-learn-bot Oct 7, 2024
3d1746e
CI Use bot token for adding CUDA CI label (#29994)
lesteve Oct 7, 2024
f508af9
DOC Fixed git documentation link (#29946)
nikita-chistyakov Oct 7, 2024
0422188
MAINT Clean up deprecations for 1.6: squared param of MS(L)E (#29992)
jeremiedbb Oct 7, 2024
e749dd9
FIX add metadata routing to CV splitters in `RidgeCV` and `RidgeClass…
StefanieSenger Oct 7, 2024
df07b99
🔒 CI Update lock files for main CI build(s) 🔒 (#30026)
glemaitre Oct 8, 2024
ab7ff70
MAINT Clean up deprecations for 1.6: in HGBT (#30002)
jeremiedbb Oct 8, 2024
b868a5d
DOC Add wikipedia principal eigenvector example to API docs (#30017)
azyleee Oct 8, 2024
b5131b4
DOC Add link to FeatureAgglomeration examples in docstrings (#30014)
AyGeeEm Oct 8, 2024
fbf86e3
MAINT Clean up deprecations for 1.6: fit_params (#29999)
jeremiedbb Oct 8, 2024
7566d30
DOC Remove mention of deprecated `multi_class` in `LogisticRegression…
lucyleeow Oct 8, 2024
c4e4d34
DOC fix docstring of `_validate_shuffle_split` (#30034)
JAroyan Oct 8, 2024
af57108
MAINT Handle deprecation of sokalmichener metric (#30004)
ogrisel Oct 8, 2024
35f106c
DOC improve conventions used in MAPE (#30012)
Rachit23110261 Oct 8, 2024
6de55b3
MAINT|API Clean up deprecations for 1.6: SAMME.R in AdaBoost and depr…
jeremiedbb Oct 8, 2024
beef779
DOC: add link plot stock market to manifold learning documentation (#…
claudio1975 Oct 8, 2024
84ac5d8
DOC add link to plot_learning_curve (#29990)
kbharat1210 Oct 8, 2024
65ba28c
:lock: :robot: CI Update lock files for scipy-dev CI build(s) :lock: …
scikit-learn-bot Oct 9, 2024
be52df5
BLD Adds runtime lincense to wheels (#29861)
thomasjpfan Oct 9, 2024
fbb32ea
DOC fix docstring of RandomForestClassifier stating dependance from r…
hhchen1105 Oct 9, 2024
a263ff8
Bump the actions group with 3 updates (#29981)
dependabot[bot] Oct 9, 2024
7183224
DOC add link plot_species_distribution_modeling (#29985)
claudio1975 Oct 9, 2024
ff02e17
MAINT replace enable_slep006 fixture by @config_context(enable_metada…
ogrisel Oct 10, 2024
eec6ef0
FIX make sure IterativeImputer does not skip iterative process when k…
arifqodari Oct 10, 2024
4fd15fd
Merge branch 'main' into submodulev3
adam2392 Oct 10, 2024
9859446
DOC Reorder release steps (#29838)
jeremiedbb Oct 11, 2024
e760a3e
ENH Add 'warn' option to 'handle_unknown' parameter in OneHotEncoder …
glevv Oct 11, 2024
0b5f812
DOC merge example presenting the concept of validation curve (#29936)
saldanhad Oct 11, 2024
364cafe
Refactor check_sample_weights_invariance into a more general repetiti…
antoinebaker Oct 11, 2024
2ca4eca
FIX make `roc_auc_score` consistent with `roc_curve` with a single cl…
glevv Oct 13, 2024
30f7d8a
DOC fix back references to removed example (#30059)
glemaitre Oct 13, 2024
334b101
DOC add Lucy Liu as core maintainer (#30043)
glemaitre Oct 14, 2024
db89d87
:lock: :robot: CI Update lock files for main CI build(s) :lock: :robo…
scikit-learn-bot Oct 14, 2024
b714f92
:lock: :robot: CI Update lock files for scipy-dev CI build(s) :lock: …
scikit-learn-bot Oct 14, 2024
1519e5b
:lock: :robot: CI Update lock files for cirrus-arm CI build(s) :lock:…
scikit-learn-bot Oct 14, 2024
f9a1e6f
CI Fix CUDA CI setting in automated lock-file update (#30067)
lesteve Oct 14, 2024
5fb9d48
MAINT fix references to sample_weight meta-issue in comments (#30061)
jameslamb Oct 14, 2024
fd70991
CI: bump deprecated macos-12 to macos-13 (#30060)
bsipocz Oct 14, 2024
83417fb
DOC fix misleading versionadded in RFECV (#30049)
glemaitre Oct 14, 2024
1d6cfde
MAINT remove side-effects in test_partial_dependence (#30039)
ogrisel Oct 14, 2024
fc5428b
MAINT | API Clean up deprecations for 1.6: in make_scorer (#30001)
jeremiedbb Oct 14, 2024
48ef3ba
DOC remove color quantization K-means example (#29961)
glemaitre Oct 14, 2024
0129030
DOC remove KMeans clustering on iris example (#29960)
glemaitre Oct 14, 2024
ef784c8
ENH raise an error when MLP diverges instead of crashing (#29773)
MarcBresson Oct 14, 2024
691b00f
FIX make sure that TFIDFVectorizer set idf_ dtype based on X.dtype (#…
glemaitre Oct 14, 2024
66bf613
CI Fix cibuildwheel for arm64 linux (#30068)
thomasjpfan Oct 15, 2024
e53407e
Fix cibuildwheel for macos (#30069)
thomasjpfan Oct 15, 2024
5b2b751
DOC remove redundant example on MDI feature importance (#29965)
glemaitre Oct 15, 2024
019e953
DOC remove basic iris example and merge with iris with PCA example (#…
glemaitre Oct 15, 2024
e91011b
DOC update FAQ regarding dataframe I/O and support for categorical va…
glemaitre Oct 15, 2024
c6777b6
DOC: added link plot_dbscan.py (#29949)
claudio1975 Oct 15, 2024
6222054
DOC: Fixes Docs for estimator types do not list all possible estimato…
DeaMariaLeon Oct 15, 2024
4dc7dbb
DOC Add link to plot coin segmentation in docstrings and user guide (…
miguelcsx Oct 16, 2024
d76b75b
MAINT Use towncrier for changelog management (#30046)
lesteve Oct 16, 2024
7afca74
DOC fix call to build draft doc with towncrier (#30082)
glemaitre Oct 17, 2024
144d4eb
DOC Take SPHINXOPTS from the command-line environment (#29744)
betatim Oct 17, 2024
62d7f96
MAINT Creating fragments for the 1.6 changelog (#30081)
glemaitre Oct 17, 2024
b6fe78f
DOC Add example links to doc/modules/sgd (#29426)
datarollhexasphericon Oct 17, 2024
4400917
DOC added links for plot_affinity_propagation.py (#29759)
ivanpan0626 Oct 17, 2024
57d8284
DOC added example links for plot_species_distribution_model.py (#29760)
ivanpan0626 Oct 17, 2024
695213a
DOC add link to plot_adjusted_for_chance_measures example in adjusted…
aurelienmorgan Oct 17, 2024
4dfbfb9
FIX pipeline now checks if it's fitted (#29868)
adrinjalali Oct 17, 2024
6418b5f
DOC add links to plot bisect KMeans example (#29896)
JorECardenas Oct 17, 2024
934df30
DOC add link to plot_birch_vs_minibatchkmeans example in Birch (#29942)
aurelienmorgan Oct 17, 2024
08961de
DOC add link to plot_feature_selection_pipeline example in make_pipel…
aurelienmorgan Oct 17, 2024
219eedc
CI Update changelog check after move to towncrier (#30086)
lesteve Oct 17, 2024
9671047
DOC Remove the 2024 user survey announcement (#30091)
InessaPawson Oct 17, 2024
f84199e
DOC remove example OLS with 3D plot (#29967)
glemaitre Oct 17, 2024
8b06fa6
FIX handle aliases in displays when used as default and provided by u…
JosephBARBIERDARNAL Oct 17, 2024
d2acd79
DOC plot classification probability (#29921)
Sean-Jay-M Oct 17, 2024
c7c05d6
DOC add link to plot_svm_tie_breaking.py in SVC and NuSVC (#29976)
wjiayis Oct 18, 2024
c82ffc8
DOC Remove repeated words in coments and docstring (#30093)
abhi-jha Oct 18, 2024
3cda5b2
DOC correct comment in _locally_linear_embedding (#30095)
qbarthelemy Oct 18, 2024
325930e
DOC Add link to plot_tree_regression.py example (#26962)
Tialo Oct 18, 2024
5879f2e
FIX pass xp to avoid redundant namespace inspection (#30092)
glemaitre Oct 18, 2024
89719ab
DOC add link plot_tomography_l1_reconstruction (#30070)
claudio1975 Oct 18, 2024
18dc863
TST check that binary only classifiers fail on multiclass data (#29874)
adrinjalali Oct 18, 2024
c08b433
ENH multiclass/multinomial newton cholesky for LogisticRegression (#2…
lorentzenchr Oct 18, 2024
bcc6430
ENH Make `KNeighborsClassifier.predict` handle `X=None` (#30047)
dkobak Oct 18, 2024
313ec3f
DOC Add note about pip system requirements for --config-settings (#29…
veeara282 Oct 18, 2024
ed20290
MAINT Tweak a few changelog entries (#30102)
lesteve Oct 18, 2024
a072e56
ENH add normalize to LDA.transform (#30097)
adrinjalali Oct 18, 2024
fd07977
ENH Adds lazy module at the top level (#29793)
thomasjpfan Oct 21, 2024
bfa0d65
MAINT small refactoring in partial_dependence (#30104)
glemaitre Oct 21, 2024
0a7b2e5
:lock: :robot: CI Update lock files for cirrus-arm CI build(s) :lock:…
scikit-learn-bot Oct 21, 2024
595c5ca
:lock: :robot: CI Update lock files for scipy-dev CI build(s) :lock: …
scikit-learn-bot Oct 21, 2024
6eb2ef3
:lock: :robot: CI Update lock files for array-api CI build(s) :lock: …
scikit-learn-bot Oct 21, 2024
15d5a06
TST Improve tests for neighbor models with X=None (#30101)
ogrisel Oct 21, 2024
bc8eb66
MAINT Remove some unwanted side effects in our test suite (#29584)
ogrisel Oct 21, 2024
39e1cc1
FIX properly report `n_iter_` in case of fallback from Newton-Cholesk…
ogrisel Oct 21, 2024
4c78d7c
DOC Fix dropdown content indentation (#30116)
abhi-jha Oct 21, 2024
a569233
Merging main
adam2392 Oct 21, 2024
8388a1d
DOC remove redundant example multiclass logistic regression (#29966)
glemaitre Oct 22, 2024
99f0f69
ENH Add `zero_division` parameter for `accuracy_score` (#29213)
Jaimin020 Oct 22, 2024
04fbe04
MNT add slots to tags (#30125)
adrinjalali Oct 23, 2024
f6280bf
:lock: :robot: CI Update lock files for main CI build(s) :lock: :robo…
scikit-learn-bot Oct 23, 2024
856ef1f
MNT Add section on new changelog entries to `v1.6.rst` (#30135)
lucyleeow Oct 24, 2024
bef9d18
Fix `LinearRegression`'s numerical stability on rank deficient data b…
antoinebaker Oct 24, 2024
429d67a
DOC: Fixed typo in OPTICS api for issue #30129 (#30142)
BlazeStorm001 Oct 24, 2024
d083972
FIX signature of deprecated classes (#30145)
lorentzenchr Oct 25, 2024
f106177
TST make warnings in test_mlp.py disappear (#30121)
lorentzenchr Oct 26, 2024
4ee3afa
FEA add FrozenEstimator (#29705)
adrinjalali Oct 28, 2024
c7f87de
DOC clarify glossary term sample (#30157)
lorentzenchr Oct 28, 2024
43ab714
:lock: :robot: CI Update lock files for scipy-dev CI build(s) :lock: …
scikit-learn-bot Oct 28, 2024
f3b1da3
ENH Add decision_function, predict_proba and predict_log_proba for Ne…
NoPenguinsLand Oct 28, 2024
0d37bd9
ENH add shuffle to GroupKFold (#28519)
zvealey Oct 28, 2024
9f518b2
DOC fix docstring of metric paramter in AgglomerativeCluster (#29935)
Sean-Jay-M Oct 28, 2024
9238fe0
FIX escape double quotes when exporting tree with Graphviz (#17575)
smola Oct 28, 2024
46d10d1
:lock: :robot: CI Update lock files for array-api CI build(s) :lock: …
scikit-learn-bot Oct 29, 2024
927b3f8
:lock: :robot: CI Update lock files for main CI build(s) :lock: :robo…
scikit-learn-bot Oct 29, 2024
98f80be
TST Improve `sklearn.linear_model.test_quantile.test_sparse_input` (#…
ogrisel Oct 29, 2024
87812ff
MAINT modify jinja template to keep title / date consistency (#30085)
glemaitre Oct 29, 2024
754a425
:lock: :robot: CI Update lock files for cirrus-arm CI build(s) :lock:…
scikit-learn-bot Oct 29, 2024
9a7fe96
DOC Fix documentation for lars_path to reflect actual behavior (#30117)
nocoding03 Oct 29, 2024
2f8f9f3
FIX Ridge.coef_ return a single dimension array when target type is n…
MaxwellLZH Oct 29, 2024
e5075ae
FIX min_value and max_value not indexed when features are removed (#2…
gunsodo Oct 29, 2024
9c2f5c3
MAINT Tweak meson-python version check (#30167)
lesteve Oct 29, 2024
e617d82
MNT SLEP6 remove args that shouldn't be included in the routing (#29920)
adrinjalali Oct 29, 2024
b9a7496
MAINT Add notes-towncrier.rst to .gitignore (#30153)
lesteve Oct 29, 2024
c1b1f87
DEP Adding a warning in the SimpleImputer when strategy mode is const…
ArthurCourselle Oct 29, 2024
087d8b7
DOC add link to Plot kmeans plusplus (#30126)
natmokval Oct 29, 2024
fff920e
FIX roc_auc_curve: Return np.nan instead of 0.0 for single class (#30…
janezd Oct 29, 2024
221b209
DOC update documentation instruction after introducing towncrier (#30…
glemaitre Oct 29, 2024
49c5948
DOC fix items in docstring of zero_division (#30175)
glemaitre Oct 29, 2024
ba2dd5d
FEA add zero_division to matthews_corrcoef (#28509)
Redjest Oct 30, 2024
b4eef25
API deprecate CalibratedClassifierCV(..., cv=prefit) for FrozenEstima…
adrinjalali Oct 30, 2024
d3e86ff
DOC redirect to GitHub issues & PR instead of mailing list when it co…
MarieS-WiMLDS Oct 30, 2024
1177cad
DOC fix a grammar issue in the about-us page (#30178)
vedpawar2254 Oct 30, 2024
59dd128
ENH `despine` keyword for ROC and PR curves (#26367)
Charlie-XIAO Oct 30, 2024
56bbb5a
CI Remove unneeded line since Python 3.13 release (#30184)
lesteve Oct 31, 2024
a2448b5
FIX Make RFECV thread-safe when used with joblib threading backend (#…
lesteve Nov 1, 2024
124ae21
:lock: :robot: CI Update lock files for main CI build(s) :lock: :robo…
scikit-learn-bot Nov 4, 2024
8b5dd59
:lock: :robot: CI Update lock files for array-api CI build(s) :lock: …
scikit-learn-bot Nov 4, 2024
b2a0688
:lock: :robot: CI Update lock files for scipy-dev CI build(s) :lock: …
scikit-learn-bot Nov 4, 2024
8bca593
:lock: :robot: CI Update lock files for cirrus-arm CI build(s) :lock:…
scikit-learn-bot Nov 4, 2024
741446a
MNT Bump the actions group with 2 updates (#30191)
dependabot[bot] Nov 4, 2024
44017bb
CI Bump macOS version to 13 on Azure (#30185)
glemaitre Nov 4, 2024
c634c49
DOC Fix gramatical error in governence (#30210)
rajathkannabiran Nov 5, 2024
e887583
MAINT Clean up deprecations for 1.6: clean up leftovers (#30216)
jeremiedbb Nov 5, 2024
613cff9
ENH move estimator type to tags (#30122)
adrinjalali Nov 5, 2024
d2f1ea7
ENH NearestNeighbors-like classes with metric="nan_euclidean" does no…
vitaliset Nov 5, 2024
004cf9e
MAINT Clean up deprecations for 1.6: in make_sparse_spd_matrix (#30214)
jeremiedbb Nov 5, 2024
70aab36
REVERT ENH add the parameter prefit in the FixedThresholdClassifier (…
adrinjalali Nov 5, 2024
102663d
FIX proper inheritance for SGDOneClassSVM (#30227)
glemaitre Nov 5, 2024
8f620fd
MAINT move _estimator_has function to utils (#29319)
nithish08 Nov 5, 2024
66658db
Merge main
adam2392 Nov 6, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
59 changes: 12 additions & 47 deletions .github/workflows/check-changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,65 +4,30 @@ name: Check Changelog
# To bypass this check, label the PR with "No Changelog Needed".
on:
pull_request:
types: [opened, edited, labeled, unlabeled, synchronize]
types: [opened, synchronize, labeled, unlabeled]

jobs:
check:
name: A reviewer will let you know if it is required or can be bypassed
runs-on: ubuntu-latest
if: ${{ contains(github.event.pull_request.labels.*.name, 'No Changelog Needed') == 0 }}
steps:
- name: Get PR number and milestone
run: |
echo "PR_NUMBER=${{ github.event.pull_request.number }}" >> $GITHUB_ENV
echo "TAGGED_MILESTONE=${{ github.event.pull_request.milestone.title }}" >> $GITHUB_ENV
- uses: actions/checkout@v4
with:
fetch-depth: '0'
- name: Check the changelog entry
- name: Check if tests have changed
id: tests_changed
run: |
set -xe
changed_files=$(git diff --name-only origin/main)
# Changelog should be updated only if tests have been modified
if [[ ! "$changed_files" =~ tests ]]
then
exit 0
fi
all_changelogs=$(cat ./doc/whats_new/v*.rst)
if [[ "$all_changelogs" =~ :pr:\`$PR_NUMBER\` ]]
if [[ "$changed_files" =~ tests ]]
then
echo "Changelog has been updated."
# If the pull request is milestoned check the correspondent changelog
if exist -f ./doc/whats_new/v${TAGGED_MILESTONE:0:4}.rst
then
expected_changelog=$(cat ./doc/whats_new/v${TAGGED_MILESTONE:0:4}.rst)
if [[ "$expected_changelog" =~ :pr:\`$PR_NUMBER\` ]]
then
echo "Changelog and milestone correspond."
else
echo "Changelog and milestone do not correspond."
echo "If you see this error make sure that the tagged milestone for the PR"
echo "and the edited changelog filename properly match."
exit 1
fi
fi
else
echo "A Changelog entry is missing."
echo ""
echo "Please add an entry to the changelog at 'doc/whats_new/v*.rst'"
echo "to document your change assuming that the PR will be merged"
echo "in time for the next release of scikit-learn."
echo ""
echo "Look at other entries in that file for inspiration and please"
echo "reference this pull request using the ':pr:' directive and"
echo "credit yourself (and other contributors if applicable) with"
echo "the ':user:' directive."
echo ""
echo "If you see this error and there is already a changelog entry,"
echo "check that the PR number is correct."
echo ""
echo "If you believe that this PR does not warrant a changelog"
echo "entry, say so in a comment so that a maintainer will label"
echo "the PR with 'No Changelog Needed' to bypass this check."
exit 1
echo "check_changelog=true" >> $GITHUB_OUTPUT
fi

- name: Check changelog entry
if: steps.tests_changed.outputs.check_changelog == 'true'
uses: scientific-python/action-towncrier-changelog@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BOT_USERNAME: changelog-bot
2 changes: 1 addition & 1 deletion .github/workflows/cuda-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- uses: actions/checkout@v4

- name: Build wheels
uses: pypa/cibuildwheel@v2.20.0
uses: pypa/cibuildwheel@v2.21.3
env:
CIBW_BUILD: cp312-manylinux_x86_64
CIBW_MANYLINUX_X86_64_IMAGE: manylinux2014
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish_pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,13 @@ jobs:
run: |
python build_tools/github/check_wheels.py
- name: Publish package to TestPyPI
uses: pypa/gh-action-pypi-publish@8a08d616893759ef8e1aa1f2785787c0b97e20d6 # v1.10.0
uses: pypa/gh-action-pypi-publish@fb13cb306901256ace3dab689990e13a5550ffaa # v1.11.0
with:
repository-url: https://test.pypi.org/legacy/
print-hash: true
if: ${{ github.event.inputs.pypi_repo == 'testpypi' }}
- name: Publish package to PyPI
uses: pypa/gh-action-pypi-publish@8a08d616893759ef8e1aa1f2785787c0b97e20d6 # v1.10.0
uses: pypa/gh-action-pypi-publish@fb13cb306901256ace3dab689990e13a5550ffaa # v1.11.0
if: ${{ github.event.inputs.pypi_repo == 'pypi' }}
with:
print-hash: true
36 changes: 35 additions & 1 deletion .github/workflows/update-lock-files-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:

permissions:
contents: write
statuses: write

jobs:
update-lock-files:
Expand All @@ -23,12 +24,30 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
pr_info=$(gh pr view ${{ github.event.issue.number }} --repo ${{ github.repository }} --json headRefName,headRepository,headRepositoryOwner)
pr_info=$(gh pr view ${{ github.event.issue.number }} --repo ${{ github.repository }} --json headRefName,headRefOid,headRepository,headRepositoryOwner)
pr_head_ref=$(echo "$pr_info" | jq -r '.headRefName')
pr_head_sha=$(echo "$pr_info" | jq -r '.headRefOid')
pr_head_repository=$(echo "$pr_info" | jq -r '.headRepositoryOwner.login + "/" + .headRepository.name')
echo "pr_head_ref=$pr_head_ref" >> $GITHUB_OUTPUT
echo "pr_head_sha=$pr_head_sha" >> $GITHUB_OUTPUT
echo "pr_head_repository=$pr_head_repository" >> $GITHUB_OUTPUT

# Set the status of the latest commit in the PR to indicate that the update is in progress
# https://docs.github.com/en/rest/commits/statuses?apiVersion=2022-11-28#create-a-commit-status
- name: Set pending status
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh api \
--method POST \
-H "Accept: application/vnd.github+json" \
-H "X-GitHub-Api-Version: 2022-11-28" \
/repos/${{ github.repository }}/statuses/${{ steps.pr-head-info.outputs.pr_head_sha }} \
-f "state=pending" \
-f "target_url=https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}" \
-f "description=Updating lock files..." \
-f "context=update-lock-files-pr"

- name: Check out the PR branch
uses: actions/checkout@v4
with:
Expand Down Expand Up @@ -57,3 +76,18 @@ jobs:
conda install -c conda-forge "$(get_dep conda-lock min)" -y

python build_tools/on_pr_comment_update_environments_and_lock_files.py

- name: Set completion status
if: ${{ always() }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh api \
--method POST \
-H "Accept: application/vnd.github+json" \
-H "X-GitHub-Api-Version: 2022-11-28" \
/repos/${{ github.repository }}/statuses/${{ steps.pr-head-info.outputs.pr_head_sha }} \
-f "state=${{ job.status == 'success' && 'success' || 'error' }}" \
-f "target_url=https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}" \
-f "description=Lock files ${{ job.status == 'success' && 'updated' || 'failed to update' }}." \
-f "context=update-lock-files-pr"
17 changes: 10 additions & 7 deletions .github/workflows/update-lock-files.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@ on:
schedule:
- cron: '0 5 * * 1'

# In order to add the "CUDA CI" label we need to have write permissions for PRs
permissions:
pull-requests: write

jobs:
update_lock_files:
if: github.repository == 'scikit-learn/scikit-learn'
Expand Down Expand Up @@ -46,7 +42,7 @@ jobs:

- name: Create Pull Request
id: cpr
uses: peter-evans/create-pull-request@v6
uses: peter-evans/create-pull-request@v7
with:
token: ${{ secrets.BOT_GITHUB_TOKEN }}
push-to-fork: scikit-learn-bot/scikit-learn
Expand All @@ -66,9 +62,16 @@ jobs:
- name: Trigger additional tests
if: steps.cpr.outputs.pull-request-number != '' && matrix.name == 'array-api'
env:
GH_TOKEN: ${{ github.token }}
GH_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN }}
PR_NUMBER: ${{steps.cpr.outputs.pull-request-number}}
run: |
gh pr edit ${{steps.cpr.outputs.pull-request-number}} --add-label "CUDA CI"
curl -L \
-X POST \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer $GH_TOKEN" \
-H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/repos/scikit-learn/scikit-learn/issues/$PR_NUMBER/labels \
-d '{"labels":["CUDA CI"]}'

- name: Check Pull Request
if: steps.cpr.outputs.pull-request-number != ''
Expand Down
75 changes: 40 additions & 35 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,11 @@ jobs:
build_wheels:
name: Build wheel for cp${{ matrix.python }}-${{ matrix.platform_id }}-${{ matrix.manylinux_image }}
runs-on: ${{ matrix.os }}

# For conda-incubator/setup-miniconda to work
defaults:
run:
shell: bash -el {0}
needs: check_build_trigger
if: needs.check_build_trigger.outputs.build

Expand All @@ -65,6 +70,9 @@ jobs:
- os: windows-latest
python: 312
platform_id: win_amd64
- os: windows-latest
python: 313
platform_id: win_amd64

# Linux 64 bit manylinux2014
- os: ubuntu-latest
Expand All @@ -86,27 +94,36 @@ jobs:
python: 312
platform_id: manylinux_x86_64
manylinux_image: manylinux2014
- os: ubuntu-latest
python: 313
platform_id: manylinux_x86_64
manylinux_image: manylinux2014
- os: ubuntu-latest
python: 313t
platform_id: manylinux_x86_64
manylinux_image: manylinux2014
# TODO: remove next line when Python 3.13 is released
prerelease_pythons: True
free_threaded_support: True

# MacOS x86_64
- os: macos-12
- os: macos-13
python: 39
platform_id: macosx_x86_64
- os: macos-12
- os: macos-13
python: 310
platform_id: macosx_x86_64
- os: macos-12
- os: macos-13
python: 311
platform_id: macosx_x86_64
- os: macos-12
- os: macos-13
python: 312
platform_id: macosx_x86_64
- os: macos-13
python: 313
platform_id: macosx_x86_64
- os: macos-13
python: 313t
platform_id: macosx_x86_64
free_threaded_support: True

# MacOS arm64
- os: macos-14
Expand All @@ -121,6 +138,13 @@ jobs:
- os: macos-14
python: 312
platform_id: macosx_arm64
- os: macos-14
python: 313
platform_id: macosx_arm64
- os: macos-14
python: 313t
platform_id: macosx_arm64
free_threaded_support: True

steps:
- name: Checkout scikit-learn
Expand All @@ -131,33 +155,8 @@ jobs:
with:
python-version: "3.11" # update once build dependencies are available

- name: Install conda for macos arm64
if: ${{ matrix.platform_id == 'macosx_arm64' }}
run: |
set -ex
# macos arm64 runners do not have conda installed. Thus we much install conda manually
EXPECTED_SHA="dd832d8a65a861b5592b2cf1d55f26031f7c1491b30321754443931e7b1e6832"
MINIFORGE_URL="https://github.com/conda-forge/miniforge/releases/download/23.11.0-0/Mambaforge-23.11.0-0-MacOSX-arm64.sh"
curl -L --retry 10 $MINIFORGE_URL -o miniforge.sh

# Check SHA
file_sha=$(shasum -a 256 miniforge.sh | awk '{print $1}')
if [ "$EXPECTED_SHA" != "$file_sha" ]; then
echo "SHA values did not match!"
exit 1
fi

# Install miniforge
MINIFORGE_PATH=$HOME/miniforge
bash ./miniforge.sh -b -p $MINIFORGE_PATH
echo "$MINIFORGE_PATH/bin" >> $GITHUB_PATH
echo "CONDA_HOME=$MINIFORGE_PATH" >> $GITHUB_ENV

- name: Set conda environment for non-macos arm64 environments
if: ${{ matrix.platform_id != 'macosx_arm64' }}
run: |
# Non-macos arm64 envrionments already have conda installed
echo "CONDA_HOME=/usr/local/miniconda" >> $GITHUB_ENV
- uses: conda-incubator/setup-miniconda@v3
if: ${{ startsWith(matrix.platform_id, 'macosx') }}

- name: Build and test wheels
env:
Expand All @@ -173,11 +172,17 @@ jobs:
# toolchain
CIBW_CONFIG_SETTINGS_WINDOWS: "setup-args=--vsenv"
CIBW_REPAIR_WHEEL_COMMAND_WINDOWS: bash build_tools/github/repair_windows_wheels.sh {wheel} {dest_dir}
CIBW_BEFORE_BUILD: bash {project}/build_tools/wheels/cibw_before_build.sh {project}
CIBW_BEFORE_TEST_WINDOWS: bash build_tools/github/build_minimal_windows_image.sh ${{ matrix.python }}
CIBW_BEFORE_TEST: bash {project}/build_tools/wheels/cibw_before_test.sh
CIBW_ENVIRONMENT_PASS_LINUX: RUNNER_OS
CIBW_TEST_REQUIRES: pytest pandas
CIBW_TEST_COMMAND: bash {project}/build_tools/wheels/test_wheels.sh
CIBW_TEST_COMMAND_WINDOWS: bash {project}/build_tools/github/test_windows_wheels.sh ${{ matrix.python }}
# On Windows, we use a custom Docker image and CIBW_TEST_REQUIRES_WINDOWS
# does not make sense because it would install dependencies in the host
# rather than inside the Docker image
CIBW_TEST_REQUIRES_WINDOWS: ""
CIBW_TEST_COMMAND: bash {project}/build_tools/wheels/test_wheels.sh {project}
CIBW_TEST_COMMAND_WINDOWS: bash {project}/build_tools/github/test_windows_wheels.sh ${{ matrix.python }} {project}
CIBW_BUILD_VERBOSITY: 1

run: bash build_tools/wheels/build_wheels.sh
Expand Down
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ doc/developers/maintainer.rst
doc/index.rst
doc/min_dependency_table.rst
doc/min_dependency_substitutions.rst
# release notes generated by towncrier
doc/whats_new/notes-towncrier.rst

*.pdf
pip-log.txt
scikit_learn.egg-info/
Expand Down Expand Up @@ -90,3 +93,6 @@ sklearn-env/

# Default JupyterLite content
jupyterlite_contents

# file recognised by vscode IDEs containing env variables
.env
4 changes: 2 additions & 2 deletions SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

| Version | Supported |
| ------------- | ------------------ |
| 1.5.1 | :white_check_mark: |
| < 1.5.1 | :x: |
| 1.5.2 | :white_check_mark: |
| < 1.5.2 | :x: |

## Reporting a Vulnerability

Expand Down
2 changes: 1 addition & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ jobs:
- template: build_tools/azure/posix.yml
parameters:
name: macOS
vmImage: macOS-12
vmImage: macOS-13
dependsOn: [linting, git_commit, Ubuntu_Jammy_Jellyfish]
# Runs when dependencies succeeded or skipped
condition: |
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/bench_20newsgroups.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"extra_trees": ExtraTreesClassifier(max_features="sqrt", min_samples_split=10),
"logistic_regression": LogisticRegression(),
"naive_bayes": MultinomialNB(),
"adaboost": AdaBoostClassifier(n_estimators=10, algorithm="SAMME"),
"adaboost": AdaBoostClassifier(n_estimators=10),
}


Expand Down
Loading
Loading