Commit Graph

52 Commits

Author SHA1 Message Date
Lars Buitinck b09afb08be DOC/MAINT final touches to FunctionTransformer
* copyedit doc
* give the module an underscore (we should do this to all private modules...)
* use public import path in test
* change all logs to log1p to prevent warning in test and because it's
  genuinely useful for frequency data
* what's new
2015-08-03 22:12:19 +02:00
Andreas Mueller 9d14f7352e ENH: Renames CallableTransformer -> FunctionTransformer.
Makes `pass_y` an argument to FunctionTransformer to indicate that the
labels should be passed to the wrapped function.
2015-08-03 11:45:16 -04:00
Joe Jevnik cb0916c440 ENH: Adds CallableTransformer
CallableTransformer allows a user to convert a standard python callable
into a transformer for use in a Pipeline.
2015-08-03 11:45:16 -04:00
Thomas Unterthiner 26fbfe6f2e ENH add minmax_scale 2015-07-01 23:27:35 +02:00
Thomas Unterthiner ab734b7a39 ENH add MaxAbsScaler 2015-06-11 16:08:17 +02:00
Thomas Unterthiner 29e8377e19 Export robust_scale and RobustScaler 2015-05-16 00:08:37 +02:00
Lars Buitinck c484a4a844 MAINT remove deprecated code from preprocessing 2014-07-22 15:57:18 +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 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 dbc26ce996 COSMIT remove unused imports and variables 2014-02-03 19:43:56 +11:00
Jake Vanderplas f372e126c0 fix ordering & docs of PolynomialFeatures 2013-11-15 08:10:15 -08:00
Jake Vanderplas 568c43d6f3 ENH: add PolynomialFeatures preprocessor 2013-11-11 17:18:16 -08:00
Gael Varoquaux 89011e369a MISC: deprecate balance_weights (it's internal) 2013-07-29 03:06:58 +02:00
Nelle Varoquaux e3a764db5e FIX backward compatibility was broken 2013-07-29 03:06:58 +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
Mathieu Blondel c9d27f3dc0 Move preprocessing.py to sklearn/. 2012-01-21 05:39:34 +09:00
Mathieu Blondel ebb42e78e6 preprocessing/__init__.py -> preprocessing/preprocessing.py
It's hard to find the right file when you have several __init__.py
files opened.
2012-01-21 05:29:42 +09:00
Olivier Grisel f09db8ddff more pep8 2012-01-04 00:47:30 +01:00
Andy ed7de9f80f FIX: Notes instead of Note in preprocessing init 2011-12-29 17:02:42 +01:00
Olivier Grisel 8a8c6ebed3 optim: avoid useless memory copy when input is non CSR 2011-12-28 10:43:16 +01:00
Olivier Grisel 671f304ac6 More checks when transforming sparse matrices with centering scalers + typo 2011-12-27 10:05:33 +01:00
Olivier Grisel 2e0857aeac wording 2011-12-25 00:28:53 +01:00
Olivier Grisel f85e7be8c5 fix scaling, more tests and docstrings 2011-12-24 23:36:38 +01:00
Olivier Grisel 1fdbbfb44b WIP: feature scaling for CSR input (lacks some tests) 2011-12-24 12:37:09 +01:00
Olivier Grisel 57a90f8dcf Merge branch 'master' into sparse-scaler 2011-12-23 22:53:31 +01:00
Andreas Mueller 3a6e490e05 COSMIT pep8 2011-12-23 19:12:52 +01:00
Olivier Grisel 0cf16dc7be merge master 2011-12-23 14:28:50 +01:00
Andreas Mueller 6c17d0d8af COSMIT make 'References' bold and minor other fixes. 2011-12-22 20:57:54 +01:00
Andreas Mueller 1a78610a56 FIX getting rid of some more sphinx problems 2011-12-21 20:03:02 +01:00
Lars Buitinck e3163ed18d COSMIT set union in LabelBinarizer 2011-12-21 16:13:36 +01:00
Olivier Grisel e51ceb17bb WIP: scaling CSRs 2011-12-20 15:59:28 +01:00
Olivier Grisel 494fb029cb consolidating all cython utils for sparse CSR in the same file under utils 2011-12-20 13:18:03 +01:00
Mathieu Blondel 1425e29510 Check that LabelBinarizer was fitted. 2011-12-20 12:49:01 +01:00
Mathieu Blondel c3aa2d7e8d Merge multilabel branch with master.
Conflicts:
	sklearn/datasets/_svmlight_format.c
	sklearn/datasets/_svmlight_format.pyx
	sklearn/datasets/tests/test_svmlight_format.py
	sklearn/preprocessing/__init__.py
2011-12-20 12:41:42 +01:00
Gilles Louppe b25c574b76 DOC: Standardized the module documentation format (2) 2011-11-30 11:05:10 +01:00
Andreas Mueller ff3f814a1b COSMIT pep8 whitespace 2011-11-20 21:16:52 +01:00
Andy f36ec61c45 ENH in preprocessing.Scaler, raise warning also if given unsigned int 2011-11-10 11:31:01 +01:00
Andreas Mueller 10a21f7359 ENH: in Scaler, warn if fit or transform called with integer data. 2011-11-05 13:48:05 +01:00
Gael varoquaux 1a1b9f44b2 MISC: better warning message 2011-11-02 08:37:04 +01:00
Gael varoquaux a75373302f MISC: Warn for integers in scaling/normalize 2011-11-02 08:34:56 +01:00
Mathieu Blondel 8a487b61ab ENH Label indicator matrix support in LabelBinarizer and OVRClassifier 2011-10-27 19:12:01 +02:00
Mathieu Blondel 82696d5437 BUG: Use threshold in LabelBinarizer in multi-label case. 2011-10-27 20:32:22 +09:00
Lars Buitinck f161fabd66 BUG handle two-class multilabel case in LabelBinarizer
Would throw an exception due to special handling of binary case.
2011-10-26 16:56:28 +02:00
Lars Buitinck 3bde2bf97b ENH accept matrix input throughout
Simple solution: replace np.asanyarray with np.asarray throughout.
Also, use utils.as_float_array where appropriate.
2011-10-21 13:51:12 +02:00
Fabian Pedregosa ddf4b72109 Move project directory from scikits.learn to sklearn 2011-09-02 12:06:57 +02:00