Juan Carlos Alfaro Jiménez
547ead6c0c
MNT More replacements of numpy aliases with built-in types ( #17707 )
...
* MNT More replacements of numpy aliases with built-in types [scipy-dev]
* MNT More (manual) replacements of numpy aliases
* MNT More (manual) replacements of numpy aliases
* FIX Minor change
* MNT Trigger build [scipy-dev]
* FIX Minor change
* MNT Trigger build [scipy-dev]
* FIX More deprecations of numpy aliases [scipy-dev]
* MNT Silent numpy aliases warnings [scipy-dev]
* FIX Fix silent deprecations
* Trigger build [scipy-dev]
* FIX Add scape characters [scipy-dev]
* FIX Remove package specification from silent
* Trigger build [scipy-dev]
* Revert
2020-06-26 12:45:03 +02:00
beatrizsmg
ec1070a212
DOC improve attributes and parameters descriptions in MultiLabelBinarizer ( #17718 )
...
Co-authored-by: Nicolas Hug <contact@nicolas-hug.com>
2020-06-25 18:20:40 +02:00
Thomas J. Fan
7cc0177f8e
MNT Replaces numpy alias with builtin typse ( #17687 )
...
* MNT Replaces numpy alias with builtin typse
* STY Lint error
2020-06-24 16:51:51 +02:00
Arthur Imbert
846d51771d
ENH Add dtype parameter to KBinsDiscretizer to manage the output data type ( #16335 )
...
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2020-06-16 14:13:48 +02:00
Saurabh Jain
00bc681e10
DOC shorten class links in docstring using tilde ( #17470 )
...
* added tilde to bunch of files
* Updated _kde.py
Changed array_like to array-like
* Updated _kde.py
Removed space
* updated _kde.py
Added full stop
* PEP8
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2020-06-16 10:44:13 +02:00
Neil Botelho
9fa140406a
DOC add warning note regarding data leakage by using quantile_transform ( #17581 )
2020-06-15 11:32:28 +02:00
Cat Chenal
f9966ba61c
DOC add warning note regarding data leakage by using scale and robust_scale ( #17558 )
2020-06-15 10:30:49 +02:00
George Kiragu
ddb094a07e
DOC add warning to power transform on data leakage( #17535 )
...
Co-authored-by: Adrin Jalali <adrin.jalali@gmail.com>
2020-06-09 13:32:23 +02:00
CeeThinwa
728b413990
DOC added a warning to minmax_scale #dataumbrella ( #17507 )
2020-06-08 18:47:50 -04:00
Sam Ezebunandu
baf8beddf5
DOC standardized formatting for default values in transformer class. ( #17505 )
...
* DOC_standardized formatting for default values in transformer class.
* DOC_use type bool instead of boolean
Co-authored-by: Sam Ezebunandu <samuel.ezebunandu@outlook.com>
2020-06-06 17:04:12 -04:00
Krum Arnaudov
715e240968
DOC added a warning to maxabs_scale to prevent data leakage ( #17487 )
...
* added a warning to maxabs_scale
* Update sklearn/preprocessing/_data.py
Co-authored-by: Nicolas Hug <contact@nicolas-hug.com>
Co-authored-by: Krum Arnaudov <krum.arnaudov@amplifyanalytix.com>
Co-authored-by: Nicolas Hug <contact@nicolas-hug.com>
2020-06-06 16:52:06 -04:00
Lucy Liu
863e58fcd5
ENH Add option to scale output to unit var in RobustScaler ( #17193 )
...
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2020-06-02 14:50:27 +02:00
Alessandro Gentile
ffd1873dca
DOC improve supporting types input and output in preprocessing module ( #16656 )
2020-05-27 15:17:15 +02:00
Lucy Liu
bb4b097fa9
DOC Fix typo in quantile_transformer ( #17343 )
2020-05-25 14:33:11 -04:00
Thomas J Fan
d40d993199
CLN Refactors _encode into two functions ( #17101 )
2020-05-12 14:23:00 -04:00
Thomas J Fan
acbe13c07d
ENH Adds pandas IntegerArray support to check_array ( #16508 )
2020-04-28 19:00:12 +02:00
Gregory R. Lee
3deacb98c7
MNT consistently call import_array() after cimport of numpy ( #17054 )
2020-04-28 12:19:52 +02:00
brigi
dbc35934a6
DOC Version added and changed labels added for v0.18 (#wimlds) ( #16222 )
...
* Versionlabels added to v0.18 (#wimlds)
* documentation issues: label changed and added for version 0.18
* fix intends and shorten description
Co-authored-by: Hannah <32333241+hhnnhh@users.noreply.github.com>
Co-authored-by: Brigitte@home <unger@nue.tu-berlin.de>
2020-04-27 18:43:47 -04:00
Nicolas Hug
76ef8b0ef0
API kwonly for utils ( #17046 )
...
* kwonly for utils
* More
* fixed some
* some more
* iwannagohomepls
* accept_sparse not kwonly anymore
2020-04-27 15:42:01 +02:00
Ekaterina Borovikova
4755ae76d2
DOC Add versionchanged and versionadded for v0.20 ( #16199 )
...
Co-Authored-By: Adrin Jalali <adrin.jalali@gmail.com>
Co-Authored-By: Chiara Marmo <cmarmo@users.noreply.github.com>
Co-Authored-By: Nicolas Hug <contact@nicolas-hug.com>
2020-04-26 09:29:36 -04:00
Thomas J Fan
e54cd3c061
API Deprecate positional arguments in preprocessing ( #16996 )
...
* API Deprecate positional arguments in preprocessing
* CLN Address comments
* CLN Uses classes as a keyword only argument
* BUG Fix
2020-04-23 19:10:49 +02:00
Nicolas Hug
11161820ba
DOC Remove duplicated docstring in MinMaxScaler ( #16835 )
2020-04-04 19:18:44 -04:00
Facundo Ferrín
4346c82ca4
[MRG] Improve error message for None values in OneHotEncoder and OrdinalEncoder ( #16713 )
2020-03-21 14:29:04 +01:00
Roman Yurchak
75d3f29e72
MAINT Remove outdated numpy and scipy backports ( #16725 )
...
* Remove unecessary numpy & scipy backports
* More fixes
* Remove unused imports
2020-03-20 13:57:18 +01:00
Olivier Grisel
6ee1597650
DOC Add note on bias induced by dropping categories in OneHotE… ( #16679 )
2020-03-13 10:25:09 -04:00
Olivier Grisel
aa6ab89994
PEP8 in test_encoders.py
2020-03-12 11:38:37 +01:00
Alex Henrie
438bb3a438
MNT Remove unused imports ( #16665 )
2020-03-11 10:01:51 +11:00
Chiara Marmo
f763c614f4
ENH Add check for non binary variables in OneHotEncoder. ( #16585 )
...
Co-authored-by: Thomas J Fan <thomasjpfan@gmail.com>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2020-03-10 09:58:55 +01:00
Maura Pintor
b189bf6070
FIX: normalizer l_inf should take maximum of absolute values ( #16633 )
2020-03-10 15:24:26 +11:00
Nicolas Hug
d205638475
MNT Introduction of n_features_in_ attr with _validate_data mtd ( #16112 )
2020-02-29 09:05:11 -05:00
Guillaume Lemaitre
b8c402722b
BUG avoid nan variance with sparse input in StandardScaler ( #16466 )
2020-02-27 00:00:22 +11:00
Roman Feldbauer
9b39c4c4d2
TST Fix unreachable code in tests ( #16110 )
2020-02-16 14:41:26 +01:00
Guillaume Lemaitre
db85b1264c
DOC improve the documentation of OneHotEncoder for if_binary ( #16428 )
2020-02-11 18:31:42 +01:00
Rushabh Vasani
7e7e115296
ENH Add 'if_binary' option to drop argument of OneHotEncoder ( #16245 )
2020-02-07 10:18:26 +01:00
Aleksandra Kocot
1ad8a36956
DOC Updates random_state descriptions for sklearn/preprocessing/_data.py ( #16213 )
2020-01-25 13:14:00 -05:00
alexshacked
c4ea377198
FIX ensure object array are properly casted when dtype=object ( #16076 )
2020-01-14 18:06:50 -08:00
Tirth Patel
0c0b6dad69
MRG FIX: order of values of self.quantiles_ in QuantileTransformer ( #15751 )
2019-12-21 17:30:37 +01:00
Loïc Estève
9626583e8f
ENH Improve column_or_1d error message ( #15926 )
2019-12-20 11:14:07 -05:00
Reshama Shaikh
cc8d2d26b8
DOC add versionadded directive to some estimators ( #15849 )
2019-12-19 14:07:03 +01:00
Nicolas Hug
42e17b3487
MNT Removed deprecated attributes and parameters -- ctnd ( #15804 )
2019-12-13 15:05:51 -05:00
Nicolas Hug
4256542b10
MNT Removed deprecated attributes and parameters ( #15803 )
2019-12-09 22:17:06 +08:00
Thomas J Fan
69884d5fd2
ENH: Improves speed of one hot encoding ( #15762 )
2019-12-04 15:53:15 +01:00
Chris Gregory
e06cc9e3fe
MNT Better error message for MinMaxScaler and sparse data ( #15695 )
2019-11-21 09:27:25 -05:00
Paula
ff878d60aa
DOC add versionadded to OneHotEcoder, LabelEncoder ( #15506 )
...
and OrdinalEncoder
2019-11-15 22:01:55 +01:00
Tirth Patel
bf5307bb63
DOC change deprecated:: with versionchanged:: ( #15587 )
2019-11-10 09:05:47 -06:00
Tola A
b862c2555b
DOC Numpydoc validations to `MinMaxScaler` ( #15448 )
2019-11-04 12:03:39 +01:00
Natasha Borders
3ca653af12
DOC adding versionadded labels to several estimators ( #15476 )
2019-11-04 18:25:24 +11:00
Soumirai
ea006d3f04
DOC numpydoc validation for KBinsDiscretizer ( #15459 )
2019-11-02 17:54:45 +01:00
Soumirai
968a67e79f
DOC numpydoc validation for OneHotEncoder and OrdinalEncoder ( #15446 )
2019-11-02 16:15:02 +01:00
Nicolas Hug
b92455a6b2
MAINT Deprecate all of utils.testing except all_estimators ( #15367 )
2019-10-28 17:28:56 +01:00