Ishank Gulati
c8406fbfcb
Breast cancer dataset added
2015-10-01 16:47:01 -04: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
Olivier Grisel
840bcf30c2
Merge pull request #4961 from mrphilroth/issue4959
...
[MRG] Allowing for different cluster stds
2015-07-22 10:48:57 +02:00
TomDLT
cb226d50f8
Reorder target_names in rcv1
2015-07-21 16:43:11 +02:00
TomDLT
81de81a01a
ENH implement LYRL2004 train/test split of rcv1
2015-07-16 19:21:24 +02:00
TomDLT
792e529519
add fetch_rcv1
2015-07-16 12:29:00 +02:00
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
Chih-Wei Chang
82ea224dfa
Add multilabel support for dump_svmlight_file.
2015-07-12 13:51:27 +08:00
Phil Roth
4f2a93d5dc
adding multiple cluster_std to make_blob test
2015-07-11 17:23:49 -05:00
Alexandre Gramfort
9f60b185c8
Merge pull request #4562 from hsuantien/emptylabelset
...
[MRG + 1] Emptylabelset
2015-06-24 23:30:38 +02:00
Andreas Mueller
2c79a987c2
Merge pull request #4431 from vortex-ape/deprecate_func
...
[MRG + 2] Deprecates load_lfw_pairs and load_lfw_people
2015-06-01 11:46:25 -04:00
jfraj
e4b9ff6c98
Adding test to ensure bunch consistency after pickle
...
Updated Bunch getattr definition to raise the appropriate error
(should raise Attribute error not KeyError)
See issue #4600
2015-04-16 18:25:13 -04:00
jfraj
4161d5570e
Improving Bunch Class to ensure consistent attributes
...
Adding set/getattr methods that fill/query the same thing as `bunch[key]`.
Add test for a non-regression bug in fetch_20newsgroups.
2015-04-15 19:04:47 -04:00
Hsuan-Tien Lin
eff590ab63
add another test case with empty labelset
2015-04-11 08:27:36 +08:00
Hsuan-Tien Lin
f28b41fb76
add the empty label test case
2015-04-11 08:07:51 +08:00
Vinayak Mehta
ce5fada305
Deprecated load_lfw_pairs and load_lfw_people
...
Added deprecated decorator
Added import statement
Added tests
Added newline
Ignored deprecation warnings
Renamed tests for fetch_lfw_
Added imports for load_lfw_
2015-04-10 15:15:40 +05:30
Andreas Mueller
0a4c12f58a
TST remove tempfiles that we create in svmlight tests and agglomerative clustering tests
2015-01-23 11:36:46 -05:00
Calvin Giles
cf3d69be29
Moved code out of context block where not required for #3612
2014-08-31 17:30:16 +01:00
Calvin Giles
dd9e512ddb
Changed f=open() to with open() as f to eliminate ResourceWarnings. Fixes #3410 .
2014-08-31 14:44:11 +01: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
mjbommar
724b63a16c
Replacing the test .todense() methods with .toarray()
2014-05-20 21:44:34 -04:00
Michael Hanke
4c370a7357
BF: load_boston() return 13 features, but 14 feature names
...
Last column has the target value, hence only report first 13 names.
2014-02-17 15:24:35 +01:00
Joel Nothman
dbc26ce996
COSMIT remove unused imports and variables
2014-02-03 19:43:56 +11: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
Olivier Grisel
0a8538ec77
FIX: test failure under windows caused by temp files handling
2013-12-23 16:28:50 +01:00
Lars Buitinck
119cc2407f
BUG SVMlight loader should check whether n_features is big enough
...
scipy.sparse won't complain when it gets a dimensionality that is
too large, causing crashes in estimators.
Fixes #1630 .
2013-11-25 19:09:43 +01:00
Lars Buitinck
8a0b317dd1
TST clean up after ourselves in SVMlight test
...
As spotted by @yarikoptic in #2553 ; also, the test was previously not
loading the bzip'd file.
2013-10-27 17:59:48 +01:00
Andreas Mueller
e42f211435
ENH make sure all "SkipTest" calls have an error message.
2013-10-20 13:43:34 -07: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
Arnaud Joly
aac47a20fc
ENH remove deprecated things (2)
2013-07-25 16:03:57 +02:00
Lars Buitinck
77695ee27a
COSMIT pep8
2013-07-11 11:50:23 +02:00
Justin Vincent
d420aafb0f
TST + PY3 various fixes
...
* Little hack in fixes.py that can be removed when NumPy's
https://github.com/numpy/numpy/issues/3484 is fixed.
* Little cleanup to the fixes implementation.
* Change the numpy workaround and added a test. Fixed some xrange usage.
* Fix the weight boosting test.
* None is not comparable in python3
* Fix a test that depended on dictionary iteration order.
* Python3 removed execfile
* More test fixes.
Fixes #2122 .
2013-07-05 20:17:23 +02:00
Lars Buitinck
41b1f9a909
FIX charset -> encoding in load_files
...
Removed the deprecation of charse_error; this isn't going to be pickled
anyway. Renamed charset_error to decode_error, which I think is more
suggestive of its meaning than encoding_error.
2013-07-04 13:12:58 +02:00
Lars Buitinck
e89ecd8c6e
FIX don't rely on Bunch behavior with fetch_covtype
...
For consistency with new documentation
(176c9cee08 ).
Still returns Bunch so as not to break third-party scripts.
2013-06-18 18:02:41 +02:00
Seamus Abshere
ff0e88213f
ENH reduce size of files produced by dump_svmlight_file
2013-04-16 12:14:58 +02:00