8000 MAINT Sync `hdbscan` branch with `main` by Micky774 · Pull Request #25124 · scikit-learn/scikit-learn · GitHub
[go: up one dir, main page]

Skip to content

MAINT Sync hdbscan branch with main #25124

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

Closed
wants to merge 260 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
260 commits
Select commit Hold shift + click to select a range
8648cf9
MAINT clean deprecation for 1.2: leftovers (#24647)
jeremiedbb Oct 13, 2022
0003ee0
DOC Ensure that gen_batches passes numpydoc validation (#24609)
thatgeeman Oct 13, 2022
d524875
MAINT `PairwiseDistancesReduction`: Update comments and remove unused…
jjerphan Oct 13, 2022
29d89f0
MAINT Fix full doc build by avoiding plot_set_output.py side-effect (…
lesteve Oct 13, 2022
6818c9b
MAINT Clean deprecation for 1.2: load_boston follow-up (#24653)
jeremiedbb Oct 13, 2022
6c00e94
MAINT set plotly min to 5.10 (#24629)
ArturoAmorQ Oct 13, 2022
e01035d
OPTIM use pairwise_distances_argmin in NearestCentroid.predict (#24645)
ogrisel Oct 13, 2022
c0b3385
MAINT use nanmin to replace nan by finite values in ranking of Search…
glemaitre Oct 13, 2022
5b45d1f
MAINT `PairwiseDistancesReduction`: Rename some symbols and files (#2…
jjerphan Oct 13, 2022
aa7fd7a
DOC Ensures that `sklearn.utils.extmath.randomized_svd` passes numpyd…
awinml Oct 13, 2022
0c8820b
DOC Ensures that if_delegate_has_method passes numpydoc validation (#…
michpara Oct 13, 2022
5c897f1
Add msvcp140.dll to Windows 64 bit wheels (#24631)
cmarmo Oct 14, 2022
9a697e4
DOC Ensures that sklearn.utils.extmath.fast_logdet passes numpydoc va…
awinml Oct 14, 2022
eb5f340
MNT Do not update docs with deprecated decorator (#24410)
thomasjpfan Oct 14, 2022
96f0a01
MAINT Clean deprecation for 1.2: default random_state in randomized_s…
jeremiedbb Oct 14, 2022
04d0e4a
MAINT Clean deprecation for 1.2: feature names exact match (#24660)
jeremiedbb Oct 14, 2022
6697de3
MAINT Bump min dependencies for 1.2 (#24650)
jeremiedbb Oct 14, 2022
7cf938c
API Remove `sklearn.metrics.manhattan_distances` option `sum_over_fea…
rusdes Oct 14, 2022
8610e14
EFF avoid computing inertia in KMeans' predict (#24666)
jeremiedbb Oct 14, 2022
935f7e6
DOC make `plot_agglomerative_clustering_metrics.py` colorblind friend…
rprkh Oct 17, 2022
5af75b9
DOC use KBinsDiscretizer in lieu of KMeans in vector quantization exa…
x110 Oct 17, 2022
625650f
TST use global_random_seed in sklearn/cluster/tests/test_dbscan.py (#…
OmarManzoor Oct 17, 2022
69ca8d5
HOTFIX Temporarily disable py38_conda_defaults_openblas build (#24693)
lesteve Oct 18, 2022
98a3fdf
DOC Fix typo and adjust wording in `set_output` example (#24689)
betatim Oct 18, 2022
d4306ba
DOC Improve docstring around set_output (#24672)
thomasjpfan Oct 18, 2022
1dc23d7
ENH Makes OneToOneFeatureMixin and ClassNamePrefixFeaturesOutMixin pu…
thomasjpfan Oct 18, 2022
6eb4633
DOC Fix typo in plot_set_output.py example (#24704)
AlessandroMiola Oct 19, 2022
d7af20c
MAINT Fix build when SKLEARN_OPENMP_PARALLELISM_ENABLED=False (#24682)
lesteve Oct 19, 2022
3e6a39a
MAINT renable Linux + Python 3.8 build with OpenBLAS (#24705)
glemaitre Oct 19, 2022
38c34af
CI Add wheel builds for Python 3.11 (#24446)
cmarmo Oct 20, 2022
7c2a58d
CI Remove remaining windows 32 references (#24657)
thomasjpfan Oct 20, 2022
b849ce8
DOC fix typo inside Pipeline docstring (#24730)
zaznaczony Oct 23, 2022
6cd44db
DOC fix title underline too short in Gaussian Process kernel (#24726)
cmarmo Oct 23, 2022
8654471
DOC correct bound of sum LinearSVR in formula in svm.rst (#24722)
ftorres16 Oct 23, 2022
0a48116
DOC fix sphinx directive in function (#24733)
glemaitre Oct 23, 2022
8c384da
DOC fix deprecation warning raised by KMeans and Matplotlib (#24692)
glemaitre Oct 24, 2022
551ced2
Add sphinx_highlight.js to the search page (needed since sphinx 5.2.0…
cmarmo Oct 24, 2022
303d712
DOC fix a missing final fullstop in docstring (#24739)
glemaitre Oct 24, 2022
2335a8e
DOC Improve narrative of plot_roc_crossval example (#24710)
ArturoAmorQ Oct 24, 2022
ff9344f
FEA add (single) Cholesky Newton solver to GLMs (#24637)
lorentzenchr Oct 24, 2022
a71c535
MAINT force NumPy version for building scikit-learn for CPython 3.10 …
glemaitre Oct 25, 2022
ff33ffb
API add named_transformers attribute to FeatureUnion (#20331)
crflynn Oct 25, 2022
55b55af
DOC fix deprecated log loss argument in user guide (#24753)
lorentzenchr Oct 25, 2022
0e4e418
FIX check_estimator fails when validating SGDClassifier with log_loss…
MaxwellLZH Oct 25, 2022
27d3899
DOC Add links to DBSCAN references. (#24758)
cmarmo Oct 25, 2022
7dc7f8a
FIX Fixes common test for requires_positive_X (#24667)
thomasjpfan Oct 26, 2022
64876ca
DOC add entries for the 1.1.3 release (#24744)
glemaitre Oct 26, 2022
2343f52
DOC add more info about the drop of support for 32-bit Python on Wind…
glemaitre Oct 26, 2022
b7f3fd6
DOC convert confusion matrix to y_true/y_pred for classification_repo… 8000
joaocmd Oct 26, 2022
86c7599
DOC update index showing new release
glemaitre Oct 26, 2022
1b36cbb
DOC Use show_config instead of numpy.distutils's get_info (#24762)
thomasjpfan Oct 27, 2022
53234c5
ENH Add dtype preservation for Isomap (#24714)
rprkh Oct 27, 2022
9c4f023
FIX Improves nan support in LabelEncoder (#22629)
thomasjpfan Oct 28, 2022
f8fde49
DOC changed marker colors for calibration comparison (#24766)
star1327p Oct 28, 2022
0b978cb
DOC Fix inline interpreted text start-string without end-string. (#24…
cmarmo Oct 28, 2022
61ae92a
ENH Add gamma='scale' option to RBFSampler (#24755)
glevv Oct 28, 2022
236ea79
TST Fix uniform rng in kmeans test_scaled_weights (#24778)
fcharras Oct 28, 2022
288399c
DOC FIX Consistent formulae for metrics in the user guide (#24673)
awinml Oct 28, 2022
048b423
Improve error message in _search_successive_halving.py (#24781)
ggrrll Oct 28, 2022
335586a
FIX bagging with SGD and early stopping throws ZeroDivisionError (#23…
MaxwellLZH Oct 28, 2022
083ab6f
ENH Allow path-like objects in load_svmlight_file. (#19075)
vnmabus Oct 28, 2022
e49293e
DOC Update SECURITY.md for 1.1.3 (#24783)
adrinjalali Oct 31, 2022
af930a9
DOC fix polynomial kernel formula (#24796)
nima10khodaveisi Oct 31, 2022
9c57e77
DOC fix typos in set_output docstrings (#24804)
AlessandroMiola Nov 1, 2022
65805a4
Ensure invariance of KMeans tests to randomness and tie-breaking of n…
fcharras Nov 1, 2022
80d21c3
DOC Add `plotly` dependancy for documentation in the docs(#24805)
Micky774 Nov 1, 2022
5f1cc20
DOC changed xticks, line type, and legend location in OOB GBDT exampl…
star1327p Nov 2, 2022
86b8e5b
BLD Remove vcruntime DLL for Python >= 3.8 (#24799)
thomasjpfan Nov 2, 2022
567a417
DOC Use matplotlib's kwarg in plot_lda_qda (#24809)
advafaeian Nov 2, 2022
b4ffba9
DOC fix broken citeseer links (#24800)
wenh06 Nov 2, 2022
f905c21
fix typo in sparse output warning (#24817)
amueller Nov 3, 2022
197b5bf
DOC remove MatplotlibDeprecationWarnings for plot_pca_iris example (#…
atsetoglou Nov 3, 2022
b9b167c
DOC remove MatplotlibDeprecationWarnings for plot_pca_3d example (#24…
atsetoglou Nov 3, 2022
259cf68
DOC remove MatplotlibDeprecationWarnings for plot_iris_dataset exampl…
atsetoglou Nov 3, 2022
b1807ff
ENH StackingClassifier allows regressors in its first layer (#24538)
GuillemGSubies Nov 3, 2022
486bc66
DOC added description for RANSAC algorithm (#24402)
star1327p Nov 3, 2022
bb080aa
ENH add newton-cholesky solver to LogisticRegression (#24767)
lorentzenchr Nov 3, 2022
f647868
TST use global_dtype in sklearn/cluster/tests/test_affinity_propagati…
jjerphan Nov 3, 2022
ff50f50
DOC remove MatplotlibDeprecationWarnings for `plot_concentration_prio…
awinml Nov 3, 2022
5b745d7
DOC remove MatplotlibDeprecationWarnings for `plot_gmm_covariances.py…
awinml Nov 3, 2022
d84659f
DOC remove MatplotlibDeprecationWarnings for `plot_gmm.py` example (#…
awinml Nov 3, 2022
0248dab
DOC remove MatplotlibDeprecationWarnings for `plot_gmm_sin.py` exampl…
awinml Nov 3, 2022
ed98b7c
DOC remove MatplotlibDeprecationWarnings for `pyplot_ols_3d.py` examp…
awinml Nov 3, 2022
3c8e0a2
FIX Add NaN handling to selection of best parameters for `HalvingGrid…
betatim Nov 3, 2022
0fafb8e
DOC Add Bernoulli, Categorical Distribution to Generalized Linear Mod…
awinml Nov 3, 2022
ec2993b
DOC update user guide for solvers of LogisticRegression (#24825)
lorentzenchr Nov 3, 2022
c80d0a9
DOC Rework Detection Error Tradeoff example (#24818)
ArturoAmorQ Nov 3, 2022
266d2a2
BLD Migrate away from distutils and only use setuptools (#24563)
thomasjpfan Nov 3, 2022
239e163
MAINT Introduce `MiddleTermComputer`, an abstraction generalizing `GE…
Vincent-Maladiere Nov 3, 2022
63f92d4
MAINT bump up CI dependencies (#24803)
ogrisel Nov 4, 2022
17f634d
MAINT double brackets added by docutils >= 0.18 (#24827)
glemaitre Nov 4, 2022
fa4376a
DOC Rework Gaussian Mixture example (#24721)
ArturoAmorQ Nov 4, 2022
49c3c17
DOC remove MatplotlibDeprecationWarnings for plot_omp.py example (#24…
mdhornstein Nov 4, 2022
733628f
DOC Fixes link to sigmoid in calibration example (#24835)
thomasjpfan Nov 4, 2022
89bc675
DOC Moved legend of plot_adjusted_for_chance_measures (#24785)
star1327p Nov 4, 2022
ca0862a
DOC remove MatplotlibDeprecationWarnings for plot_lasso_and_elasticne…
juanfe88 Nov 4, 2022
7651199
BLD centralize the pytest-xdist pinning and update deps (#24836)
ogrisel Nov 4, 2022
aee7f59
DOC changed n_iter to max_iter to resolve a deprecation warning (#24837)
star1327p Nov 5, 2022
353b05b
DOC moved legend to upper center (#24847)
star1327p Nov 7, 2022
2e481f1
DOC fix class reference in changelog 1.1 (#24850)
GaelVaroquaux Nov 7, 2022
3e47fa9
DOC Improve interaction constraint doc for HistGradientBoosting* (#24…
betatim Nov 8, 2022
f8986ee
FIX adapt epsilon value depending of the dtype of the input (#24354)
Safikh Nov 10, 2022
a923f9e
FIX Calls super().init_subclass in _SetOutputMixin (#24863)
thomasjpfan Nov 10, 2022
539cd6c
DOC Improve narrative of DBSCAN example narrative (#24874)
ArturoAmorQ Nov 10, 2022
13b5b61
ENH Allow 0 < p < 1 for Minkowski distance for `algorithm="brute"` in…
RudreshVeerkhare Nov 10, 2022
64432e1
DOC Fix FutureWarning in 'examples/bicluster/plot_bicluster_newsgroup…
kianelbo Nov 10, 2022
e947074
FIX Make sure that set_output is keyword only everywhere (#24890)
thomasjpfan Nov 11, 2022
c98b910
DOC Fix FutureWarning in 'applications/plot_cyclical_feature_engineer…
Ti-Ion Nov 12, 2022
2718d9b
DOC remove FutureWarning in cluster/plot_bisect_kmeans.py (#24891)
aditya-anulekh Nov 12, 2022
4c96d7c
DOC remove FutureWarning in plot_colour_quantization example (#24893)
GeorgiaMayDay Nov 12, 2022
cf04165
DOC Fix FutureWarning in ensemble/plot_gradient_boosting_categorical …
DhanshreeA Nov 12, 2022
7ec1bfc
CI Update to python 3.11 docker windows image (#24900)
cmarmo Nov 12, 2022
84a7a7a
ENH Specify categorical features with feature names in HGBDT (#24889)
ogrisel Nov 13, 2022
980ded1
DOC add additional pointers in Forest regarding how to use `warm_star…
Nov 13, 2022
49aae1c
DOC improve `GammaRegressor` docstring (#24789)
Badr-MOUFAD Nov 13, 2022
70442b9
DOC Fix FutureWarning in decomposition/plot_ica_blind_source_separati…
MaximSmolskiy Nov 13, 2022
1bf4ebd
DOC Fix FutureWarning in plot_linear_model_coefficient_interpretation…
SarahRemus Nov 14, 2022
bf573bd
DOC Fix FutureWarning in manifold/plot_compare_methods.py (#24909)
MaximSmolskiy Nov 14, 2022
dbde1da
DOC Fix FutureWarning in cluster/plot_dict_face_patches.html (#24910)
Ti-Ion Nov 14, 2022
c4d3a69
DOC fix spelling in `DecisionBoundaryDisplay` docstring (#24921)
glemaitre Nov 15, 2022
bfcb5a4
DOC Fix -- make OPTICS plots consistent (#24926)
espg Nov 15, 2022
81b7fd4
MAINT Remove -Wcpp warnings when compiling sklearn.linear_model._sgd_…
OmarManzoor Nov 15, 2022
7b806e1
DOC remove FutureWarning in plot_cluster_comparison (#24927)
SarahRemus Nov 15, 2022
87460e9
DOC remove FutureWarning in plot_kmeans_silhouette_analysis (#24929)
SarahRemus Nov 15, 2022
74ddf01
ENH Add support for feature names in monotonic_cst (#24855)
ogrisel Nov 15, 2022
5f22e1d
DOC Fix FutureWarning in cluster/plot_kmeans_assumptions.html (#24928)
SarahRemus Nov 15, 2022
d77bdb3
MAINT blackify plot_kmeans_assumptions (#24938)
glemaitre Nov 15, 2022
edb2c86
DOC Fix FutureWarning in manifold/plot_lle_digits.html (#24922)
MaximSmolskiy Nov 15, 2022
498abaa
DOC remove FutureWarnings from plot_stack_predictors (#24918)
edenies Nov 15, 2022
3d16a21 8000
DOC Fix FutureWarning in decomposition/plot_faces_decomposition.html …
jpangas Nov 15, 2022
64ee92f
MAINT blackify plot_stack_predictors example (#24944)
glemaitre Nov 15, 2022
790c7df
DOC remove FutureWarnings for plot_release_highlights_0_23_0.py (#24937)
edenies Nov 15, 2022
a6f7806
DOCremove FutureWarning in manifold/plot_mds.html (#24940)
MaximSmolskiy Nov 15, 2022
768c01d
DOC remove FutureWarnings from release 1.1.0 (#24939)
edenies Nov 15, 2022
9c3c2c5
DOC Rework IsolationForest example (#24917)
ArturoAmorQ Nov 15, 2022
c4d221d
DOC Fix FutureWarning in ensemble/plot_gradient_boosting_regression.h…
MaximSmolskiy Nov 15, 2022
4795098
MAINT run common tests on IterativeImputer (#24930)
glemaitre Nov 16, 2022
2c1581c
DOC Fix FutureWarning in ensemble/plot_gradient_boosting_oob.py (#24948)
MaximSmolskiy Nov 16, 2022
b2edcdc
FIX accept param='all' in GenericUnivariateSelect (#24950)
glemaitre Nov 16, 2022
3714c90
FIX crop properly the image in fetch_lfw_people (#24951)
glemaitre Nov 16, 2022
8e2b855
DOC Adds release highlights for 1.2 (#24798)
thomasjpfan Nov 16, 2022
e617009
DOC Rework Recursive Feature Elimination example (#24853)
ArturoAmorQ Nov 16, 2022
e70fb3f
DOC Fix plot face compressed example regarding memory usage (#24956)
jeremiedbb Nov 16, 2022
40748d1
DOC fix link to images in KMeans tutorial (#24793)
glemaitre Nov 16, 2022
86301ac
FIX always scale continuous features to unit variance in mutual info …
glemaitre Nov 16, 2022
d8fa96c
ENH keep features with all missing values during imputation (#24770)
glemaitre Nov 17, 2022
5d45763
ANN add Tim Head in contributor experience team (#24966)
glemaitre Nov 17, 2022
6d1d44a
DOC Fix image reference in DBSCAN example (#24957)
ArturoAmorQ Nov 17, 2022
b9137b4
MAINT Remove -Wsign-compare when compiling sklearn.linear_model._cd_f…
OmarManzoor Nov 17, 2022
68a7427
MAINT remove overflow for RAND_R_MAX (#24955)
glemaitre Nov 17, 2022
43550f0
DOC Fix FutureWarning in plot_successive_halving_heatmap.html (#24968)
ArturoAmorQ Nov 17, 2022
d47b1c8
DOC remove FutureWarnings in plot_manifold_sphere example (#24941)
Reddragonemperor58 Nov 17, 2022
7dcb5ef
ENH Improve set_output compatibility in ColumnTransformer (#24699)
thomasjpfan Nov 17, 2022
852f74d
DOC Add notes in OrdinalEncoder regardin Python version (#24959)
glemaitre Nov 17, 2022
85574f9
DOC use log_loss instead of defining deviance (#24962)
glemaitre Nov 17, 2022
c6a2612
FIX acc_find_split_time and acc_compute_hist_time of root nodes in Hi…
lorentzenchr Nov 18, 2022
5e02715
MAINT Parameters validation for svm.l1_min_c (#24865)
glevv Nov 18, 2022
f702e97
MAINT: Replace np.find_common_type with np.result_type. (#24858)
rossbar Nov 18, 2022
e179277
MAINT Miscellaneous maintenance items the private `PairwiseDistancesR…
jjerphan Nov 18, 2022
363ce86
FIX Add "sqeuclidean" to valid metrics for `PairwiseDistancesReductio…
jjerphan Nov 18, 2022
9953bc6
MAINT make `affinity_propagation` calling `AffinityPropagation` (#24884)
glemaitre Nov 18, 2022
964189d
TST use global_dtype in sklearn/cluster/tests/test_birch.py (#22671)
jjerphan Nov 18, 2022
def87ec
DOC add whatsnew entry for fix of verbose timing in HGBT (#24977)
lorentzenchr Nov 18, 2022
aec3735
TST add balance property check for linear models (#22892)
lorentzenchr Nov 18, 2022
9c4c130
DOC FIX MatplotlibDeprecationWarnings for plot_sgd_early_stopping.py …
juanfe88 Nov 18, 2022
9c9c858
EHN Optimized CSR-CSR support for `Euclidean` specializations of `Pai…
Vincent-Maladiere Nov 18, 2022
b728b2e
DOC specify type of penalty in ``PoissonRegressor`` and ``TweedieRegr…
Badr-MOUFAD Nov 20, 2022
e2e7d75
MAINT Extend dtype preserved common test to check transform (#24982)
jeremiedbb Nov 21, 2022
75db1bc
DOC Fix FutureWarning in ensemble/plot_gradient_boosting_regularizati…
Reddragonemperor58 Nov 21, 2022
2da7428
ENH compute histograms only for allowed features in HGBT (#24856)
8000 lorentzenchr Nov 22, 2022
98024ce
MAINT Remove -Wmaybe-uninitialized warnings when compiling _fast_dict…
jjerphan Nov 22, 2022
ad14f91
MAINT `PairwiseDistancesReduction`: Do not slice memoryviews in `_com…
jjerphan Nov 22, 2022
73642d4
API Limit interaction_cst to list/tuple of lists/tuples/sets in HistG…
betatim Nov 22, 2022
1822c44
DOC Modified docstrings to mention "greedy k-means++" (#25001)
gittar Nov 22, 2022
aca0326
MNT Check the conda-lock version in lockfile update script (#25003)
thomasjpfan Nov 22, 2022
9268eea
MAINT Handle `Tree.sample_weight` using a memoryview (#24994)
adam2392 Nov 22, 2022
29242d1
MAINT Remove -Wcpp warnings when compiling sklearn.cluster._dbscan_in…
OmarManzoor Nov 22, 2022
a7698a8
MAINT Parameters validation for sklearn.metrics.accuracy_score (#24991)
tspeng Nov 22, 2022
bec66c4
[MAINT] Bump up CI deps (2022-11-22) (#25002)
ogrisel Nov 23, 2022
87372f0
MAINT Update conda-lock version and regenerate lock files (#25009)
lesteve Nov 23, 2022
98e6919
DOC Indicate uninstalling scikit-learn before installing nightly buil…
jjerphan Nov 23, 2022
3eb00d8
ENH Add dtype preservation to `LocalOutlierFactor` (#22665)
jjerphan Nov 23, 2022
845b19f
CI Correctly define configuration for flake8 (#25017)
thomasjpfan Nov 24, 2022
f99b8b1
DOC Update the composition of the Technical Committee. (#25014)
cmarmo Nov 24, 2022
af16e59
MAINT test globally setting output via context manager (#24932)
glemaitre Nov 24, 2022
758fe0d
FEA add LearningCurveDisplay to show plot learning curve (#24084)
glemaitre Nov 24, 2022
439bda4
DOC announce change of default for batch_size in online dict learning…
glemaitre Nov 24, 2022
f9b16f2
MAINT Remove -Wcpp warnings when compiling `sklearn.utils.murmurhash`…
Vincent-Maladiere Nov 24, 2022
d5e1f9c
MAINT Clean whats new for 1.2 (#25011)
jeremiedbb Nov 24, 2022
433600e
DOC Adds faster parser for fetch_openml to highlights (#25023)
thomasjpfan Nov 24, 2022
40c0f7d
TST Work-around for Ubuntu atlas float32 failure (#24198)
lesteve Nov 25, 2022
f776ef3
DOC: update Google Open Source link (#25036)
jasonjg Nov 25, 2022
5a6c16a
DOC Add efficiency improvements in release highlights 1.2 (#25013)
jeremiedbb Nov 25, 2022
6f6871e
MAINT test against intp instead of int0 (#25037)
ogrisel Nov 25, 2022
5599dcd
Fixes broken link for minka- logreg (#25039)
shrankhla20 Nov 25, 2022
f493dd3
DOC fix link to devguide triaging guide (#25035)
jasonjg Nov 25, 2022
40d7d88
FEA add PredictionErrorDisplay (#18020)
glemaitre Nov 25, 2022
1912ae5
DOC add displays in highlights (#25042)
glemaitre Nov 25, 2022
f196344
ENH Improves error message for mixed types for feature names (#25018)
thomasjpfan Nov 25, 2022
2459331
Fixes broken link for yu-shi MSC (#25040)
shrankhla20 Nov 25, 2022
f76ea1b
DOC Add more details regarding the improved efficiency in 1.1 and 1.2…
jjerphan Nov 25, 2022
df14322
ENH Add interaction constraint shortcuts to HistGradientBoosting* (#2…
betatim Nov 25, 2022
7d1c318
DOC Update "Parallelism, resource management, and configuration" sect…
jjerphan Nov 25, 2022
c1cfc4d
ENH Extend PDP for nominal categorical features (#18298)
madhuracj Nov 25, 2022
5014d02
DOC correct link for image in the PDP documentation (#25054)
madhuracj Nov 28, 2022
02d45e5
DOC Update docs for making a release (#25047)
jeremiedbb Nov 28, 2022
f9453d5
MAINT Remove -Wcpp warnings when compiling sklearn.cluster._hierarchi…
OmarManzoor Nov 28, 2022
fa31fff
DOC Replace broken link for pymc (#25027)
Da-Lan Nov 28, 2022
18741d0
MAINT Bump version number to 1.3 (#25046)
jeremiedbb Nov 28, 2022
8fc372f
DOC use https links when possible (#25049)
lesteve Nov 28, 2022
981fb3b
DOC make interaction constraints a MajorFeature in whatsnew (#25055)
lorentzenchr Nov 28, 2022
b2ee095
MAINT Update what's new 1.2 (#25057)
jeremiedbb Nov 28, 2022
9af646d
DOC fixed broken link for yu-shi MSC reference in docstring (#25051)
ka00ri Nov 28, 2022
507ecad
DOC convert to notebook style SVM C scaling example (#21776)
glemaitre Nov 29, 2022
b9cc155
DOC Add objective function in `Lasso` docstrings for target matrix (#…
PABannier Nov 29, 2022
2ee1c0d
MAINT Parameters validation for sklearn.metrics.zero_one_loss (#25025)
vinayak-mehta Nov 29, 2022
35b826a
TST use global_dtype in sklearn/manifold/tests/test_isomap.py (#22673)
jjerphan Nov 29, 2022
86080bb
ENH cartesian accepts mixed dtypes arrays (#25067)
glemaitre Nov 29, 2022
808c32d
MAINT Remove -Wcpp warnings when compiling sklearn.linear_model._sag_…
OmarManzoor Nov 29, 2022
f7239bf
BLD Reduce binary size of wheels (#25063)
thomasjpfan Nov 30, 2022
3190963
MAINT Parameters validation for `sklearn.metrics.mean_absolute_error`…
mknz Nov 30, 2022
7e0ed1e
MAINT Parameters validation for sklearn.metrics.auc (#25008)
tspeng Nov 30, 2022
2d475c0
MAINT Parameters validation for cluster.estimate_bandwidth (#24869)
OmarManzoor Nov 30, 2022
8d9d679
MAINT Parameters validation for `sklearn.feature_extraction.grid_to_g…
emirkmo Nov 30, 2022
167b298
MAINT Parameters validation for `sklearn.feature_extraction.image.img…
emirkmo Nov 30, 2022
f2f3b3c
MAINT Remove `-Wcpp` warnings when compiling `sklearn.manifold._utils…
rprkh Nov 30, 2022
4501959
DOC adding PDP for categorical features in highlights (#25065)
glemaitre Nov 30, 2022
05eed66
DOC: add link to linkcheck_ignore (#25082)
gu1show Dec 1, 2022
ba5f9e0
DOC Clarify fill_value behavior in SimpleImputer (#25081)
thomasjpfan Dec 1, 2022
599e03c
MAINT Handle `Criterion.samples` using a memoryview (#25005)
adam2392 Dec 1, 2022
2b34dfd
DOC Improve docs of BaseLabelPropagation.transduction_ (#24985)
scottgigante-immunai Dec 1, 2022
04f3298
DOC fix typo in cross_validate docstring (#25090)
lesteve Dec 1, 2022
7af5297
CI Fixes CI for windows (#25091)
thomasjpfan Dec 2, 2022
c047241
FIX Array validation for DecisionBoundaryDisplay (#25077)
ArturoAmorQ Dec 2, 2022
54d91d3
FIX Fixes check_array for pd.NA in a series (#25080)
thomasjpfan Dec 2, 2022
5e25f8e
MAINT Make param validation more lenient towards downstream dependenc…
jeremiedbb Dec 2, 2022
c557080
ENH better error message in HGBRT with feature names (#25092)
ogrisel Dec 2, 2022
caefdd4
MAINT adjust tolerance in test_balance_property (#25098)
ogrisel Dec 2, 2022
4dde64d
MAINT Remove warnings in vendored `lib{linear,svm}` C++ code (#24998)
jjerphan Dec 2, 2022
07958e6
DOC fix missing return line in docstring (#25099)
glemaitre Dec 2, 2022
d52e946
MNT Require matplotlib in test_input_data_dimension test (#25104)
thomasjpfan Dec 3, 2022
cbfb6ab
DOC Rework k-means assumptions example (#24970)
ArturoAmorQ Dec 5, 2022
b01f018
FIX ignore *args and **kwargs in parameter validation of public funct…
glemaitre Dec 5, 2022
1f9dc71
FIX always expose best_loss_, validation_scores_, and best_validation…
glemaitre Dec 6, 2022
f7e6977
FEA Adds FeatureUnion.__getitem__ to access transformers (#25093)
thomasjpfan Dec 6, 2022
14130f4
MAINT Allow partial param validation for functions (#25087)
jeremiedbb Dec 6, 2022
981e728
update release checklist regarding SECURITY.md (#25122)
jeremiedbb Dec 6, 2022
9a98487
DOC add more details for `n_jobs` in MeanShift docstring (#25083)
ramvikrams Dec 6, 2022
8fca502
Merge branch 'main' into sync_hdbscan
Micky774 Dec 6, 2022
782834d
Removed unnecessary setup.py
Micky774 Dec 7, 2022
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
  •  
  •  
  •  
40 changes: 16 additions & 24 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,73 +57,65 @@ jobs:
# https://github.com/scikit-learn/scikit-learn/issues/22530
- os: windows-2019
python: 38
bitness: 64
platform_id: win_amd64
- os: windows-latest
python: 39
bitness: 64
platform_id: win_amd64
- os: windows-latest
python: 310
bitness: 64
platform_id: win_amd64

# Window 32 bit
- os: windows-latest
python: 38
bitness: 32
platform_id: win32
- os: windows-latest
python: 39
bitness: 32
platform_id: win32
python: 311
platform_id: win_amd64

# Linux 64 bit manylinux2014
- os: ubuntu-latest
python: 38
bitness: 64
platform_id: manylinux_x86_64
manylinux_image: manylinux2014
- os: ubuntu-latest
python: 39
bitness: 64
platform_id: manylinux_x86_64
manylinux_image: manylinux2014

# NumPy on Python 3.10 only supports 64bit and is only available with manylinux2014
- os: ubuntu-latest
python: 310
bitness: 64
platform_id: manylinux_x86_64
manylinux_image: manylinux2014

- os: ubuntu-latest
python: 311
platform_id: manylinux_x86_64
manylinux_image: manylinux2014

# MacOS x86_64
- os: macos-latest
bitness: 64
python: 38
platform_id: macosx_x86_64
- os: macos-latest
bitness: 64
python: 39
platform_id: macosx_x86_64
- os: macos-latest
bitness: 64
python: 310
platform_id: macosx_x86_64
- os: macos-latest
python: 311
platform_id: macosx_x86_64

# MacOS arm64
- os: macos-latest
bitness: 64
python: 38
platform_id: macosx_arm64
- os: macos-latest
bitness: 64
python: 39
platform_id: macosx_arm64
- os: macos-latest
bitness: 64
python: 310
platform_id: macosx_arm64
- os: macos-latest
python: 311
platform_id: macosx_arm64

steps:
- name: Checkout scikit-learn
Expand All @@ -147,11 +139,11 @@ jobs:
CIBW_MANYLINUX_X86_64_IMAGE: ${{ matrix.manylinux_image }}
CIBW_MANYLINUX_I686_IMAGE: ${{ matrix.manylinux_image }}
CIBW_TEST_SKIP: "*-macosx_arm64"
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_REPAIR_WHEEL_COMMAND_WINDOWS: bash build_tools/github/repair_windows_wheels.sh {wheel} {dest_dir}
CIBW_BEFORE_TEST_WINDOWS: bash build_tools/github/build_minimal_windows_image.sh ${{ matrix.python }}
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_TEST_COMMAND_WINDOWS: bash {project}/build_tools/github/test_windows_wheels.sh ${{ matrix.python }}
CIBW_BUILD_VERBOSITY: 1

run: bash build_tools/github/build_wheels.sh
Expand Down
8 changes: 4 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ sklearn/metrics/_pairwise_distances_reduction/_base.pxd
sklearn/metrics/_pairwise_distances_reduction/_base.pyx
sklearn/metrics/_pairwise_distances_reduction/_datasets_pair.pxd
sklearn/metrics/_pairwise_distances_reduction/_datasets_pair.pyx
sklearn/metrics/_pairwise_distances_reduction/_gemm_term_computer.pxd
sklearn/metrics/_pairwise_distances_reduction/_gemm_term_computer.pyx
sklearn/metrics/_pairwise_distances_reduction/_radius_neighborhood.pxd
sklearn/metrics/_pairwise_distances_reduction/_radius_neighborhood.pyx
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
10 changes: 10 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,16 @@ jobs:
- CIBW_BUILD=cp310-manylinux_aarch64
- BUILD_WHEEL=true

- os: linux
arch: arm64-graviton2
dist: focal
virt: vm
group: edge
if: type = cron or commit_message =~ /\[cd build\]/
env:
- CIBW_BUILD=cp311-manylinux_aarch64
- BUILD_WHEEL=true

install: source build_tools/travis/install.sh || travis_terminate 1
script: source build_tools/travis/script.sh || travis_terminate 1
after_success: source build_tools/travis/after_success.sh || travis_terminate 1
Expand Down
2 changes: 1 addition & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
include *.rst
recursive-include doc *
recursive-include examples *
recursive-include sklearn *.c *.h *.pyx *.pxd *.pxi *.tp
recursive-include sklearn *.c *.cpp *.h *.pyx *.pxd *.pxi *.tp
recursive-include sklearn/datasets *.csv *.csv.gz *.rst *.jpg *.txt *.arff.gz *.json.gz
include COPYING
include README.rst
Expand Down
6 changes: 3 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,12 @@
.. |SciPyMinVersion| replace:: 1.3.2
.. |JoblibMinVersion| replace:: 1.1.1
.. |ThreadpoolctlMinVersion| replace:: 2.0.0
.. |MatplotlibMinVersion| replace:: 3.1.2
.. |MatplotlibMinVersion| replace:: 3.1.3
.. |Scikit-ImageMinVersion| replace:: 0.16.2
.. |PandasMinVersion| replace:: 1.0.5
.. |SeabornMinVersion| replace:: 0.9.0
.. |PytestMinVersion| replace:: 5.0.1
.. |PlotlyMinVersion| replace:: 5.9.0
.. |PytestMinVersion| replace:: 5.3.1
.. |PlotlyMinVersion| replace:: 5.10.0

.. image:: https://raw.githubusercontent.com/scikit-learn/scikit-learn/main/doc/logos/scikit-learn-logo.png
:target: https://scikit-learn.org/
Expand Down
4 changes: 2 additions & 2 deletions SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

| Version | Supported |
| --------- | ------------------ |
| 1.1.2 | :white_check_mark: |
| < 1.1.2 | :x: |
| 1.1.3 | :white_check_mark: |
| < 1.1.3 | :x: |

## Reporting a Vulnerability

Expand Down
28 changes: 0 additions & 28 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,27 +106,6 @@ jobs:
LOCK_FILE: './build_tools/azure/python_nogil_lock.txt'
COVERAGE: 'false'

# Check compilation with intel C++ compiler (ICC)
- template: build_tools/azure/posix.yml
parameters:
name: Linux_Nightly_ICC
vmImage: ubuntu-20.04
dependsOn: [git_commit, linting]
condition: |
and(
succeeded(),
not(contains(dependencies['git_commit']['outputs']['commit.message'], '[ci skip]')),
or(eq(variables['Build.Reason'], 'Schedule'),
contains(dependencies['git_commit']['outputs']['commit.message'], '[icc-build]')
)
)
matrix:
pylatest_conda_forge_mkl:
DISTRIB: 'conda'
LOCK_FILE: 'build_tools/azure/pylatest_conda_forge_mkl_no_coverage_linux-64_conda.lock'
COVERAGE: 'false'
BUILD_WITH_ICC: 'true'

- template: build_tools/azure/posix-docker.yml
parameters:
name: Linux_Nightly_PyPy
Expand Down 1CF5 Expand Up @@ -182,7 +161,6 @@ jobs:
DISTRIB: 'conda'
LOCK_FILE: './build_tools/azure/py38_conda_forge_openblas_ubuntu_2204_linux-64_conda.lock'
COVERAGE: 'false'
BUILD_WITH_ICC: 'false'
SKLEARN_TESTS_GLOBAL_RANDOM_SEED: '0' # non-default seed

- template: build_tools/azure/posix.yml
Expand Down Expand Up @@ -280,9 +258,3 @@ jobs:
COVERAGE: 'true'
SKLEARN_ENABLE_DEBUG_CYTHON_DIRECTIVES: '1'
SKLEARN_TESTS_GLOBAL_RANDOM_SEED: '7' # non-default seed
py38_pip_openblas_32bit:
DISTRIB: 'pip-windows'
PYTHON_VERSION: '3.8'
PYTHON_ARCH: '32'
LOCK_FILE: ./build_tools/azure/py38_pip_openblas_32bit_lock.txt
SKLEARN_TESTS_GLOBAL_RANDOM_SEED: '8' # non-default seed
7 changes: 7 additions & 0 deletions benchmarks/bench_hist_gradient_boosting_higgsboson.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
parser.add_argument("--max-bins", type=int, default=255)
parser.add_argument("--no-predict", action="store_true", default=False)
parser.add_argument("--cache-loc", type=str, default="/tmp")
parser.add_argument("--no-interactions", type=bool, default=False)
args = parser.parse_args()

HERE = os.path.dirname(__file__)
Expand Down Expand Up @@ -88,6 +89,11 @@ def predict(est, data_test, target_test):
n_samples, n_features = data_train.shape
print(f"Training set with {n_samples} records with {n_features} features.")

if args.no_interactions:
interaction_cst = [[i] for i in range(n_features)]
else:
interaction_cst = None

est = HistGradientBoostingClassifier(
loss="log_loss",
learning_rate=lr,
Expand All @@ -97,6 +103,7 @@ def predict(est, data_test, target_test):
early_stopping=False,
random_state=0,
verbose=1,
interaction_cst=interaction_cst,
)
fit(est, data_train, target_train, "sklearn")
predict(est, data_test, target_test)
Expand Down
4 changes: 1 addition & 3 deletions benchmarks/bench_lasso.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,7 @@ def compute_bench(alpha, n_samples, n_features, 10000 precompute):

gc.collect()
print("- benchmarking LassoLars")
clf = LassoLars(
alpha=alpha, fit_intercept=False, normalize=False, precompute=precompute
)
clf = LassoLars(alpha=alpha, fit_intercept=False, precompute=precompute)
tstart = time()
clf.fit(X, Y)
lars_lasso_results.append(time() - tstart)
Expand Down
10 changes: 2 additions & 8 deletions build_tools/azure/debian_atlas_32bit_lock.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,13 @@
#
# pip-compile --output-file=build_tools/azure/debian_atlas_32bit_lock.txt build_tools/azure/debian_atlas_32bit_requirements.txt
#
atomicwrites==1.4.1
# via pytest
attrs==22.1.0
# via pytest
cython==0.29.32
# via -r build_tools/azure/debian_atlas_32bit_requirements.txt
importlib-metadata==5.0.0
# via pytest
joblib==1.1.1
# via -r build_tools/azure/debian_atlas_32bit_requirements.txt
more-itertools==8.14.0
more-itertools==9.0.0
# via pytest
packaging==21.3
# via pytest
Expand All @@ -24,11 +20,9 @@ py==1.11.0
# via pytest
pyparsing==3.0.9
# via packaging
pytest==5.0.1
pytest==5.3.1
# via -r build_tools/azure/debian_atlas_32bit_requirements.txt
threadpoolctl==2.2.0
# via -r build_tools/azure/debian_atlas_32bit_requirements.txt
wcwidth==0.2.5
# via pytest
zipp==3.9.0
# via importlib-metadata
2 changes: 1 addition & 1 deletion build_tools/azure/debian_atlas_32bit_requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
cython
joblib==1.1.1 # min
threadpoolctl==2.2.0
pytest==5.0.1 # min
pytest==5.3.1 # min
16 changes: 0 additions & 16 deletions build_tools/azure/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,15 +59,6 @@ pre_python_environment_install() {
export PYTHON_NOGIL_PATH="${PYTHON_NOGIL_CLONE_PATH}/python"
cd $OLDPWD

elif [[ "$BUILD_WITH_ICC" == "true" ]]; then
wget https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB
sudo apt-key add GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB
rm GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB
sudo add-apt-repository "deb https://apt.repos.intel.com/oneapi all main"
sudo apt-get update
sudo apt-get install intel-oneapi-compiler-dpcpp-cpp-and-cpp-classic
source /opt/intel/oneapi/setvars.sh

fi
}

Expand Down Expand Up @@ -122,13 +113,6 @@ scikit_learn_install() {
export LDFLAGS="$LDFLAGS -Wl,--sysroot=/"
fi

if [[ "$BUILD_WITH_ICC" == "true" ]]; then
# The "build_clib" command is implicitly used to build "libsvm-skl".
# To compile with a different compiler, we also need to specify the
# compiler for this command
python setup.py build_ext --compiler=intelem -i build_clib --compiler=intelem
fi

# TODO use a specific variable for this rather than using a particular build ...
if [[ "$DISTRIB" == "conda-pip-latest" ]]; then
# Check that pip can automatically build scikit-learn with the build
Expand Down
4 changes: 1 addition & 3 deletions build_tools/azure/install_win.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@ set -x
source build_tools/shared.sh

if [[ "$DISTRIB" == "conda" ]]; then
conda update -n base conda -y
conda install pip -y
pip install "$(get_dep conda-lock min)"
conda install -c conda-forge "$(get_dep conda-lock min)" -y
conda-lock install --name $VIRTUALENV $LOCK_FILE
source activate $VIRTUALENV
else
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ dependencies:
- cython
- joblib
- threadpoolctl=2.2.0
- matplotlib=3.1.2 # min
- matplotlib=3.1.3 # min
- pandas
- pyamg
- pytest
- pytest-xdist
- pytest-xdist=2.5.0
- pillow
- codecov
- pytest-cov
Expand Down
Loading
0