Olivier Grisel
feceab6f62
FIX test for consistent handling on empty input data
2015-02-26 10:45:06 +01:00
Andreas Mueller
cd5166e82f
make check_array convert object to float.
...
fix dtype check, add test. unfriend all multi-output estimators on facebook.
try to fix what is happening to y (by doing nothing to y)
make test work...
Make everything accept object y or say "invalid label"
fix multioutput linear models
add test for sensible error message.
2015-02-15 12:13:41 -05:00
Andreas van Cranenburgh
38920a3c6d
add 'MultiLabelBinarizer' to __all__
...
Prevents spurious pylint error.
2015-01-02 22:44:21 +01:00
isms
1945aec44c
DOC: Fix LabelBinarizer docstring to rst format bug
...
- Also add line to make multilabel classification example more instructive
- Use one line for 2D array so syntax highlighting is correct
2014-11-25 13:45:26 -05:00
Joel Nothman
5024503183
DOC document MultiLabelBinarizer.sparse_output param
2014-08-22 07:59:48 +10:00
jnothman
e1891d801b
Merge pull request #3489 from jnothman/attributes-doc
...
[MRG] DOC fix formatting of Attributes sections in documentation
2014-08-02 20:14:53 +10:00
Hamzeh Alsalhi
cbcae0459c
FIX Support unseen labels LabelBinarizer and test
...
This fix restores the default behavior of 0.14.1 for backward
compat.
2014-07-29 16:21:04 +02:00
Joel Nothman
b3bdb08964
DOC fix formatting of attributes etc. in docstrings
2014-07-28 19:04:59 +10:00
Lars Buitinck
c484a4a844
MAINT remove deprecated code from preprocessing
2014-07-22 15:57:18 +02:00
Andreas Mueller
c235c3b566
ENH add allowed_sparse named argument for @ogrisel
2014-07-20 15:31:28 +02:00
Andreas Mueller
6e2a83b4e1
remove check_arrays stuff and old input validation
2014-07-20 13:31:45 +02:00
Hamzeh Alsalhi
9f45e3730f
Modified sparse OvR to handle sparse target data
...
Defaulted label binarizer to set sparse_output=True when training ovr
classifiers, edited Label binarizer to allow for sparse binary column output
2014-07-18 12:10:50 +02:00
Andreas Mueller
b080d93b5e
ENH don't convert dataframes in grid search and cross-validation
2014-07-18 10:02:14 +02:00
Gael Varoquaux
7768a3059b
ENH: enable y to only implement the array interface
...
For instance y could be a pandas' dataframe
2014-07-17 11:44:07 +02:00
Hamzeh Alsalhi
7a70e0f8d3
FIX Forced dtype to int when densifying array in label_binarize
2014-06-25 18:04:15 -04:00
Hamzeh Alsalhi
2bfca14c49
ENH sparse matrix support in label binarization
2014-06-25 16:15:19 -04:00
Joel Nothman
68b0a285b4
DOC Note shape of binary binarized output
2014-06-20 14:14:57 -04:00
Joel Nothman
0309793c97
DOC give example of binarizing binary targets
...
H/T @ilam
2014-06-19 15:40:48 -07:00
Andreas Mueller
d12d3132c4
Fix some fun column span alignment errors.
2014-06-07 16:48:48 +02:00
Andreas Mueller
67b8601314
Minor fixes in the docs
2014-06-07 16:38:53 +02:00
Olivier Grisel
c9048fbccb
FIX workaround doctest failure with old numpy
2014-06-05 13:21:54 +02:00
Olivier Grisel
c013e26a61
ENH use the np.int dtype to encode integer classes
2014-06-05 12:01:04 +02:00
Joel Nothman
fc0150d08d
DOC/FIX Address @arjoly's comments
2014-06-05 11:20:36 +02:00
Joel Nothman
dcb24172c4
No set construction shorthand in Py2.6
2014-06-05 11:20:36 +02:00
Joel Nothman
5b4a3c8d41
TST Validate input MultiLabelBinarizer.inverse_transform
2014-06-05 11:20:36 +02:00
Joel Nothman
b2fe367562
DOC comment on _transform interface
...
Also avoid stride trick
2014-06-05 11:20:36 +02:00
Joel Nothman
f18a07ac9a
FIX don't use dict comprehension for Py 2.6
2014-06-05 11:20:36 +02:00
Joel Nothman
255895d951
DOC remove mention of sequence of sequences in Parameters sections
2014-06-05 11:20:36 +02:00
Joel Nothman
8ce9077241
ENH do not allocate memory for temporary array of 1s
2014-06-05 11:20:36 +02:00
Joel Nothman
bbc3e7e668
COSMIT use mlb for MultiLabelBinarizer instances
...
This class had been called LabelSetsBinarizer, for which lsb was appropriate
2014-06-05 11:20:36 +02:00
Joel Nothman
37730f4c46
COSMIT use MultiLabelBinarizer in LabelBinarizer during deprecation
2014-06-05 11:20:36 +02:00
Joel Nothman
742505d870
FIX remove duplicates in MultiLabelBinarizer
2014-06-05 11:20:35 +02:00
Joel Nothman
18c399e20a
MAINT deprecate sequences of sequences support
...
* add warnings
* provide alternative binarizer, sklearn.preprocessing.MultiLabelBinarizer
* fix documentation
2014-06-05 11:20:35 +02:00
Lars Buitinck
b97fb3c5fc
MAINT drop support for NumPy < 1.6.1
2014-03-02 20:13:57 +01:00
Olivier Grisel
e4c27d5167
FIX: np.searchsorted numpy bug on unicode objects also impacts 1.6.1
2014-01-08 11:36:11 +01:00
Olivier Grisel
a207c7007f
Use a RuntimeError instead of a warning to avoid raising a ValueError randomly later
2013-10-16 14:15:21 +02:00
Olivier Grisel
913e471b34
FIX #2481 : add warning for bug in old numpy with unicode
2013-10-15 16:30:01 +02:00
Arnaud Joly
8c987efe0a
FIX issue #1993: passing a multilabel indicator is no more noop
2013-09-16 13:40:26 +02:00
Joel Nothman
79dc28853c
DOC add missing Returns description
2013-09-10 07:46:25 +10:00
Brooke Osborn
2eddb1a29f
BUG fix whitespace in error messages
...
Partial fix for #2380 .
Signed-off-by: Lars Buitinck <L.J.Buitinck@uva.nl>
2013-08-26 17:02:52 +02:00
Mathieu Blondel
07c15de882
Typo.
2013-08-06 11:37:44 +09:00
Andreas Mueller
716fbb062c
much better input validation, test that warning is raised on (n_samples, 1) y
2013-07-28 16:08:16 +02:00
Andreas Mueller
be62aa9d0c
more fixes for docs, deprecated interfaces
2013-07-28 13:34:40 +02:00
Andreas Mueller
57963598ac
fixing ridge and label binarizer... I'm pretty sure that worked before?
2013-07-27 13:30:00 +02:00
Nicolas Trésegnie
f713996882
pyflakes and pep8
2013-07-26 17:08:59 +02:00
Nicolas Trésegnie
9cb320dd6d
Imp move OneHotEncoder to preprocessing/data.py
2013-07-26 17:08:59 +02:00
Nicolas Trésegnie
15984d9a55
Del unused imports in preprocessing + pep8
2013-07-26 17:08:58 +02:00
Nicolas Trésegnie
b8201b452f
Imp splitting of test_preprocessing.py
2013-07-26 17:08:58 +02:00
Nicolas Trésegnie
ec6057a384
Imp splitting of preprocessing.py
2013-07-26 17:08:58 +02:00