Thomas J. Fan
d4aad64b1e
MNT Update to black 22.3.0 to resolve click error ( #22983 )
...
* MNT Update to black 22.3.0 to resolve click error
* STY Update for new black version
2022-03-29 12:04:41 +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
Thomas J. Fan
1fc86b6aac
MNT Update black to stable version ( #22474 )
2022-02-15 11:36:26 +01:00
Sebastian Pujalte
5131284e19
ENH Add Swiss-Hole dataset and expand example ( #21482 )
...
* added hole to swiss roll and expanded example
* Fixed docstring for numpydoc validation
* Changed error from original docstring.
* Added test for swiss hole
Codecov check was failing because there was no test for the addition of the swisshole. I simply expanded the original test to include it.
* Formatting
* Revert "Formatting"
This reverts commit 727505b21b .
* Revert "Added test for swiss hole"
This reverts commit ae788641f1 .
* Added test for Swiss Hole
* fixed test
* added changelog
* Set random state when creating the swiss roll in exampple.
* Set random state when creating the swiss hole in exampple.
* Changed test with reccommendation
* Apply suggestions from code review of plots.
Co-authored-by: Tom Dupré la Tour <tom.dupre-la-tour@m4x.org>
* Apply grammar and naming suggestions from code review
Co-authored-by: Tom Dupré la Tour <tom.dupre-la-tour@m4x.org>
* Defined LLE and t-SNE acronyms at beginning
* Linting
Co-authored-by: Tom Dupré la Tour <tom.dupre-la-tour@m4x.org>
2021-11-12 09:51:14 -08:00
Thomas J. Fan
3ae7c76153
STY Enables black with experimental_string_processing=true ( #20412 )
2021-06-29 09:47:04 +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
Alihan Zihna
1b6a651296
TST Changes assert to pytest style in decomposition, datasets, covariance, compose ( #20104 )
...
Co-authored-by: Alihan Zihna <a.zihna@ckhgbdp.onmicrosoft.com>
2021-05-19 20:12:57 -04:00
Thomas J. Fan
7cc0177f8e
MNT Replaces numpy alias with builtin typse ( #17687 )
...
* MNT Replaces numpy alias with builtin typse
* STY Lint error
2020-06-24 16:51:51 +02:00
Venkatachalam N
ac9c3e1d33
ENH adding return_centers param in make_blobs ( #15709 )
2020-01-22 22:10:39 +08:00
Rushabh Vasani
11147a13ed
Argument validation in make_multilabel_classification() ( #16006 )
2020-01-04 18:35:25 +01:00
Maciej J Mikulski
e94b67a4d3
ENH Allow two-element tuple as n_samples argument in make_circles and make_moons ( #15707 )
2019-12-08 04:51:31 -06:00
Nicolas Hug
b92455a6b2
MAINT Deprecate all of utils.testing except all_estimators ( #15367 )
2019-10-28 17:28:56 +01:00
Cat Chenal
8720684693
ENH Weights parameter of datasets.make_classification changed to array-like from list only - Issue 14760 ( #14764 )
2019-09-18 14:39:29 -04:00
Samesh Lakhotia
7e53554a9f
MAINT Uses pytest.raises in datasets tests ( #14676 )
2019-08-18 00:20:14 -04:00
Adrin Jalali
19c068a2ec
MNT towards removing assert_equal, etc ( #14222 )
2019-07-01 09:13:32 -04:00
surgan12
62d2059804
MNT remove __future__ imports ( #12791 )
2019-02-02 22:05:06 +08:00
Andreas Mueller
952ef6637a
MRG Drop legacy python / remove six dependencies ( #12639 )
2019-01-03 15:50:05 +02:00
Hanmin Qin
43e3a02085
MNT Remove unused assert_true imports ( #12560 )
2018-11-11 11:08:37 +08:00
Yaroslav Halchenko
362cb3bcab
TST autoreplace assert_true(...==...) with plain assert ( #12547 )
2018-11-11 09:05:34 +08:00
Roman Feldbauer
60cf1d62d2
Fix numpy.int overflow in make_classification ( #10811 )
2018-10-02 14:15:56 +02:00
Mohamed Maskani
34f12da6d6
ENH make_blobs takes list/array as n_samples argument ( #10577 )
2018-02-14 20:58:27 +11:00
Christian Braune
4bead39f78
FIX make_circles() now works with odd number of samples, test added ( #10045 )
2017-11-11 23:14:37 +11:00
Sachin Kelkar
9d515e960a
Fix 9865: Change code and add test ( #9890 )
2017-10-10 11:27:38 +02:00
Bastian Venthur
7400775633
[MRG+1] MAINT Replace assert_array_equal with -assert_array_almost_equal where necessary. ( #9774 )
2017-09-18 19:55:23 +10:00
RAKOTOARISON Herilalaina
046141ba5e
[MRG+1] Make classification (dimensions > 30) ( #9045 )
...
* Change _generate_hypercube into rng.randint
* Improve unit test
* Test if each row is unique
2017-06-08 14:12:57 +02:00
Josh Levy
aea6462b81
[MRG+1] Fixes #8198 - error in datasets.make_moons ( #8199 )
2017-01-17 13:37:42 +11:00
Kashif Rasul
aaae2db9dc
make_multilabel_classification sparse target
...
for issue #3554
2015-08-30 23:00:29 +10:00
Raghav R V
6fb17a1f95
FIX revert generation of seq of seq in make_multilabel_classification
2015-08-11 22:27:15 +05:30
Raghav R V
664d78eb7c
MAINT Remove support for the deprecated sequence of sequences
...
MAINT Remove sequence of sequence support from datasets
MAINT Remove return_indicator param
MAINT Remove multilabel-seq test in OVR
MAINT Remove multilable-seq test in check_cv
MAINT Remove multilabel seq test in label_binarizer
TST type_of_target returns "unknown" for multilabel-sequence types
TST _check_targets should raise a ValueError
DOC show multilabel indicator as an example; remove return_indicator param
DOC use consistent lower case y for target
2015-08-11 22:26:44 +05:30
Phil Roth
ec78cc1027
whitespace
2015-07-12 16:15:56 -05:00
Phil Roth
a761858b80
adding assert statement to check the std
2015-07-12 16:12:07 -05:00
Phil Roth
4f2a93d5dc
adding multiple cluster_std to make_blob test
2015-07-11 17:23:49 -05:00
Joel Nothman
787e4a0cea
DOC extend documentation on sample generators
...
Also allow make_multilabel_classification to return underlying
distributions.
2014-08-25 19:36:58 +10:00
Olivier Grisel
178d0b6efd
FIX assert_array_almost_equal for windows tests
2014-07-10 18:54:33 +02:00
Joel Nothman
28eb1ebe15
Assert or ignore all sequence of sequences deprecation warnings
2014-06-05 11:20:36 +02:00
Mathieu Blondel
8f71e46b1d
Handle n_features < n_informative case in make_regression.
...
Useful if n_informative is not explicitly specified, in which case
n_informative=10.
2014-01-09 17:20:13 +09:00
Joel Nothman
ca55b40b6f
FIX Use Py2.6-compatible string formatting
...
Also PEP8
2014-01-07 22:33:34 +11:00
Joel Nothman
224a4d593b
TST/COSMIT cleaner make_classification and fix tests
...
* refactored make_classification
* new test for make_classification
* skip problematic common test for class_weights
2014-01-01 23:00:50 +11:00
Arnaud Joly
def7af6944
pep8
2013-07-26 16:01:17 +02:00
Arnaud Joly
c6fa3a0318
ENH allows make_multilabel_classification to return label indicator format
2013-07-26 15:57:35 +02:00
Gilles Louppe
de86e97548
Merge pull request #2241 from arjoly/grid-cv-multioutput
...
[MRG] Make sure that cross_validation_score and grid_search_cv support multi-output / multi-target output
2013-07-26 01:33:41 -07:00
Kemal Eren
4657ea2458
test_make_checkerboard was wrong after api change
2013-07-25 19:19:22 +02:00
Kemal Eren
5ad0dfb69b
wrote bicluster scoring using jaccard index and hungarian matching
2013-07-25 19:19:21 +02:00
Kemal Eren
2e78d1003c
use assert_all_finite
2013-07-25 19:19:18 +02:00
Kemal Eren
642be4899a
added new tests for sample data generators
2013-07-25 19:19:18 +02:00
Kemal Eren
ca902adcaa
wrote methods for generating bicluster data
2013-07-25 19:19:14 +02:00
Arnaud Joly
8436201dee
ENH allows make_multilabel_classification to return label indicator f…
2013-07-25 18:24:17 +02:00
Andreas Mueller
966e10c252
COSMIT PEP8
2012-12-22 16:48:17 +01:00
Andreas Mueller
754c2d9533
COSMIT pep8
2012-12-22 16:48:17 +01:00
Mathieu Blondel
6eec2e651b
Even more sklearn.utils.testing.
2012-10-26 00:09:46 +09:00