Commit Graph

80 Commits

Author SHA1 Message Date
MechCoder d71c52929a Handle_unknown option to OneHotEncoder
OneHotEncoder fails with a error that is not helpful if a missing
categorical feature is present during transformation.
Add handle_unknown with an "error" and an "ignore" option.
2014-10-24 13:23:53 +02:00
Joel Nothman 9af14b3587 DOC restructure data transformation user guide 2014-09-11 16:54:03 +10:00
Lars Buitinck dd78f1094a DOC rename "imputation.py" to "missing_values.py"
Should make it easier to find.
2014-08-29 23:28:11 +02:00
Lars Buitinck c176ced74d DOC double backticks for fixed-width (code) font
Fixes #3337. Also other minor fixes while I was at it.
2014-07-06 14:18:33 +02:00
Hamzeh Alsalhi 2bfca14c49 ENH sparse matrix support in label binarization 2014-06-25 16:15:19 -04: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
Gael Varoquaux 39f3a76dd6 Merge pull request #2199 from GaelVaroquaux/hc_linkage
[MRG+1] Hierarchical Agglomerative Clustering
2014-03-05 07:00:27 +01:00
Gael Varoquaux 2a4402b504 DOC: rmk different feature scaling in agglomeration 2014-03-04 20:13:54 +01:00
Lars Buitinck caf0035de2 TST fix failing doctest for OneHotEncoder 2014-03-01 17:58:32 +01:00
Gael Varoquaux 3ac34554e4 MISC: documentation and cosmits
Address comments by @jnothman
2014-02-17 11:20:42 +01:00
Gael Varoquaux 445eee2471 DOC: link FeatureAgglomeration better to dim red 2014-02-17 10:07:22 +01:00
Gael Varoquaux 64efbd66c7 MISC+DOC: documentation for FeatureAgglomeration
and many cosmetic comments points out in review.
2014-02-13 00:55:46 +01:00
Gilles Louppe 60a0c2f46c FIX: don't force finite in imputation 2014-01-03 09:49:14 +01:00
Lars Buitinck 40683d5167 DOC while we're at it, link to our own RBM docs 2013-08-13 17:31:40 +02:00
Roland Szabo 90988fdc0c [DOC] Remove that RBM's are not implemented yet 2013-08-13 16:17:03 +03:00
Lars Buitinck 9d893548aa DOC minimal kernel centering narrative docs 2013-07-25 17:58:26 +02:00
Lars Buitinck 96a24e5953 DOC copyedit preprocessing docs 2013-07-25 17:28:13 +02:00
Nicolas Trésegnie 3a0589c160 Del use of as_float_array + naming and documentation improvements 2013-07-25 15:57:07 +02:00
Nicolas Trésegnie 6d79e59877 Fix tests + doc improvements + renaming 2013-07-25 15:57:06 +02:00
Gilles Louppe 0df316c029 FIX: doctest 2013-07-25 15:57:06 +02:00
Nicolas Trésegnie b86071b403 Missing value imputation 2013-07-25 15:57:06 +02:00
Justin Vincent 14f8fdba8e use ELLIPSIS in doctest to deal with numpy changes. 2013-07-10 13:01:41 -04:00
Justin Vincent c619e7ce72 Merge in master 2013-07-10 11:52:23 -04:00
Justin Vincent fe52584e83 Got all the doc-tests working 2013-07-10 10:52:25 -04:00
Lars Buitinck 4fe51bac2b Merge pull request #2027 from mblondel/select_categorical
ENH Non-categorical variables in OneHotEncoder
2013-07-05 11:19:34 -07:00
Jaques Grobler 8861833ec9 DOC spellfixes 2013-06-29 16:18:23 +03:00
Mathieu Blondel 017afab7af Rename _apply_transform to _transform_selected and make it a function
rather than a method.
2013-06-05 19:56:33 +09:00
Andreas Mueller 56b47768f0 DOC added user guide links to all estimators on the whatsnew page 2013-01-20 14:23:29 +01:00
Olivier Grisel daeeb99323 DOC: more improvements / fixes on the MinMaxScaler doc 2012-11-17 13:46:42 +01:00
Olivier Grisel bb1f1ea0a9 DOC: make MinMaxScaler example snippet readable outside of other sections context 2012-11-16 18:46:44 +01:00
Andreas Mueller e3fc34affc DOC improve MinMaxScaler narrative docs. 2012-11-14 11:54:24 +01:00
Andreas Mueller eaf875753e Merge branch 'larsmans_pr' into one_hot_encoder
Conflicts:
	doc/modules/preprocessing.rst
	sklearn/preprocessing.py
	sklearn/tests/test_preprocessing.py
2012-11-09 20:39:21 +00:00
Andreas Mueller 93e4390eec ENH removed ``remove_zeros`` parameter. 2012-11-09 20:29:50 +00:00
Andreas Mueller 8f5589539c TST fixed doctests, added more tests. Still 100% line coverage :) 2012-11-09 20:29:50 +00:00
Andreas Mueller 94218a4962 enh masking out zero features 2012-11-09 20:29:50 +00:00
Andreas Mueller d12607479a ENH better example. 2012-11-09 20:29:50 +00:00
Andreas Mueller 2e1b45595e DOC more typos omg. comment about automatically inferring maximum values. 2012-11-09 20:29:50 +00:00
Andreas Mueller b744d92ea4 ENH user-specified dtype, defaults to np.float, nicer numpy stuff :) 2012-11-09 20:29:50 +00:00
Andreas Mueller 1a3c19ca61 DOC minor fixes / typos. Thanks @larsmans. 2012-11-09 20:29:50 +00:00
Andreas Mueller ff655ad610 ENH added OneHotEncoder 2012-11-09 20:29:50 +00:00
Lars Buitinck f8d7bd43fd ENH OneHotEncoder docs + TypeError + test active_features_ 2012-11-07 17:02:56 +01:00
Andreas Mueller 913fe77b17 DOC add user guide for MinMaxScaler 2012-11-03 15:39:07 +00:00
Andreas Mueller c326b1fabe ENH removed ``remove_zeros`` parameter. 2012-10-27 18:19:57 +01:00
Andreas Mueller e04614ca03 TST fixed doctests, added more tests. Still 100% line coverage :) 2012-10-26 19:08:42 +01:00
Andreas Mueller f2e9d5b21f enh masking out zero features 2012-10-26 19:46:16 +02:00
Andreas Mueller 89257b6561 ENH better example. 2012-10-26 11:56:45 +02:00
Andreas Mueller deebe78c9c DOC more typos omg. comment about automatically inferring maximum values. 2012-10-26 11:14:35 +02:00
Andreas Mueller 086018288d ENH user-specified dtype, defaults to np.float, nicer numpy stuff :) 2012-10-25 22:11:53 +01:00
Andreas Mueller 2660482629 DOC minor fixes / typos. Thanks @larsmans. 2012-10-25 21:57:53 +01:00
Andreas Mueller fd9e1c2379 ENH added OneHotEncoder 2012-10-25 21:07:02 +01:00