Commit Graph

49 Commits

Author SHA1 Message Date
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
Richard Taylor aee564c544
TST Replace pytest.warns(None) in test_omp.py (#22886) 2022-03-17 20:13:51 -04: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
Maria Telenczuk dc2b5875d0
DEP deprecates 'normalize' in _omp.py (#17750)
Co-authored-by: Alexandre Gramfort <alexandre.gramfort@m4x.org>
2021-06-17 23:24:40 +02: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
Abdulelah S. Al Mesfer 02e2a113e6
TST replace assert_raises by pytest.raises in test_least_angle, test_omp, test_test_theil_sen (#19406)
Co-authored-by: Olivier Grisel <olivier.grisel@gmail.com>
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
Co-authored-by: Chiara Marmo <cmarmo@users.noreply.github.com>
2021-04-09 12:04:54 +02:00
shivamgargsya 5ccfabf08d
TST Change assert from sklearn to pytest style in module linear_model/tests (#19565) 2021-03-12 15:46:50 +01:00
Adrin Jalali 1ba06518c5
API make load_* args in datasets kwarg only (#16719)
* API male load_* args in datasets kwarg only

* more loaders

* pep8

* fix test_omp usage

* fix some usages

* Update sklearn/datasets/_samples_generator.py

Co-Authored-By: Thomas J Fan <thomasjpfan@gmail.com>

Co-authored-by: Nicolas Hug <contact@nicolas-hug.com>
Co-authored-by: Thomas J Fan <thomasjpfan@gmail.com>
2020-04-27 14:41:35 -04:00
Adrin Jalali dc0cc6e9be
[MRG] API kwonly args in impute, inspection, kernel_ridge (#16926)
, and linear_model
2020-04-19 22:58:47 +02:00
Nicolas Hug b92455a6b2 MAINT Deprecate all of utils.testing except all_estimators (#15367) 2019-10-28 17:28:56 +01:00
Roman Yurchak a0cfcef679 Fix test_omp_cv test on AVX512 (#14460) 2019-07-25 07:54:15 +02:00
Adrin Jalali 19c068a2ec MNT towards removing assert_equal, etc (#14222) 2019-07-01 09:13:32 -04:00
Guillaume Lemaitre 9adba491a2 [MRG] DEP change the default of cv and n_splits (#13839) 2019-05-29 23:39:20 +10:00
Bartosz Michałowski fa98a72dcc MNT Replaced all occurrences of assert_true and assert_false with assert (#12588) 2018-11-28 09:16:26 +08:00
Yaroslav Halchenko 362cb3bcab TST autoreplace assert_true(...==...) with plain assert (#12547) 2018-11-11 09:05:34 +08:00
Olivier Grisel 174f4aea6e
[MRG] FIX SparseCoder with readonly parallel mmap (#11346) 2018-06-23 12:16:59 +02:00
Alexandre Gramfort f8b09ce4bf Fix omp non normalize (#10071)
* fix OMP when columns of X are not normalized
2017-11-17 08:42:47 +11:00
Nelson Liu d2aaf0f4bb doc: fix spellings of 'license' 2016-03-31 17:25:31 -07:00
Andreas Mueller 211f204767 fix ompcv on old scipy versions 2015-03-18 10:25:01 -04:00
Raghav R V e4f62b1f17 Added NRT for return_path propagation check 2014-11-25 23:24:54 +05:30
lesteve ce29c70cae Removed 'Gram' and 'Xy' parameters were still in test_omp.py 2014-07-17 13:38:22 +01:00
Kyle Kastner 1f32603b86 Added FIXME annotation to skipped test 2014-07-14 04:21:25 -05:00
Kyle Kastner 96895ebd39 Added utility to skip tests if running on Travis 2014-07-09 11:24:37 +02:00
Lars Buitinck b97fb3c5fc MAINT drop support for NumPy < 1.6.1 2014-03-02 20:13:57 +01:00
Jaques Grobler 6ebcf4d020 COSMIT fix PEP8 errors 2014-02-02 00:30:28 +11:00
dengemann 163e65925d ENH: address discussion 2013-11-29 13:55:39 +01:00
dengemann 9b1207b01d ENH: final fix: clear all regisitries 2013-11-29 13:55:39 +01:00
dengemann e1bdd99ea6 ENH: add assert_warn_message 2013-11-29 13:55:39 +01:00
Vlad Niculae 86d7afbd50 FIX OrthogonalMatchingPursuit normalized twice 2013-07-26 12:08:10 +02:00
Alexandre Gramfort 4ce4863fc7 API : deprecate a lot of extra parameters in OMP object 2013-07-26 09:50:53 +02:00
Vlad Niculae 372ca22492 ENH OrthogonalMatchingPursuitCV estimator
FIX: work with max_iter=1, though it does not make sense

DOC add OrthogonalMatchingPursuitCV docstrings
2013-07-26 09:50:53 +02:00
Vlad Niculae 31c6ff57e2 TEST for omp path feature 2013-07-26 09:50:53 +02:00
Robert Layton dacfd8bd5d DOC: Replaced all BSD style licenses with "BSD 3 clause"
Replaced all BSD style licenses with "BSD 3 clause"
Not checked yet!

Removed duplicate "3 clause, 3 clause"

Removed trailing period if exists

Fixed some missed licences, still about 50 to do, but those can be automated

Think I got the last of them.

Apparently me and sed have different ideas of regex.

Found a few more
2013-04-30 08:34:46 +02:00
Andreas Mueller 754c2d9533 COSMIT pep8 2012-12-22 16:48:17 +01:00
Mathieu Blondel f65efcf8eb More use sklearn.utils.testing.
My model is training :)
2012-10-25 21:21:22 +09:00
Andreas Mueller 3e5f2e5e08 ENH backport "assert_less" and "assert_greater", rename "assert_lower" and use it everywhere :) 2012-05-06 15:43:29 +02:00
Gael Varoquaux 54ebafce49 COSMIT we no longer support Py 2.5
Also, avoid 'from foo import bar' or 'import as' as much as possible
2012-05-05 20:40:36 +02:00
Vlad Niculae 3698317761 Add warnings and clean up tests 2012-05-05 20:40:35 +02:00
Alexandre Gramfort ad8e4912cb TST: use assert_true instead of assert + remove some relative imports 2012-02-11 15:43:03 +01:00
Vlad Niculae 60118bf090 FIX: issue #540, make omp robust to empty solution 2012-01-09 00:45:55 +02:00
Vlad Niculae a86b444bd8 Fix one-dimensional y in Gram OMP estimator 2011-11-16 23:42:19 +02:00
Vlad Niculae ca63fd10fd Skip tests in OMP that fail on old Python versions 2011-11-16 23:19:33 +02:00
vene 0240e194e9 PEP8 2011-10-20 18:36:25 +03:00
vene a316327ac5 Testing for swapped regressors in OMP 2011-10-20 16:50:28 +03:00
vene 40eb1010d2 Merge branch 'master' into sc
Conflicts:
	doc/modules/linear_model.rst
	scikits/learn/decomposition/__init__.py
2011-09-05 01:45:31 +03:00
Fabian Pedregosa ddf4b72109 Move project directory from scikits.learn to sklearn 2011-09-02 12:06:57 +02:00
Fabian Pedregosa 68f27e3790 Revert "Move project directory from scikits.learn to sklearn"
This reverts commit fd0d3b879d.
2011-09-02 12:03:18 +02:00
Fabian Pedregosa fd0d3b879d Move project directory from scikits.learn to sklearn 2011-09-02 11:38:24 +02:00