Skip to content

REL scikit-learn 1.1.2 #24115

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 251 commits into from
Aug 5, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
251 commits
Select commit Hold shift + click to select a range
b612222
MNT finalize what's new and update web page for 1.1 (#23219)
glemaitre Aug 4, 2022
160f5b8
MNT update what's new 1.1 for 1.1.1 and add what's new 1.2 (#23223)
jeremiedbb Apr 28, 2022
5aedfd1
remove redundant lambda function (#23232)
MaxwellLZH Apr 29, 2022
77173f1
ENH Optimize runtime for IsolationForest (#23149)
MaxwellLZH Apr 29, 2022
74e0800
MNT Refactor splitter flow by removing indentation (#23237)
glemaitre Aug 4, 2022
7f10a80
CI Experimental [nogil] build of scikit-learn (#23174)
ogrisel May 2, 2022
bb16a84
FIX partial_fit from SelectFromModel doesn't validate the parameters …
glemaitre Aug 4, 2022
160b9a3
MNT Removes pytest.warns(None) in test_validation (#23282)
thomasjpfan May 12, 2022
f044ff1
MNT Refactor tree splitter to use memoryviews (#23273)
glemaitre Aug 4, 2022
3e98023
CI: move Linux and MacOS Azure builds to conda lock files (#22448)
lesteve May 13, 2022
483e2a9
MNT Use cimport numpy as cnp for sklearn/tree (#23315)
RMeli May 14, 2022
3b92f2d
move 23299 to 1.1.1: fixes regression (#23399)
glemaitre Aug 4, 2022
d02a401
FIX fix performance regression in trees with low-cardinality features…
lesteve May 19, 2022
d18be5b
FIX Update randomized SVD benchmark (#23373)
lorentzbao May 19, 2022
d12b017
DOC update and add release date 1.1.1 (#23416)
glemaitre May 19, 2022
0ddaadc
CI Use lock file for CircleCI arm64 build (#23392)
lesteve May 19, 2022
5ec7ed6
DOC changed <= symbol to \leq in tree module documentation (#23425)
IvanSedykh May 19, 2022
35a870a
CI Use lock files for Windows builds (#23379)
lesteve May 20, 2022
1220917
MNT Fix setup.py clean with setuptools >= 61 (#23426)
thomasjpfan May 20, 2022
09504d6
Revert change in sklearn.extmath.util and fix randomized_svd benchmar…
lesteve May 20, 2022
be58ee6
DOC Ensures that sklearn.metrics._ranking.auc passes numpydoc validat…
boraxpr May 20, 2022
ee881f2
DOC Implement documentation suggestions pairwise distance (#23431)
RobertHGit May 21, 2022
15fc66a
DOC Fixes typo in empirical_covariance.py (#23441)
JoKoum May 21, 2022
5afcc38
DOC Added instruction for installation on Alpine Linux (#23438)
May 23, 2022
efac78f
DOC Improved clarity, consistency and formatting for `fastica`/`FastI…
Micky774 May 23, 2022
517c68d
MNT Centralize conda-lock version into min_dependencies.py (#23432)
thomasjpfan May 23, 2022
a317702
DOC rework plot_document_classification_20newsgroups.py example (#22928)
ArturoAmorQ May 23, 2022
b0ef82b
DOC Fix pinball loss fomula in linear_model.rst (#23445)
mdruiter May 23, 2022
8cf9777
DOCS Fix broken link (#23449)
davidgilbertson May 24, 2022
7c5bee0
CI Use lock files for CircleCI doc builds (#23429)
lesteve May 24, 2022
688d78b
CI Remove pin 22.0.4 now that 22.1.1 has been released (#23448)
lesteve May 24, 2022
2aa17fb
Add BSD license trove classifier (#23451)
johnthagen May 24, 2022
0fcce8d
DOC Point GradientBoosting towards HistGradientBoosting (#23340)
ArturoAmorQ May 24, 2022
103e18b
DOC Fix grammar in linear_model.rst (#23456)
davidgilbertson May 25, 2022
aca38fd
DOC fix distribution information in wine_data.rst (#23452)
jkarolczak May 25, 2022
7be06af
DOC Update testing section url in main README (#23435)
guitared May 25, 2022
a719319
DOC fix typo in OneHotEncoder docstring (#23455)
lesteve May 25, 2022
96aace1
MAINT Remove commented dissimilarities (#23457)
glemaitre Aug 4, 2022
95a8216
FIX attribute error is BIRCH (#23395)
jeremiedbb May 25, 2022
96c3305
DOC Ensures that _univariate_selection.chi2 passes numpydoc validatio…
maksymborukh May 26, 2022
d06a318
DOC Ensures that f_oneway passes numpydoc validation. (#23468)
Roman4oo May 26, 2022
5cd1c00
DOC Ensures that inplace_swap_column passes numpydoc validation (#23476)
harshit5674 May 27, 2022
0e525a3
DOC Fix typo in random forest feature importance comparison example. …
hasan-yaman May 28, 2022
fd897d3
DOC Ensures that fbeta_score passes numpydoc validation (#23486)
hasan-yaman May 30, 2022
158af90
Typo in deprecation of plot_roc_curve function (#23489)
duarteocarmo May 30, 2022
77f6c5f
TST Update pytest to 7.0 (#23444)
thomasjpfan May 30, 2022
4692409
DOC Rework plot_hashing_vs_dict_vectorizer.py example (#23266)
ArturoAmorQ May 30, 2022
4fd2865
MNT Minor refactor of `n_support` (#23353)
Micky774 May 30, 2022
d74380b
DOC Add kernel glossary (#23487)
lucyleeow May 31, 2022
f09ec30
MNT Improves comment when CI fails a second time (#23469)
thomasjpfan May 31, 2022
4011a71
MAINT update both conda and mamba (#23501)
glemaitre May 31, 2022
0ec0093
CI Move documentation builder to actions (#21137)
alfaro96 Jun 1, 2022
5268e8e
DOC Ensure that label_ranking_average_precision_score passes numpydoc…
angela-maennel Jun 1, 2022
0531bd8
DOC Ensures that roc_auc_score passes numpydoc validation (#23505)
madinak Jun 1, 2022
32fd489
FIX Added validation for `TSNE.perplexity` against number of samples …
Micky774 Jun 1, 2022
cc569a5
FIX SimpleImputer uses dtype seen in fit for transform (#22063)
thomasjpfan Jun 1, 2022
e8bbc3a
DOC Ensures that check_pairwise_arrays and pairwise_kernel pass numpy…
wchathura Jun 2, 2022
418ef02
DOC Fixes typo in code comment (#23529)
Nwanna-Joseph Jun 3, 2022
21ce990
MNT Fixes lgtm config (#23493)
thomasjpfan Jun 3, 2022
f2d168c
MNT Fixes doc building on PR (#23508)
thomasjpfan Jun 3, 2022
74638f4
MNT Do not run doc building on a fork (#23517)
thomasjpfan Jun 3, 2022
b2b195a
FIX Fix empty changed files in documentation (#23541)
alfaro96 Jun 5, 2022
e734134
DOC fix glossary link (#23534)
lesteve Jun 6, 2022
d8b4653
CI Update original comment when updating tracker (#23539)
thomasjpfan Jun 6, 2022
59fc679
DOCS Fix typos in decision trees docs (#23545)
davidgilbertson Jun 6, 2022
a0080bf
[MRG] DOC Add link of kernal approx to svm user guide (#23535)
haochunchang Jun 6, 2022
d4aa67e
MNT Fixes flake8 issues (#23542)
thomasjpfan Jun 7, 2022
4400357
DOC Fix grammar in contributing doc (#23553)
ShehanAT Jun 7, 2022
5b0deb4
DOC fix assert_allclose docstring: atol is not being set based on the…
MalteKurz Jun 7, 2022
7e5ab6c
CI reduce verbosity of build_doc.sh (#23557)
ogrisel Jun 7, 2022
1f811d3
DOC fix typos in GP kernels (#23536)
adamjstewart Jun 7, 2022
7d17d6d
FIX Fix gram validation: dtype-aware tolerance (#22059)
MalteKurz Jun 7, 2022
b3df677
DOC Fix typos in ensemble docs (#23564)
davidgilbertson Jun 8, 2022
7a1ad07
FIX Enables make to build docs on Windows (#23561)
thomasjpfan Jun 9, 2022
1e2c122
DOC Fix minor typo in ensemble docs (#23570)
davidgilbertson Jun 9, 2022
a89190e
DOC Improve the mathematical description of Logistic Regression (#22382)
Micky774 Jun 9, 2022
959ff79
DOC Fix typos in Feature Selection page (#23601)
davidgilbertson Jun 13, 2022
09f8b4a
DOC / MAINT Link to logos in Community section of website (#23587)
reshamas Jun 13, 2022
7f9de44
MNT Removes parallel sphinx build by default on OSX (#23492)
thomasjpfan Jun 14, 2022
858e640
DOC fix links with broken anchor (#23611)
lesteve Jun 14, 2022
00b937a
DOC / MAINT Add "Logos & Branding" section to Community section of th…
reshamas Jun 14, 2022
240c4a9
MNT fix body too long in update_tracking_issue.py (#23615)
lesteve Jun 14, 2022
228e429
Configure sphinx linkcheck to be more usable (#23577)
lesteve Jun 15, 2022
0b1431d
DOC Fix typo in Clustering page (#23625)
davidgilbertson Jun 15, 2022
9f6f4d4
DOC Fix typo in manifold page (#23623)
davidgilbertson Jun 15, 2022
3d61ffc
DOC Fix typos in Gaussian mixture page (#23622)
davidgilbertson Jun 15, 2022
12fda18
FIX logistic regression with newton_cg solver, a single feature, and …
TomDLT Jun 15, 2022
c22d5b9
DOC fix link for classification metric hinge loss (#23638)
thinkcache Jun 16, 2022
36a5246
MAINT remove deprecated sym_pos argument in scipy.linalg.solve (#23617)
glemaitre Jun 16, 2022
c1961ed
MNT Removed object dtype validation in `check_array` for scipy nightl…
Micky774 Jun 16, 2022
fa2948a
MNT Altered test match message to account for new scipy error message…
Micky774 Jun 16, 2022
81b9979
DOC fix link to Stochastic Variational Inference article (#23656)
kanissh Jun 16, 2022
66570d9
DOC fix link to "Matching pursuits with time-frequency dictionaries" …
puhuk Jun 16, 2022
50732cf
MNT use warnings rather than np.warnings (#23654)
lesteve Jun 16, 2022
da009b8
DOC Mention factor x2 between MAE and mean pinball loss (#23651)
MaxwellLZH Jun 16, 2022
5877b2f
DOC fix link to joblib.Memory (#23664)
Jofleming Jun 17, 2022
0f57226
DOC fix link to RANSAC article (#23665)
eden-brekke Jun 17, 2022
abd6256
DOX fix link for Cambridge Olivetti faces dataset (#23662)
dlindqu3 Jun 17, 2022
cfef596
DOC fix broken link to Brown Throated Sloth article (#23666)
Rachel-Freeland Jun 17, 2022
afae9c8
DOC fix link to Scipy development workflow (#23661)
MotoBenny Jun 17, 2022
0157844
Fix link to author's website (#23671)
kanissh Jun 17, 2022
553d006
Fix broken link for random projections (#23673)
Aravindh-Raju Jun 17, 2022
78edf54
DOC fix link to Fonds de la Recherche Scientifique (#23678)
kanissh Jun 20, 2022
157caff
DOC fix link to SVD based initialisation article (#23687)
nikita-jare Jun 20, 2022
723ae66
DOC fix link to Imageio documentation (#23689)
iteachmachines Jun 20, 2022
8a0c7f2
DOC fix link to Statistical Learning with Sparsity book (#23693)
kanissh Jun 20, 2022
8d936e2
DOC update link to reference article (#23680)
kanissh Jun 20, 2022
a714b51
MAINT update test since SettingWithCopyWarning location change (#23658)
glemaitre Jun 20, 2022
e7f9c81
DOC fix wording in Outlier Detection docs (#23690)
davidgilbertson Jun 20, 2022
01c11b6
DOC fix typos an -> a (#23684)
sincekmori Jun 20, 2022
6125c6c
DOC fix link to NumFOCUS donation page (#23695)
kanissh Jun 20, 2022
b815ba8
DOC Fix broken link to pandas doc (#23696)
Iglesys347 Jun 20, 2022
9b651b2
DOC fix high-dimension distribution link (#23698)
Aravindh-Raju Jun 20, 2022
8c01a56
DOC FIX Logo 3 image link to display correct image (#23634)
kanissh Jun 20, 2022
4b3dd09
DOC Rework plot_document_clustering.py example (#23528)
ArturoAmorQ Jun 20, 2022
d76fc74
FIX Ensure correct sklearn.metrics.coverage_error error message for 1…
haochunchang Jun 21, 2022
c1b660f
DOF fix robust regression example link (#23660)
wildwoodwaltz Jun 21, 2022
2b46775
DOC fix Jake's tutorial link (#23703)
varunjain3 Jun 21, 2022
9be05b5
DOC fix link to reference book (#23705)
kanissh Jun 21, 2022
6868cf3
DOC fix scipy broken link (#23697)
Iglesys347 Jun 21, 2022
3e54863
DOC fix broken link Sequential Karhunen-Loeve Transform (#23706)
aman1971 Jun 21, 2022
f1a671f
DOC fix link to reference (#23713)
kanissh Jun 21, 2022
58a4ec0
MAINT make sure that x0 is 1D when passed to minimize (#23659)
glemaitre Jun 21, 2022
065f0b6
MNT Update sklearn.externals._lobpcg.lobpcg docstring according to ht…
Diadochokinetic Jun 22, 2022
49a71fa
DOC Ensures that fetch_lfw_pairs passes numpydoc validation (#23655)
paulo-smcs Jun 22, 2022
c2fe428
DOC Ensures that sklearn.metrics._classification.log_loss passes nump…
paulo-smcs Jun 22, 2022
c727d3e
DOC Add None as a possible normalization value for TfidfTransformer (…
gloriamacia Jun 22, 2022
c9d08e9
DOC update link to reference (#23719)
kanissh Jun 22, 2022
79b23ed
DOC fix link to reference for nonnegative matrix and tensor factoriza…
omtarful Jun 22, 2022
598dd86
DOC added link to linkcheck_ignore (#23737)
rprkh Jun 23, 2022
4ce0b08
DOC fix link "Comparison of model selection for regression" (#23736)
Eschivo Jun 23, 2022
9d74d51
MAINT Update to mypy 0.961 to ensure compatibility with python 3.10 (…
vreyespue Jun 23, 2022
77730d8
DOC fix Saclay CDS link (#23745)
bhoomikamadhukar Jun 24, 2022
30a2e01
MNT fix add reference to linkcheck_ignore (#23743)
kanissh Jun 24, 2022
61bb2bd
MNT Added link to linkcheck_ignore (#23739)
Eschivo Jun 24, 2022
55583cb
MAINT add link to Bishop book as falsely broken hyperlink (#23761)
kensac Jun 27, 2022
6d1d6db
FIX change wrong method name in a FutureWarning (#23756)
robna Jun 27, 2022
992a97f
CI update lock files (#23762)
lesteve Jun 27, 2022
d8df4b0
CI Do not post again if CI no longer failing exists (#23768)
thomasjpfan Jun 27, 2022
e7f39b9
DOC Added jstor link to linkcheck_ignore (#23764)
ikeadeoyin Jun 28, 2022
4f54275
DOC Added hedonic housing prices to linkcheck_ignore (#23763)
ikeadeoyin Jun 28, 2022
2e8d1f1
DOC corrected cv_results_ ndarray shape (#23784)
rprkh Jun 28, 2022
712a231
DOC Fix typos in metrics and scoring docs (#23785)
davidgilbertson Jun 29, 2022
e281c47
MAINT make linkcheck run without errors (#23775)
lesteve Jun 29, 2022
65b8ee4
DOC add `score_samples` to glossary (#23575)
lucyleeow Jun 29, 2022
f2a355a
DOC Add warning for using `"kmeans++"` init with high-dimensional dat…
ArturoAmorQ Jun 29, 2022
63f62de
DOC add target_names in LFW fetchers (#23795)
glemaitre Jun 29, 2022
36d08dc
CI add issue tracking to Windows builds (#23793)
lesteve Jun 29, 2022
10475dd
DOC Local features and kernels for classification of texture and obje…
MaxwellLZH Jun 29, 2022
6a25617
CI remove lingering scipy-dev failures due to interior-point solver d…
lesteve Jun 30, 2022
78f1138
DOC Typo in FactorAnalysis docstring (#23815)
jeremiedbb Jul 1, 2022
12c3664
DOC Fix typos in Visualizations docs (#23827)
davidgilbertson Jul 4, 2022
6d0a268
DOC Add Meekail Zain to the Contributor Experience Team (#23843)
jjerphan Jul 6, 2022
3786058
MNT Updated pre commit hooks (#23822)
EdAbati Jul 6, 2022
835d1ce
MAINT simplify linting by running flake8 on the whole project (#23846)
lesteve Jul 6, 2022
2235eb2
DOC Replace "consequences" with "advantages" (#23850)
star1327p Jul 7, 2022
ef29cad
[MRG] Update gridsearch example for multimetric scoring. (#22279)
cmarmo Jul 7, 2022
5df9579
DOC improve estimator set_params documentation (#23816)
rprkh Jul 7, 2022
87d170d
DOC Fix typos on Feature Extraction page (#23859)
davidgilbertson Jul 8, 2022
cb03250
DOC Fix typos on plot_all_scalaing page (#23860)
davidgilbertson Jul 8, 2022
dc39de1
CI Include date in issue updater (#23866)
thomasjpfan Jul 12, 2022
b049f8f
DOC Fix imputation glossary link (#23879)
davidgilbertson Jul 12, 2022
f89e08b
DOC Update sklearn.preprocessing._data.robust_scale docstring to pass…
stefmolin Jul 16, 2022
7d9ce2f
DOC numpydoc validation on `learning_curve` (#23911)
stefmolin Jul 16, 2022
c69edeb
DOC numpydo validation for `validation_curve` (#23913)
stefmolin Jul 16, 2022
42b5b6b
DOC Ensure sklearn.metrics._classification.brier_score_loss passes nu…
stefmolin Jul 16, 2022
23f4356
DOC add regularization in HuberRegressor docstring (#23907)
mathurinm Jul 16, 2022
80c3e10
DOC numpydoc validation for `resample` function (#23916)
htsedebenham Jul 16, 2022
7499c70
DOC Ensure sklearn.model_selection._validation.permutation_test_score…
stefmolin Jul 16, 2022
1ee2a49
DOC numpydoc validation for `cohen_kappa_score` (#23915)
stefmolin Jul 16, 2022
227524a
DOC numpydoc validation for `make_union` (#23909)
stefmolin Jul 16, 2022
aaffe5a
DOC Update `paired_manhattan_distances` and make it pass numpydoc val…
philipp-jung Jul 16, 2022
dd4e1ce
DOC Ensures that extract_patches_2d passes numpydoc validation (#23926)
o-holman Jul 16, 2022
f4fbd57
DOC Ensure sklearn.metrics._classification.jaccard_score passes numpy…
stefmolin Jul 17, 2022
633c9fa
CI Allow documentation building when the fork uses the main branch (#…
thomasjpfan Jul 18, 2022
504f3d8
DOC Improve doc of Nearest Neighbors metric param (#23806)
Valentin-Laurent Jul 19, 2022
19acbd4
DOC Ensure homogeneity_completeness_v_measure passes numpydoc validat…
Mathews-Tom Jul 19, 2022
c5ba99a
DOC Ensure `cosine_distances` passes numpydoc validation (#23946)
Mathews-Tom Jul 19, 2022
1869229
DOC Ensure `check_paired_arrays` passes numpydoc validation (#23944)
Mathews-Tom Jul 19, 2022
22e2db0
DOC Ensure `cosine_similarity` passes numpydoc validation (#23947)
Mathews-Tom Jul 19, 2022
3f6b0a7
DOC Ensure `pairwise_distances_argmin` passes numpydoc validation (#2…
Mathews-Tom Jul 19, 2022
aaf99be
DOC Ensure `chi2_kernel` passes numpydoc validation (#23945)
Mathews-Tom Jul 19, 2022
a56563a
DOC Ensure `additive_chi2_kernel` passes numpydoc validation (#23943)
Mathews-Tom Jul 19, 2022
2ba4d43
DOC Ensure `distance_metrics` passes numpydoc validation (#23949)
Mathews-Tom Jul 19, 2022
1660f42
DOC Ensure `kernel_metrics` passes numpydoc validation (#23950)
Mathews-Tom Jul 19, 2022
a2fbf10
FIX Add ElasticNet* and LassoCV checks in feature_selection._from_mod…
haochunchang Jul 19, 2022
ac7b054
DOC Ensure `pairwise_distances_argmin_min` passes numpydoc validation…
Mathews-Tom Jul 19, 2022
9324c52
DOC Added linestyle into plot_lda example (#23869)
star1327p Jul 20, 2022
eeaadc9
TST Set the random_state in test_linearsvc_parameters (#23960)
thomasjpfan Jul 20, 2022
1fa5854
DOC improve examples/model_selection/plot_grid_search_digits.py (#23956)
ogrisel Jul 20, 2022
3dcc4e9
DOC Ensure `rbf_kernel` passes numpydoc validation (#23954)
Mathews-Tom Jul 21, 2022
121170c
DOC Ensure `sigmoid_kernel` passes numpydoc validation (#23955)
Mathews-Tom Jul 21, 2022
63e1377
MNT replace unconventional characters (#23966)
TomDLT Jul 21, 2022
410eb90
DOC Ensure `polynomial_kernel` passes numpydoc validation (#23953)
Mathews-Tom Jul 21, 2022
a5604d9
CI unpin coverage where possible and regenerate lock files (#23969)
lesteve Jul 21, 2022
569611e
DOC Adjusts grammar in `v_measure_score`'s documentation (#23961)
charles-zablit Jul 21, 2022
7f5ee10
DOC fix numpydoc validation for fetch_kddcup99 (#23929)
DhanshreeA Jul 21, 2022
6791909
DOC Ensures that make_spd_matrix passes numpydoc validation (#23974)
stellalin7 Jul 21, 2022
dd133fe
DOC Update links in user guide (#23972)
thomasjpfan Jul 22, 2022
50eecbc
DOC Improve general organization of text classification example (#23796)
ArturoAmorQ Jul 22, 2022
26d4af1
DOC Clarify the docs for `sklearn.pipeline.Pipeline`'s `steps` parame…
brettcannon Jul 22, 2022
63e376f
DOC Fix typo in `RegressorChain` (#23989)
lucyleeow Jul 25, 2022
622c08b
DOC corrected wording in preprocessing.rst (#23980)
rprkh Jul 25, 2022
c15f052
[MRG] DOC Fix minor typo in BisectingKMeans docstring (#23986)
ceh Jul 25, 2022
f603a39
DOC Fix typo in PLSSVD method docstrings (#23995)
ceh Jul 25, 2022
6e05c8e
CI Error on numpy.VisibleDeprecationWarning in CI (#23971)
glemaitre Aug 4, 2022
0813f75
DOC Fixes docstring for max_features in trees (#23982)
thomasjpfan Jul 25, 2022
2b7d4ed
DOC Ensures that `make_gaussian_quantiles` passes numpydoc validation…
SabriDW Jul 25, 2022
b91b7ca
DOC Fixed sklearn.random_projection.johnson_lindenstrauss_min_dim doc…
SabriDW Jul 26, 2022
3717739
DOC Fixed sklearn.preprocessing._label.label_binarize docstring (#24002)
SabriDW Jul 26, 2022
0c65e96
DOC Improve group based CV splitter docs (#23861)
lucyleeow Jul 26, 2022
0baf0cb
TST Make sure memmap are aligned when OpenBLAS detects Prescott archi…
lesteve Jul 26, 2022
00b2e2d
FIX Show a HTML repr for meta-estimatosr with invalid parameters (#24…
thomasjpfan Jul 27, 2022
f6fc92b
DOC Give local recommendations about IterativeImputer in docstrings (…
aperezlebel Jul 27, 2022
08f7e10
DOC Give local recommendations about SimpleImputer in docstring (#23714)
aperezlebel Jul 27, 2022
7b9d805
DOC Improve doc for GroupKFold and StratifiedGroupKFold (#23948)
Timmate Jul 27, 2022
d5527a8
DOC Add glossary entry 'density estimator' (#23979)
lucyleeow Jul 28, 2022
db6e8b5
DOC Adds example on how to use column transformer with vectorizer (#2…
thomasjpfan Jul 28, 2022
23c569a
DOC add information about 0 dissimilarity values in `smacof` (#23999)
Kirandevraj Jul 28, 2022
b634e46
DOC correct equation in BernoulliNB (#24038)
glemaitre Jul 28, 2022
d462ae2
DOC Added extra documentation in MiniBatchKMean for reassignment_rati…
ShehanAT Jul 28, 2022
864c6b1
DOC Adds 'scoring' to plot_learning_curve example (#16900)
maxi-marufo Jul 29, 2022
86583cd
DOC Clarify threshold param in SelectFromModel (#24039)
lucyleeow Jul 29, 2022
632a7d5
FIX Allow `BaseEstimator.get_params` to handle `type` type params (#2…
hsorsky Jul 29, 2022
a712267
DOC Add note about deactivating and reactivating the conda env after …
stefmolin Aug 1, 2022
42e5672
FIX Support F-contiguous arrays for `PairwiseDistancesReductions`-bac…
jjerphan Aug 1, 2022
de6bb2a
DOC Update viewing docs in CI `contributing.rst` (#24040)
lucyleeow Aug 1, 2022
d22d6ec
DOC Corrects init ndarray shape in MDS (#24067)
rprkh Aug 1, 2022
f70bd52
MAINT Do not version *.pyc* via .gitignore (#24081)
jjerphan Aug 2, 2022
bdac39a
FIX Convergence Warnings in Gaussian process examples (#18019)
marenwestermann Aug 2, 2022
ca94a21
DOC Ensures that mutual_info_score passes numpydoc validation (#24091)
Vincent-Maladiere Aug 3, 2022
9aa0fa8
DOC Ensures that normalized_mutual_info_score passes numpydoc validat…
Vincent-Maladiere Aug 3, 2022
d226ece
DOC spectral biclustering: corrected contradiction of warning and doc…
Maascha Aug 3, 2022
b26dbd8
DOC Ensures that `pair_confusion_matrix` passes numpydoc validation (…
Vincent-Maladiere Aug 3, 2022
727488c
FIX utils.multiclass.type_of_target with numpy 1.24 dev (#24044)
lesteve Aug 4, 2022
4d39f24
MAINT solve long line reported by flake8 (#24065)
glemaitre Jul 31, 2022
bf10d2e
solve test_svm merge conflict
glemaitre Aug 4, 2022
55e515d
other merge conflicts
glemaitre Aug 4, 2022
6472f06
f-contiguous fix on old code base
glemaitre Aug 4, 2022
f23f21b
add test
glemaitre Aug 4, 2022
487c211
Revert a feature tagged as DOC
glemaitre Aug 4, 2022
a413ee6
FIX Remove test for unreleased feature
thomasjpfan Aug 4, 2022
7dd9f57
MAINT fix the way to call stats.mode (#23633)
glemaitre Aug 5, 2022
6b557e8
CI Set MACOSX_DEPLOYMENT_TARGET=10.9 (#23833)
thomasjpfan Aug 5, 2022
ca5e254
FIX Fixes OrdinalEncoder.inverse_tranform nan encoded values (#24087)
thomasjpfan Aug 5, 2022
a64ac4b
[cd build]
glemaitre Aug 5, 2022
afccd4a
move some issues from 1.2 to 1.1
glemaitre Aug 5, 2022
4d4186a
DOC remove the 1.2 created from merge conflict
glemaitre Aug 5, 2022
9cf4037
DOC add date for release 1.1.2
glemaitre Aug 5, 2022
c44bcf1
bumpversion 1.1.2
glemaitre Aug 5, 2022
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
131 changes: 27 additions & 104 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,133 +1,51 @@
version: 2.1

# Parameters required to trigger the execution
# of the "doc-min-dependencies" and "doc" jobs
parameters:
GITHUB_RUN_URL:
type: string
default: "none"

jobs:
doc-min-dependencies:
docker:
- image: cimg/python:3.8.12
environment:
- OMP_NUM_THREADS: 2
- MKL_NUM_THREADS: 2
- CONDA_ENV_NAME: testenv
- PYTHON_VERSION: 3.8
- NUMPY_VERSION: 'min'
- SCIPY_VERSION: 'min'
- MATPLOTLIB_VERSION: 'min'
- CYTHON_VERSION: 'min'
- SCIKIT_IMAGE_VERSION: 'min'
- SPHINX_VERSION: 'min'
- PANDAS_VERSION: 'min'
- SPHINX_GALLERY_VERSION: 'min'
- NUMPYDOC_VERSION: 'min'
- SPHINX_PROMPT_VERSION: 'min'
- SPHINXEXT_OPENGRAPH_VERSION: 'min'
- GITHUB_ARTIFACT_URL: << pipeline.parameters.GITHUB_RUN_URL >>/doc-min-dependencies.zip
steps:
- checkout
- run: ./build_tools/circle/checkout_merge_commit.sh
- restore_cache:
key: v1-doc-min-deps-datasets-{{ .Branch }}
- restore_cache:
keys:
- doc-min-deps-ccache-{{ .Branch }}
- doc-min-deps-ccache
- run: ./build_tools/circle/build_doc.sh
- save_cache:
key: doc-min-deps-ccache-{{ .Branch }}-{{ .BuildNum }}
paths:
- ~/.ccache
- ~/.cache/pip
- save_cache:
key: v1-doc-min-deps-datasets-{{ .Branch }}
paths:
- ~/scikit_learn_data
- run: bash build_tools/circle/download_documentation.sh
- store_artifacts:
path: doc/_build/html/stable
destination: doc
- store_artifacts:
path: ~/log.txt
destination: log.txt

doc:
docker:
- image: cimg/python:3.8.12
environment:
- OMP_NUM_THREADS: 2
- MKL_NUM_THREADS: 2
- CONDA_ENV_NAME: testenv
- PYTHON_VERSION: '3.9'
- NUMPY_VERSION: 'latest'
- SCIPY_VERSION: 'latest'
- MATPLOTLIB_VERSION: 'latest'
- CYTHON_VERSION: 'latest'
- SCIKIT_IMAGE_VERSION: 'latest'
# Bump the sphinx version from time to time. Avoid latest sphinx version
# that tends to break things slightly too often
- SPHINX_VERSION: 4.2.0
- PANDAS_VERSION: 'latest'
- SPHINX_GALLERY_VERSION: 'latest'
- NUMPYDOC_VERSION: 'latest'
- SPHINX_PROMPT_VERSION: 'latest'
- SPHINXEXT_OPENGRAPH_VERSION: 'latest'
- GITHUB_ARTIFACT_URL: << pipeline.parameters.GITHUB_RUN_URL >>/doc.zip
steps:
- checkout
- run: ./build_tools/circle/checkout_merge_commit.sh
- restore_cache:
key: v1-doc-datasets-{{ .Branch }}
- restore_cache:
keys:
- doc-ccache-{{ .Branch }}
- doc-ccache
- run: ./build_tools/circle/build_doc.sh
- save_cache:
key: doc-ccache-{{ .Branch }}-{{ .BuildNum }}
paths:
- ~/.ccache
- ~/.cache/pip
- save_cache:
key: v1-doc-datasets-{{ .Branch }}
paths:
- ~/scikit_learn_data
- run: bash build_tools/circle/download_documentation.sh
- store_artifacts:
path: doc/_build/html/stable
destination: doc
- store_artifacts:
path: ~/log.txt
destination: log.txt
# Persists generated documentation so that it can be attached and deployed
# in the 'deploy' step.
# Persists the generated documentation, so that it
# can be attached and deployed in the "deploy" job
- persist_to_workspace:
root: doc/_build/html
paths: .

lint:
docker:
- image: cimg/python:3.8.12
steps:
- checkout
- run: ./build_tools/circle/checkout_merge_commit.sh
- run:
name: dependencies
command: pip install flake8
- run:
name: linting
command: ./build_tools/circle/linting.sh

linux-arm64:
machine:
image: ubuntu-2004:202101-01
resource_class: arm.medium
environment:
# Use the latest supported version of python
- PYTHON_VERSION: '3.9'
- OMP_NUM_THREADS: 2
- OPENBLAS_NUM_THREADS: 2
- NUMPY_VERSION: 'latest'
- SCIPY_VERSION: 'latest'
- CYTHON_VERSION: 'latest'
- JOBLIB_VERSION: 'latest'
- THREADPOOLCTL_VERSION: 'latest'
- PYTEST_VERSION: 'latest'
- PYTEST_XDIST_VERSION: 'latest'
- TEST_DOCSTRINGS: 'true'
- CONDA_ENV_NAME: testenv
- LOCK_FILE: build_tools/circle/py39_conda_forge_linux-aarch64_conda.lock
steps:
- checkout
- run: ./build_tools/circle/checkout_merge_commit.sh
Expand Down Expand Up @@ -159,18 +77,23 @@ jobs:

workflows:
version: 2

build-doc-and-deploy:
when:
not:
equal: [ "none", << pipeline.parameters.GITHUB_RUN_URL >> ]
# The jobs should run only when triggered by the workflow
jobs:
- lint
- doc:
requires:
- lint
- doc-min-dependencies:
requires:
- lint
- doc-min-dependencies
- doc
- deploy:
requires:
- doc

linux-arm64:
when:
equal: [ "none", << pipeline.parameters.GITHUB_RUN_URL >> ]
# Prevent double execution of this job: on push
# by default and when triggered by the workflow
jobs:
- linux-arm64
78 changes: 78 additions & 0 deletions .github/workflows/build-docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
# Workflow to build the documentation
name: Documentation builder

on:
push:
branches:
- main
# Release branches
- "[0-9]+.[0-9]+.X"
pull_request:
branches:
- main
- "[0-9]+.[0-9]+.X"

jobs:
# Build the documentation against the minimum version of the dependencies
doc-min-dependencies:
# This prevents this workflow from running on a fork.
# To test this workflow on a fork, uncomment the following line.
if: github.repository == 'scikit-learn/scikit-learn'

runs-on: ubuntu-latest
steps:
- name: Checkout scikit-learn
uses: actions/checkout@v2
with:
# needed by build_doc.sh to compute the list of changed doc files:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.sha }}

- name: Setup Python
uses: actions/setup-python@v2

- name: Build documentation
run: bash build_tools/github/build_doc.sh
env:
OMP_NUM_THREADS: 2
MKL_NUM_THREADS: 2
CONDA_ENV_NAME: testenv
LOCK_FILE: build_tools/github/doc_min_dependencies_linux-64_conda.lock

- name: Upload documentation
uses: actions/upload-artifact@v2
with:
name: doc-min-dependencies
path: doc/_build/html/stable

# Build the documentation against the latest version of the dependencies
doc:
# This prevents this workflow from running on a fork.
# To test this workflow on a fork, uncomment the following line.
if: github.repository == 'scikit-learn/scikit-learn'

runs-on: ubuntu-latest
steps:
- name: Checkout scikit-learn
uses: actions/checkout@v2
with:
# needed by build_doc.sh to compute the list of changed doc files:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.sha }}

- name: Setup Python
uses: actions/setup-python@v2

- name: Build documentation
run: bash build_tools/github/build_doc.sh
env:
OMP_NUM_THREADS: 2
MKL_NUM_THREADS: 2
CONDA_ENV_NAME: testenv
LOCK_FILE: build_tools/github/doc_linux-64_conda.lock

- name: Upload documentation
uses: actions/upload-artifact@v2
with:
name: doc
path: doc/_build/html/stable
30 changes: 30 additions & 0 deletions .github/workflows/trigger-hosting.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# Workflow to trigger the jobs that will host the documentation
name: Documentation push trigger
on:
workflow_run:
# Run the workflow after the separate "Documentation builder" workflow completes
workflows: [Documentation builder]
types:
- completed

jobs:
push:
runs-on: ubuntu-latest
# Run the job only if the "Documentation builder" workflow succeeded
# Prevents this workflow from running on a fork.
# To test this workflow on a fork remove the `github.repository == scikit-learn/scikit-learn` condition
if: github.repository == 'scikit-learn/scikit-learn' && github.event.workflow_run.conclusion == 'success'
steps:
- name: Checkout scikit-learn
uses: actions/checkout@v2

- name: Trigger hosting jobs
run: bash build_tools/github/trigger_hosting.sh
env:
CIRCLE_CI_TOKEN: ${{ secrets.CIRCLE_CI_TOKEN }}
EVENT: ${{ github.event.workflow_run.event }}
RUN_ID: ${{ github.event.workflow_run.id }}
HEAD_BRANCH: ${{ github.event.workflow_run.head_branch }}
COMMIT_SHA: ${{ github.event.workflow_run.head_sha }}
REPO_NAME: ${{ github.event.workflow_run.head_repository.full_name }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*.pyc
*.pyc*
*.so
*.pyd
*~
Expand Down
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.3.0
rev: v4.3.0
hooks:
- id: check-yaml
- id: end-of-file-fixer
Expand All @@ -9,13 +9,13 @@ repos:
rev: 22.3.0
hooks:
- id: black
- repo: https://gitlab.com/pycqa/flake8
rev: 3.9.2
- repo: https://github.com/pycqa/flake8
rev: 4.0.1
hooks:
- id: flake8
types: [file, python]
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.782
rev: v0.961
hooks:
- id: mypy
files: sklearn/
Expand Down
3 changes: 0 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,3 @@ doc-noplot: inplace
code-analysis:
flake8 sklearn | grep -v __init__ | grep -v external
pylint -E -i y sklearn/ -d E1103,E0611,E1101

flake8-diff:
git diff upstream/main -u -- "*.py" | flake8 --diff
5 changes: 3 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
.. |JoblibMinVersion| replace:: 1.0.0
.. |ThreadpoolctlMinVersion| replace:: 2.0.0
.. |MatplotlibMinVersion| replace:: 3.1.2
.. |Scikit-ImageMinVersion| replace:: 0.14.5
.. |Scikit-ImageMinVersion| replace:: 0.16.2
.. |PandasMinVersion| replace:: 1.0.5
.. |SeabornMinVersion| replace:: 0.9.0
.. |PytestMinVersion| replace:: 5.0.1
Expand Down Expand Up @@ -144,7 +144,7 @@ directory (you will need to have ``pytest`` >= |PyTestMinVersion| installed)::

pytest sklearn

See the web page https://scikit-learn.org/dev/developers/advanced_installation.html#testing
See the web page https://scikit-learn.org/dev/developers/contributing.html#testing-and-improving-test-coverage
for more information.

Random number generation can be controlled during testing by setting
Expand Down Expand Up @@ -184,6 +184,7 @@ Communication

- Mailing list: https://mail.python.org/mailman/listinfo/scikit-learn
- Gitter: https://gitter.im/scikit-learn/scikit-learn
- Logos & Branding: https://github.com/scikit-learn/scikit-learn/tree/main/doc/logos
- Blog: https://blog.scikit-learn.org
- Calendar: https://blog.scikit-learn.org/calendar/
- Twitter: https://twitter.com/scikit_learn
Expand Down
Loading