Commit Graph

825 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
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
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
Thomas J. Fan bd162e5548
CLN Update docs and test name for polars output in ColumnTransformer (#27902) 2023-12-05 16:23:39 +01: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
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
Guillaume Lemaitre 0027893288
ENH _get_response_values handles predict_log_proba (#27719) 2023-12-04 14:23:10 +05:00
Guillaume Lemaitre 9290bae93c
FIX force explicitely the orientation when creating polar DataFrame (#27854) 2023-11-27 11:40:12 +01:00
Dimitri Papadopoulos Orfanos 6a7c8fd565
MAINT Fix typos found by codespell (#27824)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2023-11-22 15:59:36 +00:00
Thomas J. Fan 831c49aca3
ENH Adds polars output support to `set_output` API (#27315) 2023-11-19 22:46:56 +01:00
Tialo 49a2eb7a16
FIX Array API related error in `sklearn.utils.mutilclass.is_multilabel` function (#27601) 2023-11-14 14:39:56 +00:00
Lucy Liu 926671b25b
FIX improve warning message in `_ensure_sparse_format` (#27757) 2023-11-14 11:12:56 +01:00
Guillaume Lemaitre 2c1472d397
MAINT force encoding when opening file to not be platform specific (#27731)
Co-authored-by: Loïc Estève <loic.esteve@ymail.com>
2023-11-10 11:07:25 +01:00
Isaac Virshup 2d9fa48aaf
ENH Allow fitting PCA on sparse X with arpack solvers (#18689)
Co-authored-by: Andrey Portnoy <aportnoy@fastmail.com>
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Julien Jerphanion <git@jjerphan.xyz>
2023-11-07 10:42:50 +00:00
Tialo 9ee3754a9a
TST Extend tests for `scipy.sparse.*array` in `sklearn/utils/tests/test_seq_dataset.py` (#27413)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2023-11-02 13:18:01 +01:00
Tialo 9621539a9d
TST Extend tests for `scipy.sparse.*array` in `sklearn/utils/tests/test_estimator_checks.py` (#27203)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2023-11-01 17:00:59 -04:00
Guillaume Lemaitre 56f6477d50
MAINT downcast indices dtype when converting sparse arrays (#27372)
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2023-10-30 11:23:30 +01:00
Riccardo Cappuzzo 458c55827a
ENH improve visual HTML estimator representation (#26616)
Co-authored-by: ines.ibnukhsein <ines.ibnukhsein@dataiku.com>
Co-authored-by: Gael Varoquaux <gael.varoquaux@normalesup.org>
Co-authored-by: Ines <ines-99@ukr.net>
Co-authored-by: Lilian <lilian@boulard.fr>
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Loïc Estève <loic.esteve@ymail.com>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
Co-authored-by: Tim Head <betatim@gmail.com>
2023-10-25 08:38:12 +02:00
Olivier Grisel c6d0d29b19
FIX update create_memmap_backed_data to work on any estimator object via joblib 1.2.0 and later (#27614) 2023-10-22 19:54:01 +02:00
Tim Head b470ba1bd5
FIX CUDA detection when using PyTorch (#27606) 2023-10-17 18:48:26 +02:00
Guillaume Lemaitre 8912619e0d
FIX handle outlier detector in _get_response_values (#27565) 2023-10-13 12:04:08 +02:00
Guillaume Lemaitre 5444030d06
FIX validate properly zero_division=np.nan when used in parallel processing (#27573) 2023-10-13 10:47:11 +02:00
Guillaume Lemaitre 3597f0bb5d
ENH accept class_of_interest in DecisionBoundaryDisplay to inspect multiclass classifiers (#27291)
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Arturo Amor <86408019+ArturoAmorQ@users.noreply.github.com>
2023-10-11 10:29:57 +02:00
Christian Lorentzen 3076f297cd
MNT replace log_logistic by logaddexp (#27544)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2023-10-10 08:23:36 +00:00
Loïc Estève 3179ce31cc
MAINT Use scipy sparse nanmin/nanmax for scipy>=1.11 (#27492)
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2023-10-09 09:07:26 +02:00
Loïc Estève 751ccc0a4d
CI Run test suite inside Pyodide (#27346)
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2023-09-28 17:57:20 -04:00
Naoise Holohan 38a1e64bbe
FIX Param validation Interval error for large integers (#26648)
Co-authored-by: jeremie du boisberranger <jeremiedbb@yahoo.fr>
2023-09-27 16:07:49 +00:00
Dimitri Papadopoulos Orfanos 0f43434e0c
DOC fix typos found by codespell (#27457) 2023-09-26 15:31:28 +02:00
Stefanie Senger 20dad5851e
DOC documentation and error message for mismatching output formats in transformers with a sparse output (#26919)
Co-authored-by: Adrin Jalali <adrin.jalali@gmail.com>
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2023-09-21 16:54:23 +02:00
Guillaume Lemaitre 3c9495cc64
FIX accept multilabel-indicator in _get_response_values (#27002)
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
Co-authored-by: Jérémie du Boisberranger <34657725+jeremiedbb@users.noreply.github.com>
Co-authored-by: Stefanie Senger <91849487+StefanieSenger@users.noreply.github.com>
Co-authored-by: Vladimir Fokow <57260995+VladimirFokow@users.noreply.github.com>
Co-authored-by: jeremie du boisberranger <jeremiedbb@yahoo.fr>
Co-authored-by: Xuefeng Xu <xuxf100@qq.com>
Co-authored-by: Tim Head <betatim@gmail.com>
Co-authored-by: Raphael <raphael1peer@gmail.com>
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Sayed Qaiser Ali <66676360+sqali@users.noreply.github.com>
Co-authored-by: Loïc Estève <loic.esteve@ymail.com>
Co-authored-by: Xiao Yuan <yuanx749@gmail.com>
2023-09-17 15:15:47 +02:00
Olivier Grisel 2a210256e5
MAINT ignore ConvergenceWarning instead of FutureWarning in test_check_estimator_clones (#27385) 2023-09-15 20:32:46 +02:00
Guillaume Lemaitre 0d701e8fef
MAINT use .toarray instead of .A that is deprecated (#27367)
Co-authored-by: Loïc Estève <loic.esteve@ymail.com>
2023-09-14 13:08:35 +02:00
Tialo 9700ebf5b4
TST Extend tests for `scipy.sparse.*array` in `sklearn/utils/tests/test_sparsefuncs.py` (#27242) 2023-09-13 14:34:26 +05:00
Yao Xiao a823012281
TST Extend tests for `scipy.sparse/*array` in `sklearn/utils/tests/test_extmath` (#27262) 2023-09-12 23:14:37 +05:00
Yao Xiao 7dd3e4e21c
TST Extend tests for `scipy.sparse/*array` in `sklearn/utils/tests/test_testing` (#27276) 2023-09-12 18:40:23 +02:00
Yao Xiao 18a13f2c21
TST Extend tests for `scipy.sparse/*array` in `sklearn/utils/tests/test_multiclass` (#27274) 2023-09-12 14:49:58 +05:00
Stefanie Senger 9c6db99c6d
TST Extend tests for `scipy.sparse.*array` in `sklearn/utils/tests/test_mocking.py` (#27319) 2023-09-12 10:44:48 +05:00
Guillaume Lemaitre e7ae63f784
FIX avoid unecessary `if copy` branch for sparse array/matrix (#27336)
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2023-09-11 13:58:14 +00:00
Tialo dfe01c2227
TST Extend tests for `scipy.sparse.*array` in `sklearn/utils/tests/test_set_output.py` (#27202) 2023-09-11 12:17:17 +02:00
Tialo cfbab7769c
TST Extend tests for `scipy.sparse.*array` in `sklearn/utils/tests/test_utils.py` (#27201) 2023-09-11 12:16:28 +02:00
Edoardo Abati 844b087da4
ENH Add Array API compatibility to `zero_one_loss` and `accuracy_score` (#27137) 2023-09-07 16:03:15 +02:00
Loïc Estève 1821c3c855
CI Fix scipy-dev issues related to numpy 2.0 changes (#27190) 2023-08-29 13:04:33 +02:00
Xiao Yuan 407070b27d
TST Extend tests for `scipy.sparse.*array` in `sklearn/utils/tests/test_class_weight.py` (#27188) 2023-08-28 14:46:50 +05:00
Tim Head 061f8777b4
ENH Add Array API compatibility to MinMaxScaler (#26243)
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2023-08-18 14:39:08 +00:00
Loïc Estève 4560ee947f
MNT Ignore ruff errors (#27094) 2023-08-18 11:07:20 +02:00
Thomas J. Fan e4efd8b796
FIX Fixes set_output with list input (#27044) 2023-08-10 12:05:40 +05:00
Andrew Goh 7d2da317ef
ENH Add themes for HTML display. Add dark theme (#26862) 2023-08-09 10:11:35 +02:00