Skip to content

MNT Pull main on feature/engine-api dev branch #26949

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

Merged
merged 666 commits into from
Aug 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
666 commits
Select commit Hold shift + click to select a range
55af30d
TST fix sklearn/linear_model/tests/test_quantile.py::test_sparse_inpu…
rprkh May 17, 2023
4431f99
MNT Mention pytest version in error message when pytest version is to…
lesteve May 17, 2023
ea046f0
CI Update nogil lock file (#26388)
lesteve May 17, 2023
4830416
DOC Update daal4py -> scikit-learn-intelex reference (#26383)
napetrov May 17, 2023
1a59567
FIX KernelPCA inverse transform when gamma is not given (#26337)
Charlie-XIAO May 17, 2023
f5ec34e
MAINT Clean deprecated SCORERS dict for 1.3 (#26387)
jeremiedbb May 17, 2023
86541f2
MAINT Deprecate `matching` as metric (#26264)
magnusbarata May 19, 2023
6d356dd
DOC Clearer and more illustrative description for f_beta_score (#25548)
pnucci May 22, 2023
51bd562
CI Add Pyodide wheel build (#26374)
lesteve May 22, 2023
6238968
ENH PrecisionRecallDisplay add option to plot chance level (#26019)
Charlie-XIAO May 22, 2023
e956876
CI Retry codecov upload when it fails (#26397)
thomasjpfan May 23, 2023
edfdbd0
TST Fix openml parser implementation for pandas-dev (#26386)
thomasjpfan May 23, 2023
c0bac2b
TST catch UserWarning in test_predictions for HGBT (#26312)
lorentzenchr May 23, 2023
f034f57
FIX Add check array for empirical_covariance (#26108)
qbarthelemy May 23, 2023
42ca718
MAINT Clean-up deprecated transposed coef in PLS for 1.3 (#26016)
jeremiedbb May 24, 2023
74e23aa
DOC Fix wording in plot quantile regression example. (#26425)
tpatzelt May 24, 2023
5b9ec99
MAINT Parameters validation for pairwise_distances_argmin (#26124)
Charlie-XIAO May 24, 2023
165818a
MNT Fix regression in lock file update script when using --select-bui…
lesteve May 24, 2023
9d41678
MAINT Clean deprecated pdp_lim as constructor param of PartialDepende…
jeremiedbb May 24, 2023
1284767
ENH Generally avoid nested param validation (#25815)
jeremiedbb May 24, 2023
689efe2
API Deprecate metrics other than euclidean and manhattan for NearestC…
Valentin-Laurent May 24, 2023
4ccf41b
DOC Rework Lasso and Elastic Net for Sparse Signals example (#25429)
ArturoAmorQ May 25, 2023
42d2359
TST Add tests for LinearRegression that sample weights act consistent…
lorentzenchr May 26, 2023
1415a28
ENH Remove unnecessary OOB computation when n_more_estimators == 0 (#…
May 30, 2023
1084860
MAINT CLN io.open() → open() (#26449)
DimitriPapadopoulos May 30, 2023
b32e5c7
ENH Accept 'auto' option for 'dual' parameter in LinearSVC and Linear…
glevv May 30, 2023
41b0bd8
MAINT Use `scipy.sparse.isspmatrix_*` (#26420)
jjerphan May 30, 2023
2fd022d
MAINT Fix typos found by codespell (#26448)
DimitriPapadopoulos May 31, 2023
405e3a3
BLD Fixes doc building Makefile for Darwin (#26458)
thomasjpfan May 31, 2023
fecfb34
MAINT Clean-up deprecated wminkowski distance metric for 1.3 (#26434)
jeremiedbb May 31, 2023
415b11a
FEAT Add `HDBSCAN` as a new estimator in `sklearn.cluster` (#26385)
Micky774 May 31, 2023
a256e26
DOC Fix typos in F-test and mutual information comparison (#26468)
prdngr May 31, 2023
e14046a
MAINT remove broken twitter workflow (#26465)
May 31, 2023
6ca4970
MAINT Remove encoding declarations: `# -*- coding: utf-8 -*-` (#26467)
DimitriPapadopoulos May 31, 2023
c8f79e2
FIX add `n_targets` allowing consistent shape prediction before calli…
MaxwellLZH May 31, 2023
199cdfd
ENH Change default value of subsample + allow for all strategies in K…
jeremiedbb May 31, 2023
a787188
MAINT Current web site for Edouard Duchesnay (#26470)
DimitriPapadopoulos Jun 1, 2023
97bab0e
MAINT Change default value of n_features_to_select for 1.3 (#26475)
jeremiedbb Jun 1, 2023
1799cd3
MAINT Clean-up deprecated verbose param in SimpleImputer (#26474)
jeremiedbb Jun 1, 2023
2415a1b
DOC Add example comparing random forest with hgbt models (#26320)
ArturoAmorQ Jun 1, 2023
b680a9e
DOC codespell fixes (#26422)
yarikoptic Jun 1, 2023
b2f7e81
MAINT Clean up deprecated Estimator in check_estimator for 1.3 (#26484)
jeremiedbb Jun 1, 2023
9be4d8d
MAINT Remove outdated fixes (#26442)
jeremiedbb Jun 1, 2023
2953978
STY Do not make whole space white in html repr (#26485)
thomasjpfan Jun 1, 2023
849c2f1
MAINT Update link to Tim's homepage (#26488)
betatim Jun 2, 2023
62671a7
FEAT SLEP006: metadata routing infrastructure (#24027)
adrinjalali Jun 2, 2023
2998f30
MAINT Clean-up deprecations in FastICA for 1.3 (#26479)
jeremiedbb Jun 2, 2023
4509e58
CLN EnvironmentError, IOError, WindowsError → OSError (#26466)
DimitriPapadopoulos Jun 2, 2023
314f7ba
MNT Updated `DistanceMetric` API with new ABC/interface (#26471)
Micky774 Jun 3, 2023
e5c6590
ENH add sparse output to SplineTransformer (#24145)
lorentzenchr Jun 5, 2023
a8c37fe
FIX Improve ColumnTransformer error when indexes are different (#26286)
thomasjpfan Jun 6, 2023
6f36a86
DOC use notebook style in Spectral Biclustering example (#26492)
StefanieSenger Jun 6, 2023
4f89e71
FIX: cython 3.0 is stricter about checking except / noexcept status (…
tacaswell Jun 6, 2023
586f431
ENH allows to overwrite read_csv parameter in fetch_openml (#26433)
glemaitre Jun 7, 2023
825e892
FIX Sets remainder's output in ColumnTransformer (#26323)
thomasjpfan Jun 7, 2023
fbe7e5e
CI Update to conda-lock 2.0.0 (#26510)
lesteve Jun 7, 2023
ea9894a
ENH Support sample weights in partial_dependence (#25209)
vitaliset Jun 7, 2023
092b7f3
DOC fix a typo in datasets.load_files docstring (#26533)
sadra-barikbin Jun 7, 2023
2182544
TST Fix failing fastica tests (#26528)
jeremiedbb Jun 8, 2023
b0e4630
MAINT Clean up deprecated square_distances in TSNE for 1.3 (#26483)
jeremiedbb Jun 8, 2023
767d355
MAINT Clean up deprecated base_estimator in RANSAC for 1.3 (#26481)
jeremiedbb Jun 8, 2023
8409b87
DOC Fix docstring param default value in SequentialFeatureSelector (#…
jeremiedbb Jun 8, 2023
99c9f41
DOC remove sphinx warnings related to if_delegate_has_method (#26504)
adrinjalali Jun 8, 2023
168b4e7
MAINT Clean up leftovers from previous deprecations clean up PRs (#26…
jeremiedbb Jun 9, 2023
ab48408
FIX Updated loop structure in hdbscan `_tree.pyx` to avoid error (#26…
Micky774 Jun 9, 2023
66733c4
FIX Updated hdbscan stability calculation to avoid implicit casting (…
Micky774 Jun 9, 2023
9eea5b7
MAINT unpack 0-dim NumPy array instead of implicit conversion (#26345)
glemaitre Jun 9, 2023
b044ef8
FIX only consider "?" as missing marker as per ARFF specs (#26551)
glemaitre Jun 9, 2023
d85e222
MAINT make sure that hstack outputs a CSR matrix (#26555)
glemaitre Jun 9, 2023
0e253d9
CI Do not auto close issue when cirrus ci arm build fails (#26432)
thomasjpfan Jun 9, 2023
1e8a5b8
TST Fix test_clone_sparse_matrices on scipy dev (#26556)
jeremiedbb Jun 12, 2023
d29f78e
ENH Add common Array API tests and estimator tag (#26372)
betatim Jun 13, 2023
18cf8d0
FIX `PowerTransformer` raise when "box-cox" has nan column (#26400)
Charlie-XIAO Jun 13, 2023
83cb686
MNT mark non-standard inverse_transform X args as non-metadata (SLEP6…
adrinjalali Jun 14, 2023
e5df5fe
Fix PowerTransformer leaves constant feature unchanged (#26566)
jeremiedbb Jun 14, 2023
96878ba
FIX Ensure that index is correct when global transform_output is pand…
thomasjpfan Jun 14, 2023
9c266cf
MAINT Param validation: decorate all estimators with _fit_context (#2…
jeremiedbb Jun 14, 2023
f721c6d
FIX use np.nan instead of None for missing marker in fetch_openml (#2…
glemaitre Jun 14, 2023
e99b421
DOC Update author tables for 1.3 (#26572)
jeremiedbb Jun 14, 2023
03ab632
MAINT reorder and clean up what's new 1.3 (#26567)
jeremiedbb Jun 14, 2023
15f7cfb
CLN Renames missing_values_in_feature_mask (#26580)
thomasjpfan Jun 14, 2023
8cac52f
FEA add ValidationCurveDisplay in model_selection module (#25120)
glemaitre Jun 14, 2023
547058f
CI Fixes tests when matplotlib is not installed (#26588)
thomasjpfan Jun 15, 2023
b102391
DOC update haversine distance formula (#26509)
rprkh Jun 15, 2023
2131264
MAINT Parameters validation for sklearn.metrics.pairwise.paired_dista…
StefanieSenger Jun 15, 2023
76a927b
DOC Minor fixes on whats_new 1.3 (#26594)
GaelVaroquaux Jun 16, 2023
0800fb3
DOC Fix typos in math in Target Encoder user guide (#26584)
lucyleeow Jun 16, 2023
c0d4f75
FIX seed in test_ridge_sample_weight_consistency [all random seeds] (…
ogrisel Jun 16, 2023
20be4df
DOC Explaining integer+float behavior in HistGradientingBoosting (#26…
vijethmoudgalya Jun 16, 2023
33708a9
Upload nightly built wheels to scientific-python-nightly-wheels (#26417)
jarrodmillman Jun 19, 2023
f31d167
DOC search link to sphinx version (#26610)
Charlie-XIAO Jun 19, 2023
308edbc
MAINT Fix broken link in sklearn.datasets._base.py (#26603)
ChVeen Jun 19, 2023
a914005
MAINT bump version + create what's new 1.4 (#26577)
jeremiedbb Jun 19, 2023
8927d54
CI Update nightly token for CirrusCI (#26622)
thomasjpfan Jun 19, 2023
180e059
CI Add a bot to comment on PRs when linter fails (#26553)
adrinjalali Jun 19, 2023
3e7d2c8
MAINT Added change in doc for push_doc.sh (#26615)
rand0wn Jun 20, 2023
4986838
CI Adjust atol for conda-forge to pass (#26628)
thomasjpfan Jun 20, 2023
23a0dcb
MNT replace flake8 with ruff (#26630)
adrinjalali Jun 20, 2023
de4d4ac
DOC: Add HGBT on landing page (#26631)
GaelVaroquaux Jun 20, 2023
41b8375
DOC Update plot_digits_agglomeration.py (#26635)
ChamRoshi Jun 20, 2023
4655d8b
MNT update to mypy=1.3 (#26632)
adrinjalali Jun 20, 2023
cb23367
MNT error when conda version is likely to affect conda-lock (#26620)
lesteve Jun 20, 2023
23ff51c
DOC a simple implementation of folding (#26625)
GaelVaroquaux Jun 21, 2023
ef6612f
DOC Fix typos/nitpicks in `TargetEncoder` docstring (#26645)
lucyleeow Jun 21, 2023
4163b32
ENH make fit_transform and fit_predict composite methods (SLEP6) (#26…
adrinjalali Jun 21, 2023
ab581af
CI Linter Bot: add concurrency group and a link to the commit (#26638)
adrinjalali Jun 21, 2023
4a8b4f9
DOC Update link to best sphinx version for doc build (#26626)
lucyleeow Jun 21, 2023
42173fd
MNT add isort to ruff's rules (#26649)
adrinjalali Jun 21, 2023
33a1f16
FIX use None as default in HDBSCAN (#26650)
glemaitre Jun 21, 2023
0647873
DOC Add dropdowns to Module 1.5 SGD (#26647)
Tech-Netiums Jun 21, 2023
5a213d6
DOC Add dropdowns to module 1.4 SVM (#26641)
Tech-Netiums Jun 21, 2023
9ff86c6
MAINT solve the failure in scipy-dev (#26646)
glemaitre Jun 21, 2023
0e1f170
ENH Adds feature names support to dataframe protocol (#26464)
thomasjpfan Jun 21, 2023
4a2b8c3
DOC Add instructions how to use dropdowns in contributing guide (#26636)
ArturoAmorQ Jun 22, 2023
04cb8d8
MAINT ignore isort and ruff in blame (#26663)
glemaitre Jun 22, 2023
a9fa9a7
[Fix] Remove a duplicated line in whats_new 1.3 (#26668)
Vincent-Maladiere Jun 22, 2023
8c054b6
TST Be more explicit in test_column_transformer_dataframe test (#26667)
thomasjpfan Jun 22, 2023
94c054d
DOC Fix sphinx warnings in example (#26633)
Tech-Netiums Jun 22, 2023
5e8d8cb
ENH Support sample weights in PartialDependenceDisplay.from_estimator…
vitaliset Jun 22, 2023
04575f5
MAINT Param validation: apply skip nested validation to all functions…
jeremiedbb Jun 22, 2023
b0977b9
MNT minor linter bot message enhancements (#26670)
adrinjalali Jun 22, 2023
ceec2fa
FIX add missing prefer_skip_nested_validation in missing paired_dista…
glemaitre Jun 22, 2023
5a8a574
MNT SLEP006 cleanup and doc improvement (#26591)
adrinjalali Jun 23, 2023
7af0a18
DOC improve inline comment for __dataframe__ support in _get_feature_…
ogrisel Jun 23, 2023
b948fdb
DOC Improve target encoder User Guide (#26643)
lucyleeow Jun 23, 2023
f108e2a
DOC Fix cross references in `LabelBinarizer` (#26678)
lucyleeow Jun 23, 2023
1cbf71b
FIX seed test_large_sparse_matrix (#26672)
ogrisel Jun 23, 2023
50f17a3
FIX workaround sphinx limitation with rst_prolog (#26680)
glemaitre Jun 23, 2023
02dce94
MAINT parameter validation for metrics.pairwise.pairwise_kernels (#26…
marenwestermann Jun 23, 2023
f1026c0
DOC Add a button to copy code (#12512) (#26666)
tuscland Jun 23, 2023
784ba9e
MNT linter bot: tool versions and finished linting check (#26681)
adrinjalali Jun 23, 2023
9cbcc1f
DOC Update removed sphinx global var `style` in `layout.html` (#26627)
lucyleeow Jun 23, 2023
a65b16c
DOC add meaning of `max_patches=None` in _compute_n_patches (#25999)
Ily83 Jun 26, 2023
4e88150
Fix AttributeError use_fallback_lbfgs_solve for newton-cholesky when …
ogrisel Jun 26, 2023
2579841
FIX Using custom init for KMeans does a single init (#26657)
bnsh Jun 26, 2023
ee5d94e
ENH Add n_components="auto" to NMF to be inferred from custom init (#…
Alexlandeau Jun 26, 2023
371c921
MAINT make sphinx conf more lenient towards missing jupyterlite (#26705)
glemaitre Jun 27, 2023
1584ec2
MAINT Parameter validation for sklearn.metrics.pairwise_distances (#2…
ashah002 Jun 27, 2023
d3e11ab
MAINT Parameters validation for euclidean_distances (#25782)
bkunde Jun 27, 2023
4be1089
MAINT Parameters validation for sklearn.metrics.pairwise.pairwise_dis…
pooja-subramaniam Jun 27, 2023
e3590c8
MAINT Parameters validation for graph.single_source_shortest_path_len…
ChVeen Jun 27, 2023
96e13f1
DOC small documentation changes in the advanced installation guide (#…
marenwestermann Jun 27, 2023
76d9be2
MAINT Parameters validation for sklearn.metrics.pairwise_distances_ch…
Charlie-XIAO Jun 27, 2023
e490da9
MAINT Parameters validation for sklearn.utils.safe_mask (#26131)
elabongaatuo Jun 27, 2023
d2b9c80
MAINT Parameters validation for chi2_kernel (#26153)
rand0wn Jun 27, 2023
98f21a9
MAINT Parameters validation for sklearn.metrics.consensus_score (#26172)
ROMEEZHOU Jun 28, 2023
10e4959
MAINT Parameters validation for sklearn.model_selection.cross_val_sco…
dmitrylala Jun 28, 2023
2b0b11a
MAINT Parameters validation for sklearn.linear_model.ridge_regression…
Charlie-XIAO Jun 28, 2023
845771f
DOC add `pip install sphinx_copybutton` to contribution guide (#26722)
StefanieSenger Jun 28, 2023
7f871fe
MAINT Parameters validation for sklearn.model_selection.cross_val_pre…
dmitrylala Jun 28, 2023
9ab298a
MAINT Parameters validation for sklearn.isotonic.isotonic_regression …
jiawei-zhang-a Jun 28, 2023
d9212de
MAINT Param validation: better message when common test fails to rais…
jeremiedbb Jun 28, 2023
876c235
MAINT Parameters validation for sklearn.utils.extmath.randomized_svd …
Shreesha3112 Jun 29, 2023
87941ab
MAINT Parameters validation for sklearn.utils.gen_even_slices (#26682)
Charlie-XIAO Jun 29, 2023
a5cc3ab
MAINT Added parameter validation for sklearn.utils.class_weight.compu…
rand0wn Jun 29, 2023
fbdc7b3
MAINT Parameters validation for sklearn.utils.class_weight.compute_cl…
brendanlu Jun 29, 2023
315a04c
MAINT Parameters validation for sklearn.covariance.log_likelihood (#2…
Stamic-kk Jun 29, 2023
81f62ab
MAINT Parameters validation for sklearn.linear_model.orthogonal_mp_gr…
jiawei-zhang-a Jun 29, 2023
693a3ac
MAINT Update what's new for 1.3.0 final release (#26730)
jeremiedbb Jun 29, 2023
5dd5811
DOC Release highlights for 1.3 (#26526)
jeremiedbb Jun 29, 2023
309a8b6
MAINT Parameters validation for sklearn.manifold.smacof (#26274)
ROMEEZHOU Jun 29, 2023
5b44065
DOC simplify plotting code in NMF LDA 20newsgroups example (#26727)
mathurinm Jun 30, 2023
a2f1779
DOC default random_state in _fetch_20newsgroup is 42, not None (#26725)
mathurinm Jun 30, 2023
e602552
DOC improve docstring example of NearestNeighbors (#26728)
glemaitre Jun 30, 2023
f962172
MAINT Fix typo in function name check_global_ouptut_transform_pandas …
Shreesha3112 Jun 30, 2023
b51f274
DOC fix rendering of download note in example (#26703)
glemaitre Jun 30, 2023
cd93ab3
DOC Improve Tfidf docstring (#26697)
jona-sassenhagen Jun 30, 2023
d5d2364
MAINT Update SECURITY.md for 1.3 (#26738)
jeremiedbb Jun 30, 2023
6f2cf7c
MAINT Parameters validation for sklearn.isotonic.check_increasing (#2…
jiawei-zhang-a Jun 30, 2023
9cabb12
MAINT Parameters validation for sklearn.manifold.trustworthiness (#26…
ROMEEZHOU Jun 30, 2023
4772ea8
MAINT Parameters validation for sklearn.linear_model.enet_path (#26379)
jiawei-zhang-a Jun 30, 2023
70f72c6
MAINT Parameters validation for sklearn.linear_model.lasso_path (#26378)
jiawei-zhang-a Jun 30, 2023
0a45f93
FIX Add additional prompts for sphinx-copybutton (#26712)
betatim Jun 30, 2023
b88b539
ENH Monotonic Contraints for Tree-based models (#13649)
samronsin Jul 1, 2023
483fafe
DOC show usage of `__` in `Pipeline` and `FeatureUnion` (#26661)
Charlie-XIAO Jul 3, 2023
10997c9
DOC Fix StandardScaler documentation describing when `mean_` is set (…
venkyyuvy Jul 3, 2023
1499550
FIX `mutual_info_regression` when `X` is of integer dtype (#26748)
Charlie-XIAO Jul 3, 2023
3bdc03d
MAINT sort what's new 1.4 entries (#26759)
Charlie-XIAO Jul 5, 2023
c2b3495
MAINT Fix C warning in Cython module _predictor.pyx (#26341)
ChVeen Jul 5, 2023
449d23e
DOC fix cross-referencing in metadata routing (#26770)
glemaitre Jul 5, 2023
27c3549
MAINT turn on sphinx nitpick mode (#26773)
glemaitre Jul 5, 2023
a9189ce
DOC add metadata routing terms to glossary (#26685)
adrinjalali Jul 5, 2023
e30a150
MAINT do not use nitpicks for sphinx build (#26781)
glemaitre Jul 6, 2023
d7605c4
FIX Revert `{Ball,KD}Tree.valid_metrics` to public class attributes (…
jjerphan Jul 6, 2023
b245b7e
MAINT Parameter validation for sklearn.datasets.fetch_openml (#26519)
StefanieSenger Jul 6, 2023
3a4a1d5
DOC use notebook style in AdaBoostClassifier example (#26486)
StefanieSenger Jul 6, 2023
8abf663
MAINT fix cython 3 compilation errors (#26771)
jeremiedbb Jul 6, 2023
043d3d4
MNT make sample_weight a required parameter of KMeans._init_centroids…
qbarthelemy Jul 6, 2023
77d4bc1
MNT Put nogil at the end of function signature (#26785)
lesteve Jul 6, 2023
3444673
MAINT Parameters validation for sklearn.linear_model.lars_path (#26381)
jiawei-zhang-a Jul 6, 2023
d417fa8
DOC Fixed a typo error in plot_kernel_pca.py (#26788)
captainhaddock18 Jul 6, 2023
2ab1d81
DOC make HGBT more visible in user guide (#26778)
GaelVaroquaux Jul 6, 2023
3a291fc
DOC Contributing guidelines - avoid referring to tests before instruc…
noashin Jul 7, 2023
d5a3546
MAINT Parameters validation for lars_path_gram (#26380)
jiawei-zhang-a Jul 7, 2023
f473d7e
FIX Dataframe support in KNN.predict (#26772)
jeremiedbb Jul 10, 2023
a5adc1f
DOC Add note on `--select-build` in `update_environments_and_lock_fil…
lucyleeow Jul 10, 2023
d397dc2
DOC Promote Omar Salman to the Core Contributor Team (#26811)
jjerphan Jul 10, 2023
7437d95
MNT clean up old scipy sparse.linalg.cg fallback code (#26813)
lesteve Jul 10, 2023
4014d98
DOC fix SLEP020 link in governance (#26816)
adrinjalali Jul 10, 2023
fe26a08
DOC add Maren Westermann to the contributor experience team (#26815)
adrinjalali Jul 10, 2023
5d145bf
DOC fixes intersphinx warnings (#26779)
glemaitre Jul 10, 2023
6b367d5
DOC notebook style and improved description for plot ridge coeffs exa…
StefanieSenger Jul 11, 2023
dbad41e
DOC add versionadded for auto in LinearSVM (#26792)
glemaitre Jul 11, 2023
d062e17
DOC fix type of the Minkowski p parameter (#26822)
epimorphic Jul 12, 2023
fa3ca7a
DOC fix outdated function name _safe_indexing_column (#26818)
romanlutz Jul 12, 2023
0681295
MNT Bump Pyodide version to 0.23.4 (#26824)
lesteve Jul 12, 2023
57dde82
DOC fix description of tolerance in OMP (#26823)
fuglede Jul 12, 2023
dfd299b
MAINT Remove soon-to-be deprecated scipy.sparse functions (#26751)
jjerphan Jul 12, 2023
4bcd6ea
ENH implement metadata routing in Pipeline (#26789)
adrinjalali Jul 13, 2023
ea4a881
TST Adaboost: Fixed ValueError in test_multidimensional_X (#26829)
StefanieSenger Jul 13, 2023
ba6896e
FIX clone to handle dict and GridSearchCV changing original params (#…
adrinjalali Jul 13, 2023
702316c
ENH Array API support for PCA (#26315)
mtsokol Jul 13, 2023
b004f3a
ENH warn if {transform, predict} consume metadata but no custom fit_{…
adrinjalali Jul 14, 2023
02d20c1
ENH Add routing to LogisticRegressionCV (#26525)
OmarManzoor Jul 14, 2023
150ff34
[MRG] DOC add __sklearn_is_fitted__ example (#26618)
greyisbetter Jul 17, 2023
4e67902
CLN clean up some repeated code related to SLEP006 (#26836)
adrinjalali Jul 17, 2023
fa8cd70
CI Only update tracker to succes when all jobs pass on CirrusCI (#26849)
thomasjpfan Jul 18, 2023
1ba0783
MAINT Fix typos found by codespell (#26852)
DimitriPapadopoulos Jul 18, 2023
3ef1cd8
MNT Improve conda version check and update lock files (#26845)
lesteve Jul 18, 2023
335b555
DOC Remove reference to CharNGramAnalyzer (#26846)
step21 Jul 18, 2023
7de59b2
FIX Correct the initiatialization of `precisions_cholesky_` from `pre…
mchikyt3 Jul 20, 2023
889b829
DOC Added information about space complexity to docs DBSCAN (#26783)
StefanieSenger Jul 20, 2023
b13f69c
DOC Directly import label class in example (#26876)
lucyleeow Jul 21, 2023
399131c
DOC update description of support_vectors_ (#26866)
rprkh Jul 21, 2023
c135445
DOC fix broken links (#26853)
DimitriPapadopoulos Jul 21, 2023
0486033
PERF Pass buffers via pointers in `PairwiseDistancesReductions` routi…
Micky774 Jul 21, 2023
75f3e47
FIX ravel prediction of `PLSRegression` when fitted on 1d `y` (#26602)
Charlie-XIAO Jul 24, 2023
ca51d77
DOC Add docstring DistanceMetric class (#26795)
greyisbetter Jul 24, 2023
d66a384
CI Add summary about failures and errors in most builds (#26847)
lesteve Jul 24, 2023
d991a19
MAINT make sure to test encoders in common tests (#26859)
glemaitre Jul 24, 2023
507095b
DOC Specify primal/dual formulation in LogisticRegression (#26294)
mlondschien Jul 25, 2023
07f6586
MNT SLEP6 move common metadata routing test objects (#26894)
adrinjalali Jul 25, 2023
59048f9
FIX Update pairwise distance function argument names (#26351)
Micky774 Jul 25, 2023
44d4cd4
FIX Allow 0<p<1 for Minkowski metric regardless of X's dtype (#26760)
Shreesha3112 Jul 26, 2023
c2f5782
DOC use the same estimators to demonstrate pipeline construction (#26…
noashin Jul 26, 2023
b6dd04e
DOC example on feature selection using negative `tol` values (#26205)
rprkh Jul 26, 2023
e54f678
MNT Improve robustness of sparse test in `HDBSCAN` (#26889)
Micky774 Jul 27, 2023
9e09e4d
MNT Fixed linting error in `plot_select_from_model_diabetes.py` (#26915)
Micky774 Jul 27, 2023
8f63882
DOC Improve `plot_target_encoder_cross_val.py` example (#26677)
lucyleeow Jul 27, 2023
b8d4f46
FIX fix validation of class_names argument for plot_tree (#26903)
2maz Jul 27, 2023
4094851
ENH Adds support for missing values in Random Forest (#26391)
thomasjpfan Jul 27, 2023
36c5073
MNT (SLEP6) remove other_params from provess_routing (#26909)
adrinjalali Jul 27, 2023
699690f
MAINT Parameters validation for sklearn.cluster.dbscan (#26920)
lpsilvestrin Jul 27, 2023
1090121
DOC Add missing cross validation image alt (#26261)
marekhanus Jul 28, 2023
2b0eef8
DOC Note missing value support as advantage of decision trees (#26928)
fabianegli Jul 28, 2023
dc9d0eb
DOC backticks around X and y in linear_model.rst (#26929)
LukasFolwarczny Jul 30, 2023
fa87f28
DOC update related packages (#26922)
lorentzenchr Jul 30, 2023
d07c301
Merge branch 'main' of https://github.com/scikit-learn/scikit-learn i…
fcharras Jul 31, 2023
ffa8a27
Apply ruff formatting
fcharras Jul 31, 2023
80f58bf
move what's new to 1.4
fcharras Jul 31, 2023
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
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .binder/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
--find-links https://pypi.anaconda.org/scipy-wheels-nightly/simple/scikit-learn
--find-links https://pypi.anaconda.org/scientific-python-nightly-wheels/simple/scikit-learn
--pre
matplotlib
scikit-image
Expand Down
5 changes: 1 addition & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
command: |
source build_tools/shared.sh
# Include pytest compatibility with mypy
pip install pytest flake8 $(get_dep mypy min) $(get_dep black min)
pip install pytest ruff $(get_dep mypy min) $(get_dep black min) cython-lint
- run:
name: linting
command: ./build_tools/linting.sh
Expand All @@ -24,9 +24,6 @@ jobs:
- OPENBLAS_NUM_THREADS: 2
- CONDA_ENV_NAME: testenv
- LOCK_FILE: build_tools/circle/doc_min_dependencies_linux-64_conda.lock
# Sphinx race condition in doc-min-dependencies is causing job to stall
# Here we run the job serially
- SPHINX_NUMJOBS: 1
steps:
- checkout
- run: ./build_tools/circle/checkout_merge_commit.sh
Expand Down
3 changes: 3 additions & 0 deletions .codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,7 @@ codecov:
ignore:
- "sklearn/externals"
- "sklearn/_build_utils"
- "sklearn/__check_build"
- "sklearn/_min_dependencies.py"
- "**/setup.py"
- "**/conftest.py"
6 changes: 6 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,9 @@

# PR 22983: Update to Black 22.3.0
d4aad64b1eb2e42e76f49db2ccfbe4b4660d092b

# PR 26110: Update black to 23.3.0
893d5accaf9d16f447645e704f85a216187564f7

# PR 26649: Add isort and ruff rules
42173fdb34b5aded79664e045cada719dfbe39dc
5 changes: 3 additions & 2 deletions .github/scripts/label_title_regex.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
"""Labels PRs based on title. Must be run in a github action with the
pull_request_target event."""
from github import Github
import os
import json
import os
import re

from github import Github

context_dict = json.loads(os.getenv("CONTEXT_GITHUB"))

repo = context_dict["repository"]
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/artifact-redirector.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
name: CircleCI artifacts redirector
on: [status]

# Restrict the permissions granted to the use of secrets.GITHUB_TOKEN in this
# github actions workflow:
# https://docs.github.com/en/actions/security-guides/automatic-token-authentication
permissions:
statuses: write

jobs:
circleci_artifacts_redirector_job:
runs-on: ubuntu-latest
Expand All @@ -11,6 +18,7 @@ jobs:
uses: larsoner/circleci-artifacts-redirector-action@master
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
api-token: ${{ secrets.CIRCLECI_TOKEN }}
artifact-path: 0/doc/_changed.html
circleci-jobs: doc
job-title: Check the rendered docs here!
6 changes: 6 additions & 0 deletions .github/workflows/assign.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ on:
issue_comment:
types: created

# Restrict the permissions granted to the use of secrets.GITHUB_TOKEN in this
# github actions workflow:
# https://docs.github.com/en/actions/security-guides/automatic-token-authentication
permissions:
issues: write

jobs:
one:
runs-on: ubuntu-latest
Expand Down
11 changes: 9 additions & 2 deletions .github/workflows/labeler-module.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,18 @@ on:
pull_request_target:
types: [opened]

# Restrict the permissions granted to the use of secrets.GITHUB_TOKEN in this
# github actions workflow:
# https://docs.github.com/en/actions/security-guides/automatic-token-authentication
permissions:
contents: read
pull-requests: write

jobs:
triage:
runs-on: ubuntu-latest
steps:
- uses: thomasjpfan/labeler@v2.5.0
- uses: thomasjpfan/labeler@v2.5.1
continue-on-error: true
if: github.repository == 'scikit-learn/scikit-learn'
with:
Expand All @@ -18,7 +25,7 @@ jobs:
triage_file_extensions:
runs-on: ubuntu-latest
steps:
- uses: thomasjpfan/labeler@v2.5.0
- uses: thomasjpfan/labeler@v2.5.1
continue-on-error: true
if: github.repository == 'scikit-learn/scikit-learn'
with:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/labeler-title-regex.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ on:
pull_request_target:
types: [opened, edited]

# Restrict the permissions granted to the use of secrets.GITHUB_TOKEN in this
# github actions workflow:
# https://docs.github.com/en/actions/security-guides/automatic-token-authentication
permissions:
contents: read
pull-requests: write
Expand Down
103 changes: 103 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,103 @@
# This linter job on GH actions is used to trigger the commenter bot
# in bot-lint-comment.yml file. It stores the output of the linter to be used
# by the commenter bot.
name: linter

on:
- pull_request_target

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
lint:
runs-on: ubuntu-latest

# setting any permission will set everything else to none for GITHUB_TOKEN
permissions:
pull-requests: none

steps:
- name: Checkout code
uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}

- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: 3.11

- name: Install dependencies
run: |
source build_tools/shared.sh
# Include pytest compatibility with mypy
pip install pytest ruff $(get_dep mypy min) $(get_dep black min) cython-lint
# we save the versions of the linters to be used in the error message later.
python -c "from importlib.metadata import version; print(f\"ruff={version('ruff')}\")" >> /tmp/versions.txt
python -c "from importlib.metadata import version; print(f\"mypy={version('mypy')}\")" >> /tmp/versions.txt
python -c "from importlib.metadata import version; print(f\"black={version('black')}\")" >> /tmp/versions.txt
python -c "from importlib.metadata import version; print(f\"cython-lint={version('cython-lint')}\")" >> /tmp/versions.txt

- name: Run linting
id: lint-script
# We download the linting script from main, since this workflow is run
# from main itself.
run: |
curl https://raw.githubusercontent.com/${{ github.repository }}/main/build_tools/linting.sh --retry 5 -o ./build_tools/linting.sh
set +e
./build_tools/linting.sh &> /tmp/linting_output.txt
cat /tmp/linting_output.txt

- name: Upload Artifact
if: always()
uses: actions/upload-artifact@v3
with:
name: lint-log
path: |
/tmp/linting_output.txt
/tmp/versions.txt
retention-days: 1

comment:
needs: lint
if: always()
runs-on: ubuntu-latest

# We need these permissions to be able to post / update comments
permissions:
pull-requests: write
issues: write

steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: 3.11

- name: Install dependencies
run: python -m pip install requests

- name: Download artifact
id: download-artifact
uses: actions/download-artifact@v3
with:
name: lint-log

- name: Print log
run: cat linting_output.txt

- name: Process Comments
id: process-comments
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PR_NUMBER: ${{ github.event.pull_request.number }}
BRANCH_SHA: ${{ github.event.pull_request.head.sha }}
RUN_ID: ${{ github.run_id }}
LOG_FILE: linting_output.txt
VERSIONS_FILE: versions.txt
run: python ./build_tools/get_comment.py
12 changes: 5 additions & 7 deletions .github/workflows/publish_pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ on:
jobs:
publish:
runs-on: ubuntu-latest
permissions:
# IMPORTANT: this permission is mandatory for trusted publishing
id-token: write
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
Expand All @@ -35,15 +38,10 @@ jobs:
run: |
python build_tools/github/check_wheels.py
- name: Publish package to TestPyPI
uses: pypa/gh-action-pypi-publish@v1.4.1
uses: pypa/gh-action-pypi-publish@v1.8.5
with:
user: __token__
password: ${{ secrets.TEST_PYPI_TOKEN }}
repository_url: https://test.pypi.org/legacy/
if: ${{ github.event.inputs.pypi_repo == 'testpypi' }}
- name: Publish package to PyPI
uses: pypa/gh-action-pypi-publish@v1.4.1
with:
user: __token__
password: ${{ secrets.PYPI_TOKEN }}
uses: pypa/gh-action-pypi-publish@v1.8.5
if: ${{ github.event.inputs.pypi_repo == 'pypi' }}
26 changes: 0 additions & 26 deletions .github/workflows/twitter.yml

This file was deleted.

6 changes: 6 additions & 0 deletions .github/workflows/unassign.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ on:
issues:
types: unassigned

# Restrict the permissions granted to the use of secrets.GITHUB_TOKEN in this
# github actions workflow:
# https://docs.github.com/en/actions/security-guides/automatic-token-authentication
permissions:
issues: write

jobs:
one:
runs-on: ubuntu-latest
Expand Down
6 changes: 1 addition & 5 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,9 +116,7 @@ jobs:
env:
CONFTEST_PATH: ${{ github.workspace }}/conftest.py
CONFTEST_NAME: conftest.py
CIBW_ENVIRONMENT: OMP_NUM_THREADS=2
OPENBLAS_NUM_THREADS=2
SKLEARN_SKIP_NETWORK_TESTS=1
CIBW_ENVIRONMENT: SKLEARN_SKIP_NETWORK_TESTS=1
SKLEARN_BUILD_PARALLEL=3
CIBW_BUILD: cp${{ matrix.python }}-${{ matrix.platform_id }}
CIBW_ARCHS: all
Expand Down Expand Up @@ -173,8 +171,6 @@ jobs:
- name: Test source distribution
run: bash build_tools/github/test_source.sh
env:
OMP_NUM_THREADS: 2
OPENBLAS_NUM_THREADS: 2
SKLEARN_SKIP_NETWORK_TESTS: 1

- name: Store artifacts
Expand Down
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,12 @@ sklearn/utils/_seq_dataset.pxd
sklearn/utils/_weight_vector.pyx
sklearn/utils/_weight_vector.pxd
sklearn/linear_model/_sag_fast.pyx
sklearn/linear_model/_sgd_fast.pyx
sklearn/metrics/_dist_metrics.pyx
sklearn/metrics/_dist_metrics.pxd
sklearn/metrics/_pairwise_distances_reduction/_argkmin.pxd
sklearn/metrics/_pairwise_distances_reduction/_argkmin.pyx
sklearn/metrics/_pairwise_distances_reduction/_argkmin_classmode.pyx
sklearn/metrics/_pairwise_distances_reduction/_base.pxd
sklearn/metrics/_pairwise_distances_reduction/_base.pyx
sklearn/metrics/_pairwise_distances_reduction/_datasets_pair.pxd
Expand All @@ -97,3 +99,6 @@ sklearn/metrics/_pairwise_distances_reduction/_middle_term_computer.pxd
sklearn/metrics/_pairwise_distances_reduction/_middle_term_computer.pyx
sklearn/metrics/_pairwise_distances_reduction/_radius_neighbors.pxd
sklearn/metrics/_pairwise_distances_reduction/_radius_neighbors.pyx

# Default JupyterLite content
jupyterlite_contents
19 changes: 13 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,24 @@ repos:
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/psf/black
rev: 22.3.0
rev: 23.3.0
hooks:
- id: black
- repo: https://github.com/pycqa/flake8
rev: 4.0.1
- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: v0.0.272
hooks:
- id: flake8
types: [file, python]
- id: ruff
args: ["--fix", "--show-source"]
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.961
rev: v1.3.0
hooks:
- id: mypy
files: sklearn/
additional_dependencies: [pytest==6.2.4]
- repo: https://github.com/MarcoGorelli/cython-lint
rev: v0.15.0
hooks:
# TODO: add the double-quote-cython-strings hook when it's usability has improved:
# possibility to pass a directory and use it as a check instead of auto-formatter.
- id: cython-lint
Loading