Commit Graph

935 Commits

Author SHA1 Message Date
Jihane d14fd82cf4
ENH Preserving dtypes for ICA (#22806)
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Jérémie du Boisberranger <34657725+jeremiedbb@users.noreply.github.com>
Co-authored-by: Julien Jerphanion <git@jjerphan.xyz>
2022-03-28 18:07:53 +02:00
Gabriel Stefanini Vicente ffa0898d5a
API Add data_transposed argument and warning to make_sparse_coded_signal (#21425)
Co-authored-by: Andreas Mueller <t3kcit@gmail.com>
Co-authored-by: jeremie du boisberranger <jeremiedbb@yahoo.fr>
Co-authored-by: Jérémie du Boisberranger <34657725+jeremiedbb@users.noreply.github.com>
2022-03-22 16:01:42 +01:00
ShanDeng123 38ff5be25d
TST removing pytest.warns(None) in test_kernel_pca (#22872)
Co-authored-by: Shan-Deng <45984816+Shan-Deng@users.noreply.github.com>
2022-03-17 12:08:05 +01:00
ShanDeng123 dd3aa8e7e7
Removing pytest.warns(None) (#22873)
Co-authored-by: Shan-Deng <45984816+Shan-Deng@users.noreply.github.com>
2022-03-17 10:16:48 +01:00
ShanDeng123 7fc930dd39
TST Replaces pytest.warns(None) in test_dict_learning (#22845)
Co-authored-by: Shan-Deng <45984816+Shan-Deng@users.noreply.github.com>
2022-03-15 10:02:04 +01:00
ShanDeng123 c96bfa12a6
TST Replaces pytest.warns(None) in test_fastica (#22846)
Co-authored-by: Shan-Deng <45984816+Shan-Deng@users.noreply.github.com>
2022-03-15 09:59:40 +01:00
Meekail Zain bbdb2eff9b
FIX Fixed `self.n_components` typo in `kernal_pca` (#22812)
Co-authored-by: David Gutmann <David.gutmann1024@gmail.com>
2022-03-13 18:14:23 -04:00
sakinaOuisrani f9d74236e2
fix docstring of dict_learning.sparse_encode and multiclass.check_classification_targets #21350 #pariswimlds (#22793)
* fix docstring

* fixed linting in multiclass

* fixed linting in dict learning

* fixed linting in dict learning

* fixed linting in dict learning

* fixed linting in dict learning

* fixed linting in dict learning

Co-authored-by: Sakina <s.ouisrani@sesamm.com>
2022-03-12 18:41:19 +01:00
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
Yosshi999 7251f5f7b4
DOC Fix typo in decomposition.TruncatedSVD (#22624) 2022-02-27 08:25:56 -05:00
Jérémie du Boisberranger 4c1537dbd4
warning conventions (#22505) 2022-02-16 14:07:25 +01:00
Thomas J. Fan 1fc86b6aac
MNT Update black to stable version (#22474) 2022-02-15 11:36:26 +01:00
Thomas J. Fan 4ff0767087
ENH Better error message for check_scalar (#22218)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2022-02-11 16:15:30 +01:00
Jérémie du Boisberranger d1d60d2da1
FIX Preserve float32 in MiniBatchDictionaryLearning (#22428) 2022-02-10 09:34:39 +01:00
Guillaume Lemaitre 229bd226ab
MNT remove _pairwise attribute (#21594) 2022-02-09 16:58:01 +01:00
Thomas J. Fan 9f85c9d449
TST Better info when checking for no warnings in tests (#22362) 2022-02-03 11:42:48 +01:00
Meekail Zain 254ea8c453
ENH Replaced RandomState with Generator compatible calls (#22271) 2022-01-28 15:49:34 -05: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
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
aufarkari c1b82beedd
DOC use arxiv directive in TruncatedSVD reference (#21965)
Co-authored-by: Sultan Orazbayev <contact@econpoint.com>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2022-01-28 14:33:07 +01:00
Emmanouil Gionanidis e8bc9f60c3
DOC fix example to use the right sparse dictionary shape (#22040)
Co-authored-by: Jérémie du Boisberranger <34657725+jeremiedbb@users.noreply.github.com>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2022-01-28 14:29:40 +01:00
Micky774 bd71f8eefa
BUG Fixes division by zero in PCA `get_precision` (#22300)
Co-authored-by: Sylesh <syleshkyle@yahoo.com>
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2022-01-27 14:34:03 +01:00
Zach Deane-Mayer 8733d15a08
ENH Allow n_components == min(n_samples, n_features) in TruncatedSVD (#22181) 2022-01-11 10:01:44 -08:00
Takeshi Oura cb4688ad15
ENH Preserving dtype for np.float32 in SparsePCA and MiniBatchSparsePCA (#22111)
Co-authored-by: takoika <>
2022-01-04 17:39:14 +01:00
Takeshi Oura 5dfa5d979a
ENH Preserving dtype for np.float32 in *DictionaryLearning, SparseCoder and orthogonal_mp_gram (#22002) 2021-12-30 12:16:41 +01:00
Haya a8bd6d21c5
FIX validate parameter in 'fit' for 'FactorAnalysis' (#21713) 2021-11-26 14:00:45 -05:00
Frans Larsson b8c9affe3e
MNT speed up test_kernel_pca_solvers_equivalence (#21746)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2021-11-26 11:40:55 -05:00
Guillaume Lemaitre f8f77b4acc
MNT remove deprecated components_ in SparseCoder (#21586) 2021-11-24 13:18:47 -05:00
MaggieChege 87c330d5ff
FIX check that parameters validation happen in fit for KernelPCA (#21567)
Co-authored-by: ciku <maggie@hellotractor.com>
2021-11-15 08:37:18 +01: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
Julien Jerphanion c48dba0718
EHN Support unit-variance whitening for `FastICA` (#19490)
Co-authored-by: Facundo Ferrín <facundo.ferrin@e-campus.uab.cat>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2021-11-08 15:43:49 +01:00
Guillaume Lemaitre d5ce9c4966
DOC improve kernel PCA example (#19945)
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Christos Aridas <chkoar@users.noreply.github.com>
Co-authored-by: Julien Jerphanion <git@jjerphan.xyz>
2021-11-04 08:40:33 +01:00
Jérémie du Boisberranger 1f8825c8dd
MNT Centralize common cython compiler directives (#21512) 2021-11-03 13:26:23 +01:00
Jérémie du Boisberranger c4983148f3
MNT Finalize the change of the default `init` of NMF (#21500)
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2021-10-30 16:20:47 +02:00
Jérémie du Boisberranger e773581c3a
FIX Make dict learning loss match the paper (#19210)
Co-authored-by: Olivier Grisel <olivier.grisel@gmail.com>
2021-10-27 20:10:58 +02:00
Thomas J. Fan 87838c20cc
ENH Adds feature names out to decomposition module (#21334)
* ENH Adds feature names out to decomposition module

* DOC Adds whats enw

* REV Removes module not in decomposition

* ENH Uses a mixin

* REV Better merge
2021-10-27 13:08:37 +02:00
Alberto Mario Ceballos-Arroyo d742a58b9d
DOC Added meaning of default=None for n_components in MiniBatchSparsePCA and MiniBatchDictionaryLearning (#21428) 2021-10-25 17:41:27 +02:00
Hannah Bohle 6f720c5e12
FIX validate parameters in `fit` for `FastICA` (#21432)
Co-authored-by: Maren Westermann <maren.westermann@gmail.com>
2021-10-23 19:35:54 -04:00
Alberto Mario Ceballos-Arroyo dde2716c6f
DOC Added the meaning of the default=None case in SparsePCA (#21421)
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2021-10-23 12:35:23 -04:00
Jérémie du Boisberranger a9bf7f38d7
FIX delete feature_names_in_ when refitting on a ndarray (#21389)
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2021-10-23 12:30:05 +02:00
Dimitri Papadopoulos Orfanos f71c031314
DOC Typos found by codespell (#21069) 2021-09-17 19:04:54 +02:00
genvalen ba7e6fbd10
DOC Ensures that TruncatedSVD passes numpydoc validation (#20946) 2021-09-06 11:29:36 +02:00
genvalen 642127806a
DOC use backticks for n_samples and n_features in X docstring (#20914) 2021-09-02 13:35:03 +02:00
genvalen b3b19552b1
DOC Ensures that NMF passes numpydoc validation (#20869) 2021-08-31 19:48:48 +02:00
genvalen eaacdf3345
DOC Ensures that SparseCoder passes numpydoc validation (#20840)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2021-08-31 18:59:55 +02:00
genvalen e09f425076
DOC Ensures that DictionaryLearning passes numpydoc validation (#20831)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2021-08-31 18:59:31 +02:00
baam fdc0a254bc
DOC Ensures that FactorAnalysis passes numpydoc validation (#20845)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2021-08-31 18:57:20 +02:00
genvalen 36c507e9f9
DOC Ensures that MiniBatchDictionaryLearning passes numpydoc validation (#20838)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2021-08-31 18:50:04 +02:00
genvalen 43c9c66ebe
DOC Ensures that MiniBatchSparsePCA passes numpydoc validation (#20870) 2021-08-31 18:31:34 +02:00