Commit Graph

142 Commits

Author SHA1 Message Date
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
Vlad Niculae 9c1217ce5b TYPO remove mutli (did you mean Muttley?) 2014-07-15 12:09:45 +02:00
Tomas Kazmar b65e4c8d9d FIX MinMaxScaler behavior on 1D inputs. 2014-07-13 18:35:21 +02:00
Lars Buitinck 9e56b2b469 DOC more explicit docstring for preprocessing.normalize 2014-07-08 17:31:39 +02:00
Lars Buitinck 5358be563a TST crank up preprocessing tests to 99% coverage
Fixes #3347. (nosetests reports no missing lines, so 99% seems to
be a roundoff error, or a hint that 100% coverage is impossible :p)
2014-07-06 14:43:26 +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
Olivier Grisel 5b854514bb Merge branch 'pr/3263': minor fixes from the 0.15.X branch 2014-06-09 14:47:05 +02: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
Lars Buitinck 60e8aeaf22 TST test interaction features outside doctest 2014-06-07 15:00:41 +02:00
Lars Buitinck 7accbfa5d4 Merge pull request #3239 from larsmans/faster-poly-features
compute poly features directly and allow interaction features only
2014-06-05 18:00:58 +02:00
Lars Buitinck de42d692d8 ENH interaction_only in PolynomialFeatures 2014-06-05 17:46:07 +02:00
Lars Buitinck f4251347af ENH/DOC fix poly features complexity
Fixes #3191, #3194.
2014-06-05 17:45:32 +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 28eb1ebe15 Assert or ignore all sequence of sequences deprecation warnings 2014-06-05 11:20:36 +02:00
Joel Nothman 9cfa1f38ad TST stronger test for non-integers in MultiLabelBinarizer 2014-06-05 11:20:36 +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 4dfde8bd54 FIX No set construction shorthand in Py2.6 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
Olivier Grisel 40597f1df5 Merge pull request #3169 from mjbommar/issue-3167-eradicate-todense
PR re: issue 3167 to eradicate .todense()
2014-05-24 21:02:47 +02:00
mjbommar 724b63a16c Replacing the test .todense() methods with .toarray() 2014-05-20 21:44:34 -04:00
Thomas Unterthiner 325e998fcc Extend utils.sparsefuncs: inplace scale and axis min/max 2014-05-18 20:03:37 +10:00
Lars Buitinck 32c843b4b9 COSMIT: pep8, trailing spaces 2014-03-29 17:59:35 +01:00
Manoj-Kumar-S bbb8f1d1bf Moved sparsefuncs to sparsefuncs_fast 2014-03-27 13:20:45 +05:30
Lars Buitinck 9e2071bb99 DOC clarify Imputer constructor: arbitrary strings not accepted 2014-03-19 10:53:57 +01:00
Lars Buitinck 4c6e0263b4 MAINT final occurrence of "Scaler" 2014-03-12 14:11:32 +01:00
Lars Buitinck 0abe21eaac MAINT remove some deprecated stuff 2014-03-12 13:33:42 +01:00
Joel Nothman c530f5aed4 FIX for early numpy where astype(..., copy=...) unavailable 2014-03-12 14:24:26 +11:00
Gael Varoquaux 14b435c136 Merge pull request #2938 from jnothman/clean_impute
[MRG+1] some clean-up in Imputer, particularly in calculation of sparse median
2014-03-11 19:18:05 -07:00
Joel Nothman 79a8012ecd FIX for numpy compatibility, code clarity 2014-03-08 21:46:32 +11:00
Joel Nothman b4ca1d6f1f COSMIT Remove unnecessary assertion 2014-03-07 09:18:43 +11:00
Joel Nothman 43da4ad830 ENH/TST remove unnecessary sorts and complete testing for sparse median 2014-03-04 00:16:49 +11:00
Lars Buitinck b97fb3c5fc MAINT drop support for NumPy < 1.6.1 2014-03-02 20:13:57 +01:00
Joel Nothman b80b0ea2d3 STY Simplify and avoided numpy warnings in imputation 2014-03-02 22:07:02 +11:00
kaushik94 276e260486 ENH add sparse parameter to OneHotEncoder 2014-03-01 17:21:24 +01:00