Commit Graph

34 Commits

Author SHA1 Message Date
Meekail Zain 2e213c6188
FIX Reduces memory usage of `PCA.transform` (#22553) 2022-03-02 13:47:29 -05:00
JSchuerz 4a52eb6de9
DOC Use :doi: and :arxiv: directives for references (#22603)
Co-authored-by: Chiara Marmo <cmarmo@users.noreply.github.com>
Co-authored-by: Jérémie du Boisberranger <34657725+jeremiedbb@users.noreply.github.com>
2022-03-02 15:15:44 +01:00
Thomas J. Fan 1fc86b6aac
MNT Update black to stable version (#22474) 2022-02-15 11:36:26 +01:00
Jay Stanley 78a63d71ab
ENH Add `randomized_svd` kwargs to `Decomposition` classes (#21705)
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2022-01-28 09:40:11 -05:00
Smile df2f0d01c1
ENH expose n_oversamples in PCA when using solver="randomized" (#21109)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2021-11-09 11:50:22 +01:00
genvalen 642127806a
DOC use backticks for n_samples and n_features in X docstring (#20914) 2021-09-02 13:35:03 +02:00
Thomas J. Fan 786c4e5e39
DOC Adds feature_names_in_ to docstrings (#20787) 2021-08-26 13:44:45 +02:00
Nic Annau ec758d8f96
DOC Clarify components_ attributes in PCA, IncrementalPCA and TruncatedSVD (#20340)
Co-authored-by: Nic Annau <nannau@uvic.ca>
2021-07-23 09:52:16 +02:00
Thomas J. Fan 3ae7c76153
STY Enables black with experimental_string_processing=true (#20412) 2021-06-29 09:47:04 +02:00
marielaraj 3e307c86d7
DOC adding parameters and returned values descriptions in PCA (#20392)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2021-06-28 10:32:52 +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
Guillaume Lemaitre 1cd282d600
DOC add n_features_in_ in the documentation (#20236) 2021-06-09 16:58:03 +02: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
CeeThinwa a870f4399d
DOC clarify variance estimation in PCA implementation (#19378)
Co-authored-by: Christian Lorentzen <lorentzen.ch@gmail.com>
2021-02-09 16:49:32 +01:00
Hans Moritz Günther ca7fc5dd4f
DOC Add URL to reference of Minka paper used in PCA (#19207) 2021-01-26 15:24:55 +01:00
Thomas J. Fan d6435b7f06
DOC Clarifies docstrings in decomposition (#19161) 2021-01-13 10:02:12 +01:00
Gaurav Desai da562b4fa5
MNT initialize weights when using ARPACK solver with a utility (#18302)
Co-authored-by: Ivan PANICO <ivpanico@gmail.com>
Co-authored-by: Ivan Panico <iv.panico@gmail.com>
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2020-11-27 18:25:35 +01:00
Olivier Grisel 548a4524b4
MNT n_features_in_ consistency in decomposition (#18557)
Co-authored-by: Nicolas Hug <contact@nicolas-hug.com>
2020-10-08 09:47:24 -04:00
Guillaume Lemaitre 21569e719c
TST Common test preserve dtype (#18054)
Co-authored-by: Sebastian Kießling <sebkies@gmail.com>
Co-authored-by: Roman Yurchak <rth.yurchak@gmail.com>
2020-09-08 10:13:53 +02:00
Frans Larsson 30f201f914
DOC Add None as valid option to random_state (#18234) 2020-08-22 17:30:45 +02:00
clmbst 46b7d8a76c
DOC Fix documentation of default values in decomposition module (#17739)
Co-authored-by: Jérémie du Boisberranger <34657725+jeremiedbb@users.noreply.github.com>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2020-08-21 22:42:44 +02:00
indecisiveuser d5ae541a09
DOC fix formatting docstrings in pca module (#18182) 2020-08-18 14:28:10 +02:00
crispinlogan b3dca3d025
DOC update PCA random_state description (#17293) 2020-05-20 12:59:31 -04:00
Nicolas Hug 226e5c478d
MNT Use Vt instead of V as returned by svd() (#17100) 2020-05-05 19:52:07 +02:00
Thomas J Fan c531bd0d86
API Adds missing keyword only argument to PCA (#16975) 2020-04-21 16:21:48 +02:00
Nicolas Hug a655de515e
[MRG] MNT Fixes for PCA with n_components='mle' (#16841)
* Fixed off by one in MLE and better handling of small eigenvalues

* light update tests

* pep8

* Added test + threhsold on small log
2020-04-07 22:12:40 +02:00
Adrin Jalali d6d624db5d
API make __init__ params in decomposition kwonly (#16722)
* DOC make __init__ params in decomposition kwonly

* test fixes

* pep8
2020-03-31 10:28:36 +02:00
Lisa Schwetlick ea3181879c
FIX Adress decomposition.PCA mle option problem (#16224) 2020-03-04 16:26:50 +01:00
Nicolas Hug d205638475
MNT Introduction of n_features_in_ attr with _validate_data mtd (#16112) 2020-02-29 09:05:11 -05:00
krishnachaitanya9 fd12d5684a BUG take n_components strictly greater than fraction of explai… (#15669) 2020-01-22 13:49:45 -05:00
Sarat Addepalli cd6e4d52d9 DOC improve random_state docstring from decomposition module (#11902)
* [MRG] Fix random_state docstrings in decomposition module

* Add more details, and specify reproducibility

* [MRG] docs for random_state in decomposition module

Update the wording for reproducible results.

* [MRG] Update doc for optional parameter to match numpy doc style

* apply new style

Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2020-01-08 18:53:01 +01:00
Alexandre de Siqueira cf21cf0ae6 DOC Applying numpydoc validation to decomposition.PCA (#15467) 2019-11-04 01:19:53 +01:00
Thomas J Fan 5756a9934b MNT Make modules private in decomposition (#15344) 2019-10-28 22:46:16 +08:00