Commit Graph

98 Commits

Author SHA1 Message Date
Thomas J. Fan 21121f5099
TST Fixes column transformer tests (#18452) 2020-09-30 12:39:05 +02:00
Thomas J. Fan 06d6f8a9f6
FIX Passes global configuration when spawning joblib jobs (#17634)
* WIP

* BUG Passes context to joblib jobs

* BUG Fix

* BUG Fix

* CLN Moves delayed into fixes

* CLN Adds linter

* REV Revert diff

* DOC Adds comment for removal

* Use a simple implementation
2020-09-21 16:59:42 +02:00
Albert Villanova del Moral 647fcb1ac1
DOC Fix A to uppercase in See Also docstring section (#18332) 2020-09-04 10:35:01 -04:00
Guillaume Lemaitre 9007dc237c
DOC improve documentation of get/set params (#18285)
Co-authored-by: Juan Carlos Alfaro Jiménez <JuanCarlos.Alfaro@uclm.es>
2020-08-31 12:05:53 -04:00
Ram Rachum 61ec6b9b79
MNT Use raise from in 19 modules (#17835) 2020-08-25 08:57:29 +02:00
Thomas J. Fan 2b655efaf2
FIX Adds remainder in column transformer repr_html (#18167) 2020-08-19 18:40:34 +10:00
Thomas J. Fan 3a796a5873
ENH Adds support for list of bools in column transformer (#17616) 2020-08-07 14:11:05 +02:00
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
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
Jake Tae 493f167c76
Replace *kwargs with named arguments in make_column_transformer (#17623) 2020-06-17 21:09:13 +02:00
Thomas J Fan ee2508ce45
ENH Adds HTML visualizations for estimators (#14180) 2020-04-30 08:31:58 +10: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
lrjball 670b85c9e9
ENH ColumnTransformer.get_feature_names() handles passthrough (#14048) 2020-04-20 01:24:20 +10:00
Adrin Jalali 73813ea180
API make __init__ params in compose module kw-only (#16542)
* API make __init__ params in compose module kw-only

* pep8

* move * to after
2020-03-13 10:38:54 -04:00
lrjball 91d5ac882c
TST Fixes test so that whole test isn't skipped if pandas not… (#16627) 2020-03-03 20:03:57 -05:00
Nicolas Hug d205638475
MNT Introduction of n_features_in_ attr with _validate_data mtd (#16112) 2020-02-29 09:05:11 -05:00
CastaChick ca78d75e75
DOC Fixed documents that refer to Bunch object #16438 (#16447)
* Added links to utils.Bunch and fixed format of the docstring in datasets

* Added links to utils.Bunch in sklearn.compose

* Added links to utils.Bunch in sklearn.tree

* Added links to utils.Bunch in sklearn.ensemble

* Added links to utils.Bunch in sklearn.inspection

* Added links to utils.Bunch in sklearn.pipeline

* modified docstring of Bunch

* Added links to utils.Bunch to index.rst of sklearn.datasets

* Fixed some docstrings because the lines are too long

* Fixed some points as reviewed.

* Add links and delete 'for more information...'

* Fixed indent

* Fixed forgotten points.

* Fixed some points as reviewed.
2020-02-27 10:04:04 +01:00
Thomas J Fan 366d103505
DOC Fixes link in column transformer (#16516) 2020-02-21 21:50:49 +01:00
lopusz 93776b9f52
DOC improve docstring following doc guide in module compose (#16416) 2020-02-20 15:58:25 +01:00
Christian Lorentzen 21686b7147
ENH Sample weights for ElasticNet (#15436) 2020-02-16 14:48:01 +01:00
Roman Feldbauer 9b39c4c4d2
TST Fix unreachable code in tests (#16110) 2020-02-16 14:41:26 +01:00
Roman Yurchak 528b044a22
FIX ColumnTransformer.get_feature_names with for empty list of (#15963)
columns
2020-01-31 14:05:07 +01:00
Hye Sung Jung 3424f72469 DOC spelling fixes (#16247) 2020-01-28 12:52:17 +11:00
Thomas J Fan 37ac3fd125 FEA Add make_column_selector for ColumnTransformer (#12371) 2019-11-05 09:22:26 -05:00
Nicolas Hug 19ad136223 MNT Replace DeprecationWarning with FutureWarning (#15080)
* bruteforce renaming

* WIP

* WIP

* some more

* removed weird line

* update -Werror

* testiforest

* again

* Fixed some tests

* fixed some tests

* removed -Werror

* fixed test_docstring_param issue

* fixed some tests

* some more

* renamed to SklearnDeprecationWarning

* pep8

* updated docs

* pep8

* merge

* changed to FutureWarning

* fixes

* Update doc/developers/tips.rst

Co-Authored-By: Adrin Jalali <adrin.jalali@gmail.com>

* avoid duplicates

* fixed warning for deprecations

* Still make CI break if DeprecationWarning isn't caught

* updated one warning

* fixed test

* fixed some renamings

* updated new dep warnings

* fixed bad import

* ignore warnings

* update again

* ignore futurewarning when walking packages

* Fixed test

* pep8

* Added whatsnew
2019-10-29 15:39:26 +01:00
Nicolas Hug b92455a6b2 MAINT Deprecate all of utils.testing except all_estimators (#15367) 2019-10-28 17:28:56 +01:00
Adrin Jalali 0eebade264 DOC docstring (shape= -> of shape) (#14640) 2019-10-02 20:54:32 -04:00
Nicolas Hug 96c988cdde
MNT Make safe_indexing private (#15104) 2019-10-02 11:47:46 -04:00
Thomas Edwards a8f2c98de7 DOC Improved the docstring of TransformedTargetRegressor (#14916) 2019-09-11 16:28:22 +02:00
Miguel Cabrera a1f514f2e1 [MGR] TransformedTargetRegressor passes fit_params to regressor (#14890) 2019-09-06 12:26:04 +02:00
Thomas J Fan 14f5302b70 DOC Link items explictly (#14817)
* DOC Link items explictly

* STY

* DOC Link another
2019-09-05 11:37:05 +02:00
Andreas Mueller 03ea20db0f Fix mixin inheritance order, allow overwriting tags (#14884) 2019-09-05 10:13:30 +02:00
Guillaume Lemaitre ae5f55888b [MRG] ENH add support for scalar, slice and mask in safe_indexing axis=0 (#14475) 2019-09-04 19:45:19 +10:00
Samesh Lakhotia db23c4ece0 MAINT Fix assert raises in sklearn/compose/tests/ (#14670) 2019-08-17 01:24:08 -04:00
Andreas Mueller 92af3dabbb MAINT simplify check_is_fitted to use any fitted attributes (#14545) 2019-08-13 22:09:07 +02:00
Adrin Jalali da6614fe42 ColumnTransformer input feature name and count validation (#14544) 2019-08-07 12:19:13 -04:00
Guillaume Lemaitre 992ed41ecc FIX change boolean array-likes indexing in old NumPy ver… (#14510) 2019-08-02 10:46:16 -04:00
Andreas Schuderer 9115ab0ed3 FIX ColumnTransformer: raise error on reordered columns with remainder (#14237)
* FIX Raise error on reordered columns in ColumnTransformer with remainder

* FIX Check for different length of X.columns to avoid exception

* FIX linter, line too long

* FIX import _check_key_type from its new location utils

* ENH Adjust doc, allow added columns

* Fix comment typo as suggested, remove non-essential exposition in doc

* Add PR 14237 to what's new

* Avoid AttributeError in favor of ValueError "column names only for DF"

* ENH Add check for n_features_ for array-likes and DataFrames

* Rename self.n_features to self._n_features

* Replaced backslash line continuation with parenthesis

* Style changes
2019-07-22 15:36:46 +02:00
getgaurav2 b27a37ac31 DOC Add link to ColumnTransformer and user guide to make_column_transformer doc (#14279) 2019-07-12 17:50:59 +02:00
Guillaume Lemaitre 5f37ec1a99 ENH add parameter axis in safe_indexing to slice rows and columns (#14035) 2019-07-03 07:59:35 +10:00
Adrin Jalali 19c068a2ec MNT towards removing assert_equal, etc (#14222) 2019-07-01 09:13:32 -04:00
lrjball 0c110701f9 TST Fixed typo in test_column_transformer (#14128)
In test_column_transformer_dataframe(), X_df2 was created but never used. X_df was mistakely being used in its place. The PR fixes that typo.
2019-06-20 10:43:19 +10:00
Roman Yurchak 1015caf54d MAINT Remove imports from sklearn.utils._joblib (#13676)
* Remove sklearn.utils._joblib imports

* Lint

* More fixes
2019-06-18 18:37:14 +04:00
Guillaume Lemaitre 76ce7c5b63 DEP change default validate in FunctionTransformer to False(#13817) 2019-06-13 12:06:01 -04:00
Thomas J Fan 2e7e06b78f [MRG] Doctest with print change only adjusts default options for doctest (#13991) 2019-06-01 10:53:45 +02:00
Guillaume Lemaitre 9ee164baa3 [MRG] DEP remove legacy mode from OneHotEncoder (#13855) 2019-05-29 21:03:29 +10:00
Hanmin Qin 8b1751ac1c
DOC Remove experimental tag from ColumnTransformer (#13835) 2019-05-09 23:26:05 +08:00
Guillaume Lemaitre 7fdac52c19 MNT Remove backward compatibility of param order in make_column_transformer (#13831) 2019-05-09 20:54:30 +08:00
Thomas J Fan 8edd9f9f15 ENH Add verbose option to Pipeline, FeatureUnion, and ColumnTransformer (#11364) 2019-04-22 00:51:21 +10:00
Thomas J Fan eeaaf94458 MNT Warns when reference can not be found. (#13365)
* DOC Adds term to column_transformer

* DOC Adjusts sphinx resolution

* DEV Adds comment

* ENH Uses python instead of css
2019-03-03 16:26:18 +01:00