Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
478 commits
Select commit Hold shift + click to select a range
ad7c316
Fix Calibrated classifier cv predictions with pipeline (#19641)
AlekLefebvre Mar 10, 2021
4beb0c2
MNT Make setup.py command parsing more robust (#19650)
geofft Mar 10, 2021
58af019
DOC Use term 'black people' instead of 'blacks' in Boston descr (#19661)
ogrisel Mar 11, 2021
5980455
ENH Speedup confusion_matrix (#9843)
Erotemic Mar 11, 2021
6f180d7
BUG Fixes verbose > 2 for grid search (#19659)
thomasjpfan Mar 11, 2021
bfd7b58
TST Do not use cache in test_fetch_openml_iris (#19594)
thomasjpfan Mar 12, 2021
5ccfabf
TST Change assert from sklearn to pytest style in module linear_model…
shivamgargsya Mar 12, 2021
579e7de
move kmpp public next to kmpp private (#19666)
jeremiedbb Mar 12, 2021
15fd026
RFC Make non_negative_factorization call NMF instead of the opposite …
cmarmo Mar 12, 2021
f4e692c
ENH Raises error in hinge_loss when 'pred_decision' is invalid (#19643)
PierreAttard Mar 12, 2021
e3e4a77
MNT Remove absolute imports (#19668)
MarcoGorelli Mar 14, 2021
0c74b8b
ENH Optimize dot product order for LogisticRegression for dense matri…
jjerphan Mar 14, 2021
95c3c76
DOC Fix typo in plot_multi_metric_evaluation example (#19675)
alessiamarcolini Mar 15, 2021
77e998d
ENH Deprecated the default random_state=0 in randomized_svd (#19670)
cliffordEmmanuel Mar 15, 2021
ac6dea5
MNT Fix error message for Minkowski metric parameter (#19671)
zouharvi Mar 15, 2021
302106b
FIX RuntimeWarning by dividing by zero in test_iforest_with_uniform_d…
LSturtew Mar 15, 2021
d996eaf
ENH Adds _num_features for array-likes (#19633)
thomasjpfan Mar 16, 2021
edc4f15
TST Change assert from sklearn to pytest style in tests/test_pipeline…
azihna Mar 16, 2021
b7b510f
FIX RuntimeWarning division by zero in check_classifiers_one_label (#…
mbatoul Mar 16, 2021
fcf4740
TST Add a test to check the consistency of the Ridge and ElasticNet(l…
ogrisel Mar 17, 2021
36e4358
[MRG] Fix documentation for russelrao formula (#19695)
stestagg Mar 17, 2021
95b7c68
ENH Add periodic extrapolation to SplineTransformer (#19483)
mlondschien Mar 17, 2021
edc6995
CI Use conda instead of pip to install anaconda-client (#19528)
alfaro96 Mar 17, 2021
9a186a5
MAINT Python 3.9 in badge on README.rst (#19702)
ogrisel Mar 17, 2021
04f84c6
DOC Added utils.gen_batches in documentation (#19688)
seanbenhur Mar 17, 2021
2e7009b
ENH Better error for corrupted files in fetch_kddcup99 (#19669)
thomasjpfan Mar 18, 2021
ca9618c
MNT move PolynomialFeatures from _data.py to _polynomial.py (#19611)
avigupta2612 Mar 18, 2021
0d7d46f
Fix typo in elastic net docstring. (#19711)
mblondel Mar 18, 2021
bf4049c
DOC Correct scorer documentation (#19720)
joclement Mar 19, 2021
b9d6db8
[MRG] ENH Consistent loss name for squared error (#19310)
lorentzenchr Mar 19, 2021
071ddc7
Removed assert_warns_message from gaussian_process/tests (#19697)
avigupta2612 Mar 19, 2021
cc1b171
Replaced assert_raises from utils/tests/test_estimator_checks (#19709)
avigupta2612 Mar 19, 2021
03edffa
DOC Add scikit-survival to related projects (#19728)
sebp Mar 19, 2021
fe897c0
DOC Move Sacred to "Experimentation frameworks" (#19730)
sebp Mar 19, 2021
266400e
DOC Fix doc regarding required_parameters (#19725)
jeremiedbb Mar 19, 2021
0892a98
Stratified Group KFold implementation (#18649)
marrodion Mar 20, 2021
3e45aee
TST Remove assert warn from preprocessing tests (#19691)
LSturtew Mar 20, 2021
97bfa92
DOC Update broken link in conftest.py (#19736)
JohanWork Mar 21, 2021
e377d85
DOC Fix doc for single linkage in feature agglomeration (#19715)
cliffordEmmanuel Mar 21, 2021
40f2dd1
DOC Fix typo in KDE metric docstring default value (#19735)
jhlegarreta Mar 21, 2021
1db2681
DOC Fix load iris datasets (#19729)
maliozer Mar 21, 2021
8110214
DOC Fixed typo in cross_val_predict docstring (#19739)
guiweber Mar 21, 2021
c854b83
[MRG] Linear One-Class SVM using SGD implementation (#10027)
albertcthomas Mar 23, 2021
3e64e9e
DOC Clarified n_jobs parallelization in plot_partial_dependence (#19750)
InterferencePattern Mar 23, 2021
cf296c7
ENH Checks n_features_in_ after fitting in mixture (#19540)
thomasjpfan Mar 23, 2021
5788d4a
MAINT Improve issue template (#19704)
lesteve Mar 23, 2021
df3f1bd
FIX Adds check_array to inverse_transform of StandardScaler (#19356)
makoeppel Mar 23, 2021
114616d
TST Replace assert_warns in covariance/tests (#19757)
isaacknjama Mar 23, 2021
4dfdfb4
DOC Fix typo in Truncated SVD documentation (#19765)
waijean Mar 25, 2021
80f923e
ENH num_features for a 1d collection of dicts is undefined (#19740)
thomasjpfan Mar 29, 2021
54ff7b7
Test and doc for n_features_in_ for sklearn.calibration (#19555)
ogrisel Mar 30, 2021
57d3668
MNT Avoid catastrophic cancellation in mean_variance_axis (#19766)
jeremiedbb Mar 31, 2021
c9c89cf
ENH Adds support for drop + handle_unknown=ignore in the OneHotEncode…
thomasjpfan Mar 31, 2021
108dd7b
TST Changes assert to pytest style in tests/test_naive_bayes.py (#19768)
azihna Apr 1, 2021
bc7cd31
ENH more efficient _num_combinations calculation in PolynomialFeature…
frrad Apr 2, 2021
a9ae693
FIX Approximate nearest neighbors in TSNE example (#19809)
TomDLT Apr 2, 2021
309f135
MNT Remove HistGradientBoosting from experimental (#19799)
NicolasHug Apr 2, 2021
26e688d
ENH Record output of transformers in ColumnTransformer (#18393)
lbittarello Apr 2, 2021
f057639
DOC Adds version added to output_indices_ in ColumnTransformer (#19815)
thomasjpfan Apr 2, 2021
26b6f60
DOC Use the canonical Wikipedia link (#19819)
chrisyeh96 Apr 4, 2021
f479269
DOC Fix order of whatsnew entries (#19822)
albertvillanova Apr 4, 2021
1411232
API Adds predict_params for Pipeline proba delegates (#19790)
crflynn Apr 5, 2021
c957eb3
FIX Ignore zero sample weights in precision recall curve (#18328)
albertvillanova Apr 5, 2021
aa1fba9
MNT Improve Nearest Neighbor documentation + code consistency (#19793)
chrisyeh96 Apr 5, 2021
2b505bf
Add APHP to the Consortium sponsors (#19823)
cmarmo Apr 6, 2021
877c6e6
DOC Fixes style for versionadded (#19817)
thomasjpfan Apr 6, 2021
9cfacf1
DEP Deprecate 'normalize' in ridge models (#17772)
maikia Apr 6, 2021
3d7fbda
CI Add a check for milestones. (#19833)
cmarmo Apr 7, 2021
36c635b
CI Fix string comparison in milestone workflow (#19840)
cmarmo Apr 7, 2021
4b53fc3
CI Removes check milestone (#19843)
thomasjpfan Apr 8, 2021
246795f
TST Fixes test_partial_fit_oneclass (#19814)
thomasjpfan Apr 8, 2021
dff37c4
DOC Fix incorrect 0-1 scaling in the RBM example (#19363)
Necior Apr 8, 2021
1ce1715
TST Add a test for meta-estimators with non tabular data (#19755)
jeremiedbb Apr 8, 2021
ee524f4
ENH Improve the creation of KDTree and BallTree on their worst-case t…
jjerphan Apr 8, 2021
132627e
FIX Let ColumnTransformer.get_feature_names handle transformers with …
albertvillanova Apr 8, 2021
1f91b87
TST Remove redundant max iter in sklearn/linear_model/tests (#14622)
qdeffense Apr 8, 2021
d88ffab
DOC Update attribute docstrings in _multilayer_perceptron.py (#19595)
Shooter23 Apr 9, 2021
a80b99c
DOC Fix versionchanged/versionadded in OneHotEncoder (#16562)
rth Apr 9, 2021
734ae1f
DOC add explicit message regarding shuffling in default CV (#19776)
azihna Apr 9, 2021
b8903da
ENH Adds final_estimator in html repr for Stacking* (#19564)
thomasjpfan Apr 9, 2021
a44653f
TST Changes assert to pytest style in test_config.py and test_kernel_…
azihna Apr 9, 2021
02e2a11
TST replace assert_raises by pytest.raises in test_least_angle, test_…
abdulelahsm Apr 9, 2021
80e985b
TST Changes assert to pytest style in test_random_projection.py (#19…
LSturtew Apr 9, 2021
da3c2d2
FIX MultiOutputRegressor correctly ducktypes fitted estimators (#19308)
thomasjpfan Apr 9, 2021
7d728d3
FIX missing space in import in svm/_base.py (#19852)
glemaitre Apr 9, 2021
3ff1267
FIX allows TransformedTargetRegressor to take nD target (#18898)
panangam Apr 9, 2021
b1d686d
DOC Fixed typo in clustering.rst (#19863)
analuizaypessoa-zz Apr 11, 2021
f1018c6
FIX BaseSuccessiveHalving class groups support (#19847)
xiaoyuchai Apr 12, 2021
7b343dd
CLN Improve doc/error consistency for GaussianProcessRegressor (#19687)
chrisyeh96 Apr 12, 2021
e56d76a
FIX Removes unecessary check in _BaseChain (#19865)
glemaitre Apr 12, 2021
c09c654
DOC Fix typo in common_pitfalls.rst (#19867)
viniciusriosfuck Apr 12, 2021
c59a310
DOC Fix typos plot_column_transformer_mixed_types.py (#19871)
viniciusriosfuck Apr 13, 2021
926633c
Update who may propose a new triage member. (#19870)
cmarmo Apr 13, 2021
767fd63
DOC make documentation consistent regarding types in _encoders.py (#1…
glemaitre Apr 13, 2021
8a3939a
FIX Error for sparse matrix in OrdinalEncoder.inverse_transform (#19879)
glemaitre Apr 13, 2021
bbdd3bb
CI Add label on PRs modifying Cython code (#19850)
jjerphan Apr 13, 2021
ab65c8b
TST Changes assert to pytest style in tests/test_isotonic.py (#19864)
azihna Apr 13, 2021
7fa2e6e
DOC Clarify documentation for spectral clustering (#19795)
chrisyeh96 Apr 13, 2021
872052b
FIX convert cv_results_ values to numpy array in SuccessiveHalving (#…
NicolasHug Apr 14, 2021
684b7d1
FIX detect near constant feature in StandardScaler and linear models …
jeremiedbb Apr 14, 2021
138da7e
MNT Use const memory views in DistanceMetric subclasses (#19883)
jjerphan Apr 14, 2021
8c4589b
ENH Scalable MiniBatchKMeans plus cln / fixes / refactoring (#17622)
jeremiedbb Apr 15, 2021
2c5ea4e
DictionaryLearning: Fix several issues in the dict update (#19198)
jeremiedbb Apr 15, 2021
962bd9a
DOC Adds consistence in docs for univariate selection metrics (#19904)
glemaitre Apr 16, 2021
90b3992
DOC Fix the description of some features in load_diabetes (#19366)
hongshaoyang Apr 16, 2021
e1f879e
DOC add FAQ entry for the many linear model classes (#19861)
lorentzenchr Apr 16, 2021
9605f3b
DOC Fixes links in outlier_detection.html (#19917)
ishansmishra Apr 18, 2021
5d8796b
FIX Fixes unknown handling for str dtypes in OrdinalEncoder.transform…
thomasjpfan Apr 18, 2021
66ec10f
MAINT Clean up code in FastICA (#19796)
MaxwellLZH Apr 19, 2021
969ec32
DOC fix early stopping description in MLP (#19818)
isaacknjama Apr 19, 2021
73e8b7d
DOC use math mode in r2_score function (#19921)
alfaro96 Apr 19, 2021
5efcb10
MAINT Vendors packaging/version.py for pep440 versioning (#19826)
thomasjpfan Apr 19, 2021
0df9efe
DOC Fixes typo in doc/modules/cross_validation.rst (#19925)
he7d3r Apr 19, 2021
dd7b7e5
MAINT Remove `get_memview_*` helpers in `neighbours.BinaryTree` (#19893)
jjerphan Apr 20, 2021
9b7ff27
DOC improve learning-rate AdaBoost estimator (#19919)
bharatr21 Apr 20, 2021
9099c79
EXA Fix plot_map_data_to_normal.py example legend (#19930)
lesteve Apr 20, 2021
ce217db
FIX Fixes memory view bug in distance metrics (#19933)
thomasjpfan Apr 20, 2021
7ddd6e5
KBinsDiscretizer efficiency improvement to 'kmeans' strategy (#19934)
glevv Apr 20, 2021
1a601c0
DOC Remove misleading "linear kernel" statements (#19937)
TFiFiE Apr 20, 2021
4946bfc
FIX fix a bug in KernelPCA.inverse_transform (#19732)
kstoneriv3 Apr 20, 2021
0bd7ced
ENH Enrich docstring on `inverse_transform` of `KernelPCA` (#19910)
kstoneriv3 Apr 20, 2021
004b44d
FIX OneHotEncoder.fit no longer alters the drop parameter (#19924)
thomasjpfan Apr 20, 2021
d5ebdca
[MRG] Refactor `feature_selection.f_regression` and introduce `featur…
jjerphan Apr 21, 2021
b84afe5
FIX prevent division by zero with constant target in GPR (#19703)
afonari Apr 21, 2021
a67b284
FIX Encoder should accept categories having dtype='S' (#19727)
andrewdelong Apr 21, 2021
dbed806
FIX Fixes regression in CCA due to change of cutoff values in SciPy …
thomasjpfan Apr 22, 2021
efc703c
DOC order whats new 0.24.2
glemaitre Apr 22, 2021
c88c89c
DOC move whats new entry from 1.0 to 0.24
glemaitre Apr 22, 2021
0968434
MAINT Remove tests for metric configuration ignoring pos_label (#19961)
cmarmo Apr 23, 2021
2641baf
FIX Fixes PLSRegression regression for constant Yk (#19922)
thomasjpfan Apr 23, 2021
6927fa2
FIX mislabelling multiclass target when labels is provided in top_k_a…
joclement Apr 26, 2021
ff09499
CI Fixes MAC ar build error (#19968)
thomasjpfan Apr 26, 2021
d22fe3e
CI Lowers precision for doctest in LinearRegression (#19988)
thomasjpfan Apr 26, 2021
d852aa0
TST Changes assert to pytest style in /mixture/tests (#19983)
azihna Apr 26, 2021
8156c10
ENH Improve initialization and learning rate in t-SNE (#19491)
dkobak Apr 26, 2021
e4bb9fa
DOC: add import in binary tree class examples (#19991)
raybellwaves Apr 26, 2021
eecde00
FIX support multiple str/single category with dense DictVectorizer (#…
glemaitre Apr 27, 2021
9694d5a
Remove the unused import of csc_matrix (#19989)
fatosmorina Apr 27, 2021
674e7df
DOC retroactive changed model entry (#19992)
jeremiedbb Apr 27, 2021
bf0886b
[MRG after #12145] Add "Randomized SVD" solver option to KernelPCA fo…
smarie Apr 27, 2021
6a562d3
ENH improve KernelCenterer documentation and tests (#19901)
glemaitre Apr 27, 2021
7b1c9af
FIX Use cho_solve when return_std=True for GaussianProcessRegressor (…
iwhalvic Apr 27, 2021
23032e7
ENH Makes global configuration thread local (#18736)
thomasjpfan Apr 27, 2021
a45c0c9
DEP Deprecates 'normalize' in _bayes.py (#17746)
maikia Apr 27, 2021
a9cc0ed
DOC correct the orders of the x labels (#19997)
maikia Apr 28, 2021
9c3b402
ENH Makes ColumnTransformer more flexible by only checking for non-dr…
thomasjpfan Apr 29, 2021
36a9257
DOC Fix typo on comment about t-SNE (#20009)
he7d3r Apr 29, 2021
4023a0f
CLN Fix _add_node parameter name (#20008)
PSSF23 Apr 29, 2021
86bda0a
DOC add bug fixes releases in News web section
glemaitre May 3, 2021
a9ce392
DOC Add figure tag properties in css (#20028)
cmarmo May 3, 2021
4803a0a
DOC Add a note about the involvement of the contributor in maintenanc…
cmarmo May 5, 2021
0eb9ad7
MNT fix bad shebang in build_doc.sh (#20050)
NicolasHug May 5, 2021
de1262c
CLN Remove **kwargs in Neighbors estiamtors (#20013)
thomasjpfan May 6, 2021
99754cd
DOC Add note for videos & improve syncing instructions (#20022)
PSSF23 May 10, 2021
6cc3afb
CLN Replace self.steps[-1][-1] with self.steps[-1][1] (#20063)
ChuliangXiao May 10, 2021
ee22982
TST Adjust atol in test_ridge_regression_check_arguments based on 32b…
thomasjpfan May 10, 2021
2bd3a4d
ENH Consistent loss name for absolute error (#19733)
lorentzenchr May 10, 2021
5e85941
DOC Added return value info to SimpleImputer.transform docstring (#20…
kmatt10 May 11, 2021
6d67937
cln deprecations fixes (#19323)
jeremiedbb May 11, 2021
8635580
DOC Add communication guidelines. (#20048)
cmarmo May 11, 2021
1991531
MNT Clean deprecations for 1.0 | SGD (#19320)
jeremiedbb May 11, 2021
32b60fb
MNT Clean deprecations for 1.0 | plot_tree (#19324)
jeremiedbb May 11, 2021
0f85e6b
MNT Clean deprecations for 1.0 | Search (#19321)
jeremiedbb May 11, 2021
0012d84
MNT Clean deprecations for 1.0 | AffinityPropagation (#19318)
jeremiedbb May 11, 2021
3bcbf85
MNT Clean deprecations for 1.0 | SVM (#19322)
jeremiedbb May 11, 2021
847fc6a
MNT Clean deprecations for 1.0 | KMeans (#19317)
jeremiedbb May 11, 2021
bfb5b39
DOC typo in doc/developers/tips.rst (#20088)
May 13, 2021
48ab1bf
DOC correct behavior of needs_threshold in make_score (#20079)
ZeyuSun May 13, 2021
f6e6ad2
MNT clean futurewarning for 1.0 | _deprecate_positional_args (#20002)
TomDLT May 14, 2021
5073d69
DOC Clarify wording in ensemble.rst (#20094)
groceryheist May 14, 2021
d73822f
DOC Add notes about the location of function body. (#20095)
rainwoodman May 16, 2021
29e21a3
DOC Update hinge loss function in SVM (#20077)
tom1092 May 17, 2021
053d2d1
CI Uses minimum version for doc-min-dependencies (#20057)
thomasjpfan May 17, 2021
40b45e6
[MRG] CI Push Scipy minimum version to 1.1.0. Remove Python 3.6 from …
cmarmo May 18, 2021
ca6caa2
TST Removed the estimators from the IGNORED list in test_fit_docstrin…
Ashvith10 May 18, 2021
094992b
DOC fix new line alignment
TomDLT May 18, 2021
2a43ed2
CI Fix min dependencies for scikit-image (#20108)
cmarmo May 19, 2021
3014fcf
MNT Move parameter validation from `__init__` to `fit` in `neighbors`…
alfaro96 May 19, 2021
1ac047d
DOC Replace broken link in clustering.rst (#20102)
emarkou May 19, 2021
1b6a651
TST Changes assert to pytest style in decomposition, datasets, covari…
azihna May 20, 2021
c675183
DOC use reshape instead of manually reshaping in plot_color_quantizat…
yoch May 20, 2021
e8e719d
[DOC] Update roadmap. (#20116)
cmarmo May 21, 2021
36a4dca
DOC Add Evalml to scikit-learn related projects (#20109)
bchen1116 May 21, 2021
5081c2f
DOC Update Featuretools link in Related Project Page (#20120)
thehomebrewnerd May 22, 2021
aa898de
TST Changes assert to pytest style in svm, manifold, linear_model, fe…
azihna May 22, 2021
5b7136f
MNT Update license year to 2021 (#20126)
PSSF23 May 24, 2021
88be3c1
Fix GaussianMixture UnboundLocalError (#20030)
tliu68 May 25, 2021
c1cc67d
FEA Add QuantileRegressor estimator (#9978)
avidale May 25, 2021
6ec090f
DOC fix broken links in faq.rst and glossary.rst (#20122)
emarkou May 26, 2021
7c212a2
EXA improve the example for QuantileRegressor (#20133)
glemaitre May 26, 2021
7c87371
DOC change figure in user guide of quantile regression
glemaitre May 26, 2021
3c72fe5
TST Changes assert_raises to raises in sklearn/utils/test_estimator_c…
azihna May 27, 2021
07880f0
DOC Update minimal versions for dependencies (#20143)
cmarmo May 27, 2021
99472de
MAINT silence spurious mypy error (#20147)
ogrisel May 27, 2021
67f6a5c
Add missing link to user guide in PolynomialFeatures API documentatio…
naozin555 May 27, 2021
aa86c83
ENH Allowing sparse inputs for prediction in AffinityPropagation (#20…
venkyyuvy May 27, 2021
495ff48
[MRG] resolve ambiguity of the nested cross-val example (#20148)
kobaski May 27, 2021
c9d223c
[MRG] Expand documentation of random_state for spectral methods (#17314)
jnboehm May 27, 2021
bc91f01
DOC improve penalty/solver/muticlass support in LogisticRegression* (…
michalkrawczyk May 28, 2021
9406b3d
TST Removed assert_warns_message from feature_selection/tests (#20158)
naozin555 May 28, 2021
3a64fec
DOC Improve the description of california_housing (#20160)
Whidou May 28, 2021
deda6e2
EXA improve example of forest feature importances digits (#19429)
azihna May 28, 2021
eea26e7
MNT Clean deprecations for 1.0 | pairwise_distances (#19325)
jeremiedbb May 31, 2021
1c36b49
MNT avoid pandas deprecation warning in test_validation.py (#20171)
ogrisel May 31, 2021
c8753d4
ENH Preserving dtype for numpy.float32 in Least Angle Regression (#2…
takoika May 31, 2021
7bb3e22
TST change load_boston in test_base to make_* (#20174)
azihna May 31, 2021
56f4b83
Fix number of splines in legend of example plot (#20142)
ogrisel Jun 1, 2021
337f47a
DOC fix hyperlink for some users
glemaitre Jun 1, 2021
1e24ea2
DOC fix missing hyperlink in whats new
glemaitre Jun 1, 2021
8bc3608
[MRG] Fix Sparse PCA optimization task #19775 (#20153)
KurumeYuta Jun 1, 2021
777ac15
MNT add n_features_in_ through the feature_extraction module (#20180)
jeremiedbb Jun 1, 2021
c09be6a
TST Fixes test and mis-matched pandas version (#20149)
thomasjpfan Jun 1, 2021
952b10f
[MRG] DOC Improve documentation of Latent Dirichlet Allocation (#20181)
jonaschn Jun 1, 2021
5ff8632
MNT add path as a static abstract method to LinearModelCV (#19970)
lorentzenchr Jun 1, 2021
07a0cf3
MNT Finish removing python 3.6 (#20185)
thomasjpfan Jun 1, 2021
6850c04
API Deprecates support for np.matrix in check_array (#20165)
thomasjpfan Jun 1, 2021
5d25ce1
TST enable test docstring params for feature extraction module (#20188)
jeremiedbb Jun 2, 2021
e203750
DOC fix a reference in sklearn.ensemble.GradientBoostingRegressor (#2…
tsuga Jun 3, 2021
64bafa3
FIX mcc zero divsion (#19977)
Connerrrrr Jun 3, 2021
7f35724
TST Add TransformedTargetRegressor to test_meta_estimators_delegate_d…
jeremiedbb Jun 3, 2021
bd7ebf5
TST enable n_feature_in_ test for feature_extraction module
glemaitre Jun 3, 2021
3a23e26
FIX Uses points instead of pixels in plot_tree (#20023)
thomasjpfan Jun 3, 2021
6bfaced
MNT n_features_in through the multiclass module (#20193)
jeremiedbb Jun 3, 2021
1038024
CI Removes python 3.6 builds from wheel building (#20184)
thomasjpfan Jun 3, 2021
95f5fb4
FIX Fix typo in error message in `fetch_openml` (#20201)
mlondschien Jun 4, 2021
7b965c7
FIX Fix error when using Calibrated with Voting (#20087)
Jun 4, 2021
a1a6b3a
FIX Fix RandomForestRegressor doesn't accept max_samples=1.0 (#20159)
murata-yu Jun 4, 2021
36915ae
ENH Adds Poisson criterion in RandomForestRegressor (#19836)
bsun94 Jun 6, 2021
9884ccd
TST Replace assert_warns from decomposition/tests (#20214)
Jun 6, 2021
800aee6
TST check n_features_in_ in pipeline module (#20192)
glemaitre Jun 7, 2021
7781256
Allow `n_knots=None` if knots are explicitly specified in `SplineTran…
mlondschien Jun 7, 2021
673625b
FIX make check_complex_data deterministic (#20221)
ogrisel Jun 7, 2021
b15e312
TST test_fit_docstring_attributes include properties (#20190)
jeremiedbb Jun 7, 2021
7f30867
FIX Uses the color max for colormap in ConfusionMatrixDisplay (#19784)
thomasjpfan Jun 7, 2021
5c3cb6b
STY Changing .format method to f-string formatting (#20215)
itsabhishekhere Jun 8, 2021
c53d33e
[MRG] Listed valid metrics in neighbors.rst (#19379)
hongshaoyang Jun 9, 2021
45fc4b7
DOC Document n_features_in_ in cluster (#20228)
nanshanli Jun 9, 2021
a253826
TST make sure to test SearchCV on both classification and regression …
glemaitre Jun 9, 2021
007da8d
FIX Do not reset for non-fit in multiclass (#20205)
thomasjpfan Jun 9, 2021
1cd282d
DOC add n_features_in_ in the documentation (#20236)
glemaitre Jun 9, 2021
bf380eb
Update _supervised.py
amrcode Sep 23, 2020
7421170
Update _supervised.py
amrcode Oct 20, 2020
7cb0dbe
Update sklearn/metrics/cluster/_supervised.py to add a period in the …
amrcode Oct 21, 2020
14df87f
Updates from review
amrcode Jan 5, 2021
6c1c787
Fix line lengths
amrcode Jan 5, 2021
b6e1275
Update _supervised.py
amrcode Feb 2, 2021
85aa9ec
Remove trailing whitespace
amrcode Feb 2, 2021
e8ff404
Update math notation
amrcode Jun 11, 2021
bdc8ba9
Fix line lengths
amrcode Jun 11, 2021
26e2064
Remove trailing whitespace
amrcode Jun 11, 2021
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
  •  
  •  
  •  
23 changes: 16 additions & 7 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,22 @@ version: 2
jobs:
doc-min-dependencies:
docker:
- image: circleci/python:3.7.3-stretch
- image: circleci/python:3.7.7-buster
environment:
- OMP_NUM_THREADS: 2
- MKL_NUM_THREADS: 2
- CONDA_ENV_NAME: testenv
- PYTHON_VERSION: 3.6
- PYTHON_VERSION: 3.7
- 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'
steps:
- checkout
- run: ./build_tools/circle/checkout_merge_commit.sh
Expand Down Expand Up @@ -44,7 +47,7 @@ jobs:

doc:
docker:
- image: circleci/python:3.7.3-stretch
- image: circleci/python:3.7.7-buster
environment:
- OMP_NUM_THREADS: 2
- MKL_NUM_THREADS: 2
Expand All @@ -57,6 +60,9 @@ jobs:
- SCIKIT_IMAGE_VERSION: 'latest'
- SPHINX_VERSION: 'min'
- PANDAS_VERSION: 'latest'
- SPHINX_GALLERY_VERSION: 'latest'
- NUMPYDOC_VERSION: 'latest'
- SPHINX_PROMPT_VERSION: 'latest'
steps:
- checkout
- run: ./build_tools/circle/checkout_merge_commit.sh
Expand Down Expand Up @@ -90,7 +96,7 @@ jobs:

lint:
docker:
- image: circleci/python:3.6
- image: circleci/python:3.7
steps:
- checkout
- run: ./build_tools/circle/checkout_merge_commit.sh
Expand All @@ -104,6 +110,9 @@ jobs:
pypy3:
docker:
- image: condaforge/miniforge3
environment:
# Avoid the interactive dialog when installing tzdata
- DEBIAN_FRONTEND: noninteractive
steps:
- restore_cache:
keys:
Expand All @@ -121,7 +130,7 @@ jobs:

deploy:
docker:
- image: circleci/python:3.6
- image: circleci/python:3.7
steps:
- checkout
- run: ./build_tools/circle/checkout_merge_commit.sh
Expand All @@ -132,7 +141,7 @@ jobs:
- run: ls -ltrh doc/_build/html/stable
- deploy:
command: |
if [[ "${CIRCLE_BRANCH}" =~ ^master$|^[0-9]+\.[0-9]+\.X$ ]]; then
if [[ "${CIRCLE_BRANCH}" =~ ^main$|^[0-9]+\.[0-9]+\.X$ ]]; then
bash build_tools/circle/push_doc.sh doc/_build/html/stable
fi

Expand Down Expand Up @@ -162,6 +171,6 @@ workflows:
filters:
branches:
only:
- master
- main
jobs:
- pypy3
2 changes: 1 addition & 1 deletion .codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ coverage:
status:
project:
default:
# Commits pushed to master should not make the overall
# Commits pushed to main should not make the overall
# project coverage decrease by more than 1%:
target: auto
threshold: 1%
Expand Down
10 changes: 8 additions & 2 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,17 @@
blank_issues_enabled: false
contact_links:
- name: Stack overflow
- name: Discussions
url: https://github.com/scikit-learn/scikit-learn/discussions/new
about: Ask questions and discuss with other scikit-learn community members
- name: Stack Overflow
url: https://stackoverflow.com/questions/tagged/scikit-learn
about: Please ask and answer usage questions on stackoverflow
about: Please ask and answer usage questions on Stack Overflow
- name: Mailing list
url: https://mail.python.org/mailman/listinfo/scikit-learn
about: General discussions and announcements on the mailing list
- name: Gitter
url: https://gitter.im/scikit-learn/scikit-learn
about: Users and developers can sometimes be found on the gitter channel
- name: Blank issue
url: https://github.com/scikit-learn/scikit-learn/issues/new
about: Please note that Github Discussions should be used in most cases instead
10 changes: 0 additions & 10 deletions .github/ISSUE_TEMPLATE/other_template.md

This file was deleted.

8 changes: 8 additions & 0 deletions .github/labeler-file-extensions.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
cython:
- sklearn/**/*.pyx
- sklearn/**/*.pxd
- sklearn/**/*.pxi
# Tempita templates
- sklearn/**/*.pyx.tp
- sklearn/**/*.pxd.tp
- sklearn/**/*.pxi.tp
5 changes: 0 additions & 5 deletions .github/labeler.yml

This file was deleted.

25 changes: 25 additions & 0 deletions .github/scripts/label_title_regex.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
"""Labels PRs based on title. Must be run in a github action with the
pull_request_target event."""
from ghapi.all import context_github
from ghapi.all import GhApi
from ghapi.all import user_repo
from ghapi.all import github_token
import re

owner, repo = user_repo()
pull_request = context_github.event.pull_request
title = pull_request.title

regex_to_labels = [
(r"\bDOC\b", "Documentation"),
(r"\bCI\b", "Build / CI")
]

labels_to_add = [
label for regex, label in regex_to_labels
if re.search(regex, title)
]

if labels_to_add:
api = GhApi(owner=owner, repo=repo, token=github_token())
api.issues.add_labels(pull_request.number, labels=labels_to_add)
54 changes: 54 additions & 0 deletions .github/workflows/check-changelog.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
name: Check Changelog
# This check makes sure that the changelog is properly updated
# when a PR introduces a change in a test file.
# To bypass this check, label the PR with "No Changelog Needed".
on:
pull_request:
types: [opened, edited, labeled, unlabeled, synchronize]

jobs:
check:
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@v2
with:
fetch-depth: '0'
- name: Check the changelog
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\` ]]
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 changelog name properly match."
exit 1
fi
fi
else
echo "Changelog entry is missing."
echo "If you see this error and there is already a changelog entry then make sure that"
echo "the PR number is correct. If no changelog entry is required for this PR,"
echo "label the PR with 'No Changelog Needed' to bypass this check."
exit 1
fi
10 changes: 10 additions & 0 deletions .github/workflows/labeler-module.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,13 @@ jobs:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
max-labels: "3"
configuration-path: ".github/labeler-module.yml"

triage_file_extensions:
runs-on: ubuntu-latest
steps:
- uses: thomasjpfan/labeler@v2.5.0
continue-on-error: true
if: github.repository == 'scikit-learn/scikit-learn'
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
configuration-path: ".github/labeler-file-extensions.yml"
18 changes: 11 additions & 7 deletions .github/workflows/labeler-title-regex.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,20 @@
name: Pull Request Regex Title Labeler
on:
pull_request_target:
types: [opened]
types: [opened, edited]

jobs:

labeler:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:
- name: Check Labels
id: labeler
continue-on-error: true
uses: jimschubert/labeler-action@v2
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
python-version: '3.9'
- name: Install ghapi
run: pip install -Uq ghapi
- name: Label pull request
run: python .github/scripts/label_title_regex.py
env:
CONTEXT_GITHUB: ${{ toJson(github) }}
4 changes: 2 additions & 2 deletions .github/workflows/publish_pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@ jobs:
user: __token__
password: ${{ secrets.TEST_PYPI_TOKEN }}
repository_url: https://test.pypi.org/legacy/
if: ${{ github.event.inputs.pypi_repo }} == 'testpypi'
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 }}
if: ${{ github.event.inputs.pypi_repo }} == 'pypi'
if: ${{ github.event.inputs.pypi_repo == 'pypi' }}
6 changes: 3 additions & 3 deletions .github/workflows/twitter.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# Tweet the URL of a commit on @sklearn_commits whenever a push event
# happens on the master branch
# happens on the main branch
name: Twitter Push Notification


on:
push:
branches:
- master
- main


jobs:
Expand All @@ -16,7 +16,7 @@ jobs:
steps:
- name: Tweet URL of last commit as @sklearn_commits
if: github.repository == 'scikit-learn/scikit-learn'
uses: xorilog/twitter-action@0.1
uses: docker://thomasjpfan/twitter-action:0.3
with:
args: "-message \"https://github.com/scikit-learn/scikit-learn/commit/${{ github.sha }}\""
env:
Expand Down
24 changes: 18 additions & 6 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ on:
- cron: "42 3 */1 * *"
push:
branches:
- master
- main
# Release branches
- "[0-9]+.[0-9]+.X"
pull_request:
branches:
- master
- main
- "[0-9]+.[0-9]+.X"
# Manual run
workflow_dispatch:
Expand All @@ -22,6 +22,7 @@ jobs:
check_build_trigger:
name: Check build trigger
runs-on: ubuntu-latest
if: github.repository == 'scikit-learn/scikit-learn'
outputs:
build: ${{ steps.check_build_trigger.outputs.build }}

Expand All @@ -35,9 +36,9 @@ jobs:
name: Check build trigger
run: bash build_tools/github/check_build_trigger.sh

# Build the wheels for Linux, Windows and macOS for Python 3.6 and newer
# Build the wheels for Linux, Windows and macOS for Python 3.7 and newer
build_wheels:
name: Build wheel for cp${{ matrix.python }}-${{ matrix.platform_id }}
name: Build wheel for cp${{ matrix.python }}-${{ matrix.platform_id }}-${{ matrix.manylinux_image }}
runs-on: ${{ matrix.os }}
needs: check_build_trigger
if: needs.check_build_trigger.outputs.build
Expand All @@ -47,8 +48,9 @@ jobs:
fail-fast: false
matrix:
os: [windows-latest, ubuntu-latest, macos-latest]
python: [36, 37, 38, 39]
python: [37, 38, 39]
bitness: [32, 64]
manylinux_image: [manylinux1, manylinux2010]
include:
# Run 32 and 64 bit version in parallel for Linux and Windows
- os: windows-latest
Expand All @@ -69,6 +71,12 @@ jobs:
exclude:
- os: macos-latest
bitness: 32
# Remove manylinux1 from the windows and osx build matrix since
# manylinux_image is not used for these platforms
- os: windows-latest
manylinux_image: manylinux1
- os: macos-latest
manylinux_image: manylinux1

steps:
- name: Checkout scikit-learn
Expand All @@ -85,12 +93,16 @@ jobs:
OPENBLAS_NUM_THREADS=2
SKLEARN_SKIP_NETWORK_TESTS=1
SKLEARN_BUILD_PARALLEL=3
MACOSX_DEPLOYMENT_TARGET=10.13
CIBW_BUILD: cp${{ matrix.python }}-${{ matrix.platform_id }}
CIBW_REPAIR_WHEEL_COMMAND_WINDOWS: bash build_tools/github/repair_windows_wheels.sh {wheel} {dest_dir} ${{ matrix.bitness }}
CIBW_MANYLINUX_X86_64_IMAGE: ${{ matrix.manylinux_image }}
CIBW_MANYLINUX_I686_IMAGE: ${{ matrix.manylinux_image }}
CIBW_REPAIR_WHEEL_COMMAND_WINDOWS: bash build_tools/github/repair_windows_wheels.sh {wheel} {dest_dir} ${{ matrix.bitness }}
CIBW_BEFORE_TEST_WINDOWS: bash build_tools/github/build_minimal_windows_image.sh ${{ matrix.python }} ${{ matrix.bitness }}
CIBW_TEST_REQUIRES: pytest pandas threadpoolctl
CIBW_TEST_COMMAND: bash {project}/build_tools/github/test_wheels.sh
CIBW_TEST_COMMAND_WINDOWS: bash {project}/build_tools/github/test_windows_wheels.sh ${{ matrix.python }} ${{ matrix.bitness }}
CIBW_BUILD_VERBOSITY: 1

run: bash build_tools/github/build_wheels.sh

Expand Down
Loading