Commit Graph

56 Commits

Author SHA1 Message Date
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
Vlad Niculae f26e2371b6 ENH: make_regression supports multiple targets 2012-06-05 18:18:00 +03: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
Peter Prettenhofer 2d6e484f3e fix: wrong assertion 2012-01-24 09:49:23 +01:00
Peter Prettenhofer 16c5ed0235 added artificial dataset generator from Hastie et al. 2009, Example 10.2 2012-01-24 09:45:49 +01:00
Andreas Mueller 3a6e490e05 COSMIT pep8 2011-12-23 19:12:52 +01:00
Jake Vanderplas 7f53024ae9 remove unused imports 2011-12-23 09:27:40 -08:00
Vlad Niculae 512c9116f2 FIX typo that broke the test 2011-12-22 14:23:31 +01:00