Commit Graph

213 Commits

Author SHA1 Message Date
Adrin Jalali 51c8e0e19d
CLN replace authors with the standard line (#29250) 2024-06-17 17:57:02 +00:00
Adrin Jalali 55ca335e42
CLN use new license notice line (#29246) 2024-06-13 15:51:09 +02:00
Adrin Jalali 34db65a3ad
DOC use pydata-sphinx-theme for the website (#29038)
Co-authored-by: Yao Xiao <108576690+Charlie-XIAO@users.noreply.github.com>
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
Co-authored-by: Guillaume Lemaitre <guillaume@probabl.ai>
2024-05-20 19:36:54 +02:00
Olivier Grisel 311c6e2bef
ENH new svd_solver='covariance_eigh' for PCA (#27491)
Co-authored-by: Christian Lorentzen <lorentzen.ch@gmail.com>
Co-authored-by: Tim Head <betatim@gmail.com>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2024-04-11 16:02:00 +02:00
Adrin Jalali c4c5463556
MNT upgrade black version (#28802) 2024-04-10 11:06:55 -04:00
Jérémie du Boisberranger 792a514cb8
MAINT cleanup utils.__init__: move indexing tools into dedicated submodule (#28546)
Co-authored-by: Guillaume Lemaitre <guillaume@probabl.ai>
2024-03-13 18:12:42 +00:00
Jérémie du Boisberranger f323eb48a8
MAINT cleanup utils.__init__: move safe_sqr and _approximate_mode into extmath (#28481)
Co-authored-by: Loïc Estève <loic.esteve@ymail.com>
2024-02-21 12:17:20 +01:00
Olivier Grisel 7f1d4d0506
ENH use check_finite=False when calling scipy.linalg functions in randomized_range_finder (#27537) 2024-02-09 23:43:32 +01:00
Mateusz Sokół a33ade3dec
MAINT: Adjust the codebase to the new `np.array`'s `copy` keyword meaning (#28323) 2024-02-01 20:18:19 -05:00
Shubham 55eb8900b4
DOC Add a docstring examples for utils functions (#28181)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2024-01-22 11:21:08 +01:00
Thomas J. Fan 1170f21ec4
MAINT Remove deprecated kwargs support in density (#27925) 2023-12-11 11:16:12 +01:00
Olivier Grisel 5c09163d77
FIX array_api support for non-integer n_components in PCA (#27431) 2023-11-15 11:45:35 -05:00
Edoardo Abati 5cf61b21ec
ENH Add Array API compatibility to `Normalizer` (#27558) 2023-11-14 14:08:43 +01: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
Guillaume Lemaitre 286f0c9d17
DOC fixes references issues given by sphinx (#27432) 2023-10-03 20:25:29 +02:00
Mateusz Sokół 702316c271
ENH Array API support for PCA (#26315)
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Tim Head <betatim@gmail.com>
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2023-07-13 16:58:06 -05:00
Julien Jerphanion dfd299b19e
MAINT Remove soon-to-be deprecated scipy.sparse functions (#26751) 2023-07-12 18:34:01 +02:00
Shreesha Kumar Bhat 876c235d15
MAINT Parameters validation for sklearn.utils.extmath.randomized_svd (#26690)
Co-authored-by: shreesha3112 <shreesha3112.com>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2023-06-29 11:18:17 +02:00
Adrin Jalali 42173fdb34
MNT add isort to ruff's rules (#26649) 2023-06-21 17:50:07 +02:00
Dimitri Papadopoulos Orfanos 2fd022d972
MAINT Fix typos found by codespell (#26448) 2023-05-31 10:19:21 +02:00
Julien Jerphanion 41b0bd82ff
MAINT Use `scipy.sparse.isspmatrix_*` (#26420) 2023-05-30 13:46:32 -04:00
Thomas J. Fan 66a3905541
ENH Adds PyTorch support to LinearDiscriminantAnalysis (#25956)
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Tim Head <betatim@gmail.com>
2023-04-21 11:13:29 +02:00
Adrin Jalali 893d5accaf
MNT Update black to 23.3.0 (#26110) 2023-04-06 12:14:16 -04:00
Marc Torrellas Socastro dedc587f84
ENH add np.nan option for zero_division in precision/recall/f-score (#25531)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2023-03-21 11:16:01 +01:00
Guillaume Lemaitre 86080bbd5f
ENH cartesian accepts mixed dtypes arrays (#25067)
Co-authored-by: Christian Lorentzen <lorentzen.ch@gmail.com>
2022-11-29 17:02:41 +01:00
Jérémie du Boisberranger 96f0a01343
MAINT Clean deprecation for 1.2: default random_state in randomized_svd (#24661) 2022-10-14 15:15:50 +02:00
Ashwin Mathur 9a697e4647
DOC Ensures that sklearn.utils.extmath.fast_logdet passes numpydoc validation (#24605)
Co-authored-by: jeremie du boisberranger <jeremiedbb@yahoo.fr>
2022-10-14 14:23:43 +02:00
Ashwin Mathur aa7fd7ad0f
DOC Ensures that `sklearn.utils.extmath.randomized_svd` passes numpydoc validation (#24607)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2022-10-13 23:31:36 +02:00
Mansi Agrawal 97057d329d
DOC Ensures that svd_flip passes numpydoc validation (#24581)
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2022-10-11 10:41:58 -04:00
Ashwin Mathur c674e589f9
DOC Ensures that sklearn.utils.extmath.weighted_mode passes numpydoc validation (#24571)
Co-authored-by: jeremie du boisberranger <jeremiedbb@yahoo.fr>
2022-10-07 13:05:54 +02:00
Mia Bajić 5d8a199462
API Deprecate the extra keyword arguments of utils.extmath.density (#24523)
Co-authored-by: Meekail Zain <34613774+Micky774@users.noreply.github.com>
Co-authored-by: Jérémie du Boisberranger <34657725+jeremiedbb@users.noreply.github.com>
2022-10-07 10:24:34 +02:00
Luciano Mantovani fa4643407c
DOC Ensures that utils.extmath.density passes numpydoc validation (#24516) 2022-09-26 23:51:56 +02:00
Thomas J. Fan 2710a9e7ee
ENH Adds Array API support to LinearDiscriminantAnalysis (#22554)
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Julien Jerphanion <git@jjerphan.xyz>
2022-09-21 15:36:19 +02:00
Omar Salman c5e34473cd
DOC Ensures that `squared_norm` passes numpydoc validation (#24360) 2022-09-05 14:31:41 +02:00
TheDevPanda 45756377c7
DOC ensure sklearn/utils/extmath/stable_cumsum passes numpydoc (#24348) 2022-09-04 09:55:01 +02:00
Loïc Estève ac84b2f7d7
Revert change in sklearn.extmath.util and fix randomized_svd benchmark (#23421) 2022-05-20 11:01:38 -04:00
SELEE 6ab4ebd122
FIX Update randomized SVD benchmark (#23373) 2022-05-19 10:25:25 +02:00
Srinath Kailasa 0c618b2910
ENH Add lapack driver argument to randomized svd function (#20617)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2022-05-17 12:26:35 +02:00
Jérémie du Boisberranger 34f9dbf541
MNT Clean fixes and compat for old versions of our dependencies (#22642)
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2022-03-02 11:32:06 +01:00
Thomas J. Fan 1fc86b6aac
MNT Update black to stable version (#22474) 2022-02-15 11:36:26 +01:00
Sultan Orazbayev cd892f9688
DOC use the arxiv directive in the docstrings (#21418)
Co-authored-by: aufarkari <aufar.di.sini@gmail.com>
Co-authored-by: Chiara Marmo <cmarmo@users.noreply.github.com>
Co-authored-by: Julien Jerphanion <git@jjerphan.xyz>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2022-01-28 17:55:55 +01:00
AJ Druck 6447ec5964
DOC Ensures randomized_range_finder passes numpydoc validation (#22069) 2021-12-24 08:01:26 -05:00
Rishabh 8cfbc38ab8
DOC Ensures that extmath.cartesian passes numpydoc validation (#21513)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2021-11-02 12:02:58 +01:00
Thomas J. Fan d1285a9232
DOC Adds missing imports into examples and test them (#21186) 2021-09-29 13:51:33 +02:00
Dimitri Papadopoulos Orfanos f71c031314
DOC Typos found by codespell (#21069) 2021-09-17 19:04:54 +02:00
Thomas J. Fan f812e2a276
ENH Improves memory usage for standard scalar (#20652) 2021-08-05 18:32:16 +02:00
Thomas J. Fan 351ace7935
STY Uses black's with target_version >= 3.7 (#20294) 2021-06-17 15:50:27 -04:00
Thomas J. Fan 82df48934e
MNT Applies black formatting to most of the code base (#18948) 2021-06-17 14:21:09 -04:00
Tom Dupré la Tour f6e6ad2d9e
MNT clean futurewarning for 1.0 | _deprecate_positional_args (#20002)
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2021-05-14 11:30:27 -04:00
Sylvain Marié bf0886bae0
[MRG after #12145] Add "Randomized SVD" solver option to KernelPCA for faster partial decompositions, like in PCA (#12069)
Co-authored-by: Sylvain MARIE <sylvain.marie@se.com>
Co-authored-by: Thomas J Fan <thomasjpfan@gmail.com>
Co-authored-by: Nicolas Hug <contact@nicolas-hug.com>
Co-authored-by: Joel Nothman <joel.nothman@gmail.com>
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Olivier Grisel <olivier.grisel@gmail.com>
Co-authored-by: Tom Dupré la Tour <tom.dupre-la-tour@m4x.org>
2021-04-27 16:06:10 +02:00