Commit Graph

58 Commits

Author SHA1 Message Date
seales 0485ada58b General spelling fixes 2015-12-16 09:46:42 -08:00
Varun 299c2751ca BUG :#5782 check_classification_targets returns y instead of y_type 2015-11-10 16:02:07 -05:00
Jiali Mei 85223b9bcc a common test to check if classifiers fail when fed regression targets 2015-10-14 14:46:13 -04:00
TomDLT fecd35567e FIX array_equal for numpy < 1.8.1 2015-09-16 19:15:48 +02:00
TomDLT 628ed2c867 ENH remove some warnings in test suit 2015-09-16 18:27:58 +02:00
Raghav R V 18221db9fd FIX type_of_target will now raise ValueError on ml-seq; [[1, 2]] is mc-mo; 2015-08-11 22:27:15 +05:30
Raghav R V c031b39787 MAINT is_label_indicator_matrix --> is_multilabel 2015-08-11 22:27:15 +05:30
Raghav R V 7def0a75cd TST/MAINT reintroduce mixed types test sans seq. of seq. 2015-08-11 22:27:15 +05:30
Raghav R V 8f1ad4437f FIX 2D binary array-like must be considered as unknown 2015-08-11 22:27:14 +05:30
Raghav R V 3bd6132f25 FIX make sure empty target vectors are returned as binary 2015-08-11 22:27:14 +05:30
Raghav R V 72f6225f7b MAINT/ENH inline the logic for _is_sequence_of_sequences 2015-08-11 22:27:14 +05:30
Raghav R V b0e44c31d9 MAINT return 'unknown' for seq. of seqs in type_of_target 2015-08-11 22:26:44 +05:30
Loïc Estève 67dcd99d82 TST fix tests with numpy 1.6.1
np.bincount raises an Exception with empty input arrays for numpy versions < 1.6.2
Add utils.fixes.bincount to tackle this issue and use it instead of np.bincount
2015-02-01 15:49:49 +01:00
Raghav R V b3fbccca38 FIX various mismatch between docstring and signature params
DOC max_iterations -> max_iter. Make it consistent with kmeans

MAINT Replace the deprecated dx parameter with d in the docstrings

MAINT Deprecation warning for max_iterations parameter.
2015-01-16 11:54:57 -05:00
Hamzeh Alsalhi 2198a84388 Manage explicit zeros manualy in class_distribution, test with explicit zeros 2014-08-09 10:33:35 -04:00
Hamzeh Alsalhi 1873ef867c Test explicit sample wieghts in the sparse case of class_distribution 2014-08-07 17:20:07 -04:00
Hamzeh Alsalhi 7b7784e0aa Make cosmetic changes
Break list comprehenesions differently in dummy precit

Drop uncesseray float() in multiclass class_distrribtuion

Combine two lines in random_choice_csc
2014-08-06 23:01:42 -04:00
Hamzeh Alsalhi 5ba7df8b6c Include dense case support in class_distribution, pep8 revisions
Make The function previoulsy sparse_class_distribution support both the sparse and
dense case, and make some cosmetic updates for imporved readability
2014-08-05 09:45:20 -04:00
Hamzeh Alsalhi 478f9adc23 Comment .eliminate_zeros() in sparse class distribution 2014-08-04 18:45:31 -04:00
Hamzeh Alsalhi 81f82682d6 Move test_sparse_class_distribution to utils/multiclass from utils/sparsefuncs 2014-08-04 18:24:07 -04:00
Andreas Mueller 6e2a83b4e1 remove check_arrays stuff and old input validation 2014-07-20 13:31:45 +02:00
Gael Varoquaux 81b86f1077 COSMIT: fix indentation 2014-07-17 11:44:07 +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
Gael Varoquaux bbf7ae7565 BUG: Support array interface 2014-07-17 11:44:07 +02:00
Andreas Mueller be5826d6b9 BUG: Support array interface 2014-07-16 15:30:39 +02:00
Vlad Niculae 9c1217ce5b TYPO remove mutli (did you mean Muttley?) 2014-07-15 12:09:45 +02:00
Imran Haque d709833247 Preserve public API 2014-07-04 12:50:23 -07:00
Hamzeh Alsalhi 2bfca14c49 ENH sparse matrix support in label binarization 2014-06-25 16:15:19 -04:00
Joel Nothman 28eb1ebe15 Assert or ignore all sequence of sequences deprecation warnings 2014-06-05 11:20:36 +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
Joel Nothman dbc26ce996 COSMIT remove unused imports and variables 2014-02-03 19:43:56 +11:00
Joel Nothman de7bee4f22 ENH support multiclass targets of string objects 2013-12-05 21:56:54 +11:00
Olivier Grisel 08de819b2c Rename helper partial_fit function 2013-07-25 11:16:29 +02:00
Olivier Grisel aa44a2160c Use unique_labels more consistently in the multiclass model 2013-07-25 10:21:25 +02:00
Olivier Grisel 1505af9832 Add missing test for sample weight with partial_fit + fix issue classes passed as a list instead of an array 2013-07-25 10:21:24 +02:00
Olivier Grisel 84397fb09b Factorize common classes checks in partial_fit implementations 2013-07-25 10:21:24 +02:00
Arnaud Joly da7fe8964a DOC add example is_multilabel 2013-07-22 15:49:31 +02:00
Arnaud Joly a62abe66ff ENH use a comprehension over imap 2013-07-08 13:49:25 +02:00
Arnaud Joly a9197f3dad FIX bug with indicator format 2013-07-08 13:49:25 +02:00
Arnaud Joly 109f2fb630 OPTIM + ENH simplify mix string and number check 2013-07-08 13:49:25 +02:00
Arnaud Joly 7699100be8 PY3K use six.string_type 2013-07-08 13:49:25 +02:00
Arnaud Joly 7856a72da8 Flatten label type checking 2013-07-08 13:49:25 +02:00
Arnaud Joly aef47a751a ENH check that we don't mix number and strings 2013-07-08 13:49:25 +02:00
Arnaud Joly 61d9f41d58 ENH improve documentation with allowed label types 2013-07-08 13:49:25 +02:00
Arnaud Joly 91e4b9a91f ENH use type_of_target within unique_labels 2013-07-08 13:49:24 +02:00
Arnaud Joly 46d4718712 Typo 2013-07-08 13:49:24 +02:00
Arnaud Joly 45847a7b42 COSMIT better name 2013-07-08 13:49:24 +02:00
Arnaud Joly 825b2c0cad ENH simpler check for mix of string and number input 2013-07-08 13:49:24 +02:00
Arnaud Joly adcb0a811e ENH don't allow mix of input multilabel format 2013-07-08 13:49:24 +02:00
Arnaud Joly e3ca5c13eb FIX issue with comparable but different dtype 2013-07-08 13:49:24 +02:00