Commit Graph

17359 Commits

Author SHA1 Message Date
Franck Charras 77aeb825b6
FIX Apply dtype param in `check_array_api_compute_metric` unit test (#27940) 2023-12-18 16:43:08 +01:00
Yao Xiao 4d353c6117
CLN avoid nested conftests (#27954) 2023-12-13 12:29:51 -05:00
Loïc Estève dc23e3f4a0
MAINT Remove Python<3.9 code from sklearn.utils.fixes (#27945)
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2023-12-13 15:00:08 +01:00
Quentin Barthélemy 2d4197dbe8
ENH allow shrunk_covariance to handle multiple matrices at once (#25275)
Co-authored-by: Alexandre Gramfort <alexandre.gramfort@m4x.org>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
Co-authored-by: Jérémie du Boisberranger <34657725+jeremiedbb@users.noreply.github.com>
2023-12-13 14:55:44 +01:00
Guillaume Lemaitre e430f6e127
MAINT change the default solver in QuantileRegressor (#27943) 2023-12-12 17:01:54 +01:00
Guillaume Lemaitre e8ec36c9f3
MAINT bumpversion Python and dependencies (#27910) 2023-12-12 15:12:41 +01:00
Franck Charras 3cd80629cf
MNT Prune unused argument in `_array_api_for_tests` util (#27941) 2023-12-11 16:43:48 -05:00
Franck Charras 8e10cd7f0c
MNT remove `take` fn in array_api wrapper (#27939) 2023-12-11 16:41:29 -05:00
Guillaume Lemaitre 3b06962d28
FIX f1_score with zero_division=1 uses directly confusion matrix statistic (#27577)
Co-authored-by: Omar Salman <omar.salman@arbisoft.com>
Co-authored-by: Tim Head <betatim@gmail.com>
2023-12-11 13:50:00 +01:00
Loïc Estève cf56e95585
MAINT Remove left-over from KMeans n_init default deprecation (#27938) 2023-12-11 11:12:09 +00:00
Thomas J. Fan 0496f4877c
MAINT Remove deprecated support for int in boolean constraint (#27924) 2023-12-11 11:17:05 +01:00
Thomas J. Fan 1170f21ec4
MAINT Remove deprecated kwargs support in density (#27925) 2023-12-11 11:16:12 +01:00
Olivier Grisel 01a1fd1639
UX: make the fetch_opeml version warning more informative by listing all versions and urls (#27885) 2023-12-08 15:51:41 +01:00
Lorenz c913853779
MAINT Raise NotFittedError when using DictVectorizer without prior fitting (#24838)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2023-12-07 16:43:35 +00:00
Samuel O. Ronsin 8b95194888
FIX force node values outside of [0, 1] range for monotonically constraints classification trees (#27639)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
Co-authored-by: Christian Lorentzen <lorentzen.ch@gmail.com>
2023-12-07 16:27:54 +01:00
Konstantinos Pitas 8be339f230
DOC improve documentation of copy=False in preprocessing functions (#27691)
Co-authored-by: Tim Head <betatim@gmail.com>
Co-authored-by: Loïc Estève <loic.esteve@ymail.com>
2023-12-07 16:04:02 +01:00
Guillaume Lemaitre 9ef1b9d4e6
FIX raise error in HDBSCAN with precomputed X and request centers (#27898) 2023-12-06 08:59:24 -05:00
Guillaume Lemaitre 36f6734789
ENH add predict_log_proba to ClassifierChain (#27720) 2023-12-05 22:41:36 -05:00
Thomas J. Fan bd162e5548
CLN Update docs and test name for polars output in ColumnTransformer (#27902) 2023-12-05 16:23:39 +01:00
Guillaume Lemaitre fcdddd58ad
MAINT use Voting and Stacking support missing values (#27710) 2023-12-05 08:24:21 -05:00
Jérôme Dockès e1ce967a33
ENH detect categorical polars columns in HistGradientBoosting (#27835)
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2023-12-05 10:15:06 +01:00
Olivier Grisel 87e69087c5
CI/FIX Enable numpy dev in scipy-dev build and fix Bayesian linear models for numpy 2 compat (#27899)
Co-authored-by: Loïc Estève <loic.esteve@ymail.com>
2023-12-04 15:54:17 +00:00
scaja f113327bf1
DOC linked SplineTransformer to time-related feature engineering example (#26971)
Co-authored-by: scaja <scajadata@gmail.com>
Co-authored-by: adrinjalali <adrin.jalali@gmail.com>
2023-12-04 15:44:21 +00:00
Guillaume Lemaitre ae2c80a210
MAINT remove normalize parameter and subsequent clean-up (#27855)
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Loïc Estève <loic.esteve@ymail.com>
2023-12-04 14:29:06 +00:00
Thomas J. Fan d319344dff
ENH Adds polars output support to ColumnTransformer (#26683)
Co-authored-by: Christian Lorentzen <lorentzen.ch@gmail.com>
Co-authored-by: Adrin Jalali <adrin.jalali@gmail.com>
2023-12-04 13:25:35 +00:00
Haoying Zhang da220e4066
FIX bug in OPTICS that use the right indices when correcting clusters (#26459)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
Co-authored-by: Adrin Jalali <adrin.jalali@gmail.com>
2023-12-04 12:31:23 +00:00
Guillaume Lemaitre 2d9f4c4420
ENH support unsupervised feature selection for percentile and k-best (#27721) 2023-12-04 10:19:21 +00:00
Ganesh Tata ff6583a9cb
FIX Improve HDBSCAN Error Message when checking for connected components (#27678) 2023-12-04 10:17:08 +00:00
Guillaume Lemaitre 0027893288
ENH _get_response_values handles predict_log_proba (#27719) 2023-12-04 14:23:10 +05:00
Christian Lorentzen 7b9f794fd3
ENH reuse parent histograms as one of the child's histogram (#27865) 2023-12-03 12:53:17 -05:00
Guillaume Lemaitre 9371cec936
FIX IsolationForest accepts sparse matrix with float value contamination (#27645) 2023-12-02 07:10:19 +00:00
Guillaume Lemaitre 1471fa7c58
FIX ensure consistency or column and feature names in FunctionTransformer (#27801)
Co-authored-by: Christian Lorentzen <lorentzen.ch@gmail.com>
Co-authored-by: Loïc Estève <loic.esteve@ymail.com>
2023-12-02 00:13:14 +01:00
Nolan 37f6802424
FIX degree in polynomial kernel should be a floating number (#27668)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2023-12-02 00:08:58 +01:00
Ganesh Tata 85302bb784
FIX don't modify X in-place when precomputed in DBSCAN (#27651) 2023-12-01 13:41:40 +00:00
Thomas J. Fan 7d5428def5
ENH Warn in SelectKBest when k > n_features (#27841) 2023-12-01 09:06:42 +01:00
Guillaume Lemaitre 5ac2eb117a
MAINT remove affinity after deprecation cycle (#27828) 2023-11-30 22:45:10 +01:00
Guillaume Lemaitre d31316a8d3
MAINT raise ValueError in fetch_openml if pandas not installed (#27833) 2023-11-30 21:34:12 +00:00
Xuefeng Xu b8229daafe
ENH improve the efficiency of Encoders in checking nan (#27760)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2023-11-29 08:21:30 -08:00
Guillaume Lemaitre 7f107e7efe
MAINT remove parameter sum_over_features in manhattan_distances (#27860) 2023-11-28 15:31:38 +01:00
Guillaume Lemaitre e838429839
MAINT raise ValueError if y_true contain negative value in NDCG (#27859)
Co-authored-by: Loïc Estève <loic.esteve@ymail.com>
2023-11-28 10:18:45 +00:00
Guillaume Lemaitre 6f9064f038
MAINT remove n_features_ deprecated attribute in PCA (#27840) 2023-11-28 10:24:51 +01:00
Guillaume Lemaitre 3195a5f645
MAINT change the default of normalized_stress (#27858) 2023-11-28 10:09:12 +01:00
Guillaume Lemaitre 0310ab03cb
MAINT remove parameter setting in test_docstring (#27863) 2023-11-28 10:08:47 +01:00
Guillaume Lemaitre 7215188a46
MAINT remove deprecated class_weight_ attribute (#27862) 2023-11-28 10:06:47 +01:00
Guillaume Lemaitre 289326704e
MAINT remove option penalty='none' in LogisticRegression (#27857) 2023-11-27 23:37:46 +01:00
Guillaume Lemaitre dc2a2256ea
MAINT remove sparse parameter in OneHotEncoder (#27861) 2023-11-27 23:25:48 +01:00
Guillaume Lemaitre 9290bae93c
FIX force explicitely the orientation when creating polar DataFrame (#27854) 2023-11-27 11:40:12 +01:00
Bharat Raghunathan 1b7b0a1a5d
TST Extend tests for `scipy.sparse.*array` in `sklearn/cluster/tests/test_spectral.py` (#27161)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
Co-authored-by: Julien Jerphanion <git@jjerphan.xyz>
2023-11-27 08:09:39 +00:00
Thomas J. Fan 08b6157b0e
PERF Improve runtime for early stopping in HistGradientBoosting (#26163)
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2023-11-27 08:45:15 +01:00
Xiao Yuan 881b5bf2f7
DOC Fix `y_rotations_` shape in PLS docstrings (#27761) 2023-11-26 15:58:28 -05:00