Adrin Jalali
34db65a3ad
DOC use pydata-sphinx-theme for the website ( #29038 )
...
Co-authored-by: Yao Xiao <108576690+Charlie-XIAO@users.noreply.github.com>
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
Co-authored-by: Guillaume Lemaitre <guillaume@probabl.ai>
2024-05-20 19:36:54 +02:00
Linus Sommer
e2ebce415e
DOC: Added drop down menus to `6.3` Preprocessing Data ( #27922 )
2024-02-16 11:06:21 +00:00
Alan Guedes
63170d0313
Missing import at documentation preprocessing.rst closes #28381 ( #28382 )
2024-02-07 21:24:11 +00:00
Yao Xiao
198908beb9
DOC fix wrong indentations in the documentation that lead to undesired blockquotes ( #28107 )
...
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2024-01-13 17:26:08 +01:00
Lucy Liu
872c19effd
ENH Allows multiclass target in `TargetEncoder` ( #26674 )
...
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2023-09-07 09:52:15 +00:00
Stefanie Senger
8ccaf0da1d
DOC Add links to preprocessing examples in docstrings and userguide ( #26877 )
...
Co-authored-by: Arturo Amor <86408019+ArturoAmorQ@users.noreply.github.com>
Co-authored-by: Adrin Jalali <adrin.jalali@gmail.com>
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2023-08-24 15:15:41 +02:00
Lucy Liu
8f63882bb4
DOC Improve `plot_target_encoder_cross_val.py` example ( #26677 )
2023-07-27 09:52:03 -04:00
Lucy Liu
b948fdba24
DOC Improve target encoder User Guide ( #26643 )
2023-06-23 10:28:54 +02:00
Lucy Liu
0800fb3633
DOC Fix typos in math in Target Encoder user guide ( #26584 )
2023-06-16 10:19:42 +02:00
Thomas J. Fan
1b0e24647f
DOC Adds TargetEncoder example explaining the internal CV ( #26185 )
...
Co-authored-by: Tim Head <betatim@gmail.com>
2023-04-20 10:19:04 +02:00
Thomas J. Fan
7df7062a7a
ENH Adds infrequent categories support to OrdinalEncoder ( #25677 )
...
Co-authored-by: Tim Head <betatim@gmail.com>
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Andreas Mueller <t3kcit@gmail.com>
2023-03-29 10:08:25 +02:00
Thomas J. Fan
392fdee003
ENH Adds TargetEncoder ( #25334 )
...
Co-authored-by: Andreas Mueller <t3kcit@gmail.com>
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Jovan Stojanovic <62058944+jovan-stojanovic@users.noreply.github.com>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2023-03-16 16:59:20 +01:00
Changyao Chen
c7024463bf
DOC add missing trailing colon ( #25542 )
2023-02-04 19:44:22 +00:00
Rushil Desai
7134e4183c
API Rename OneHotEncoder option sparse to sparse_output ( #24412 )
...
Co-authored-by: Christian Lorentzen <lorentzen.ch@gmail.com>
Co-authored-by: Jérémie du Boisberranger <34657725+jeremiedbb@users.noreply.github.com>
2022-09-16 13:46:53 +02:00
Rahil Parikh
90254cde69
DOC corrected wording in preprocessing.rst ( #23980 )
2022-07-25 09:50:12 +02:00
Bardiya Ak
9752c03bf1
DOC add a note for fit no-op in FunctionTransformer ( #23007 )
...
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2022-04-27 14:37:38 +02:00
Thomas J. Fan
51fddb7fdc
ENH Adds encoded_missing_value to OrdinalEncoder ( #21988 )
2022-03-23 13:26:34 +01:00
Thomas J. Fan
7f0006c8aa
ENH Adds infrequent categories to OneHotEncoder ( #16018 )
...
* ENH Completely adds infrequent categories
* STY Linting
* STY Linting
* DOC Improves wording
* DOC Lint
* BUG Fixes
* CLN Address comments
* CLN Address comments
* DOC Uses math to description float min_frequency
* DOC Adds comment regarding drop
* BUG Fixes method name
* DOC Clearer docstring
* TST Adds more tests
* FIX Fixes mege
* CLN More pythonic
* CLN Address comments
* STY Flake8
* CLN Address comments
* DOC Fix
* MRG
* WIP
* ENH Address comments
* STY Fix
* ENH Use functiion call instead of property
* ENH Adds counts feature
* CLN Rename variables
* DOC More details
* CLN Remove unneeded line
* CLN Less lines is less complicated
* CLN Less diffs
* CLN Improves readiabilty
* BUG Fix
* CLN Address comments
* TST Fix
* CLN Address comments
* CLN Address comments
* CLN Move docstring to userguide
* DOC Better wrapping
* TST Adds test to handle_unknown='error'
* ENH Spelling error in docstring
* BUG Fixes counter with nan values
* BUG Removes unneeded test
* BUG Fixes issue
* ENH Sync with main
* DOC Correct settings
* DOC Adds docstring
* DOC Immprove user guide
* DOC Move to 1.0
* DOC Update docs
* TST Remove test
* DOC Update docstring
* STY Linting
* DOC Address comments
* ENH Neater code
* DOC Update explaination for auto
* Update sklearn/preprocessing/_encoders.py
Co-authored-by: Roman Yurchak <rth.yurchak@gmail.com>
* TST Uses docstring instead of comments
* TST Remove call to fit
* TST Spelling error
* ENH Adds support for drop + infrequent categories
* ENH Adds infrequent_if_exist option
* DOC Address comments for user guide
* DOC Address comments for whats_new
* DOC Update docstring based on comments
* CLN Update test with suggestions
* ENH Adds computed property infrequent_categories_
* DOC Adds where the infrequent column is located
* TST Adds more test for infrequent_categories_
* DOC Adds docstring for _compute_drop_idx
* CLN Moves _convert_to_infrequent_idx into its own method
* TST Increases test coverage
* TST Adds failing test
* CLN Careful consideration of dropped and inverse_transform
* STY Linting
* DOC Adds docstrinb about dropping infrequent
* DOC Uses only
* DOC Numpydoc
* TST Includes test for get_feature_names_out
* DOC Move whats new
* DOC Address docstring comments
* DOC Docstring changes
* TST Better comments
* TST Adds check for handle_unknown='ignore' for infrequent
* CLN Make _infrequent_indices private
* CLN Change min_frequency default to None
* DOC Adds comments
* ENH adds support for max_categories=1
* ENH Describe lexicon ordering for ties
* DOC Better docstring
* STY Fix
* CLN Error when explicity dropping an infrequent category
* STY Grammar
Co-authored-by: Joel Nothman <joel.nothman@gmail.com>
Co-authored-by: Roman Yurchak <rth.yurchak@gmail.com>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2022-03-14 15:48:18 +01:00
puhuk
337e0d234b
DOC Use :doi: and :arxiv: directives for references ( #21099 )
2021-10-20 13:53:25 -04:00
Olivier Grisel
45bb9ab916
DOC new example on feature engineering for cyclic time features ( #20281 )
...
Co-authored-by: Roman Yurchak <rth.yurchak@gmail.com>
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
Co-authored-by: Christian Lorentzen <lorentzen.ch@gmail.com>
2021-07-26 11:02:49 +02:00
Guillaume Lemaitre
6a562d31e4
ENH improve KernelCenterer documentation and tests ( #19901 )
...
Co-authored-by: Julien Jerphanion <git@jjerphan.xyz>
Co-authored-by: Sylvain Marié <sylvain.marie@schneider-electric.com>
2021-04-27 17:45:20 +02:00
Thomas J. Fan
c9c89cfc85
ENH Adds support for drop + handle_unknown=ignore in the OneHotEncoder ( #19041 )
...
Co-authored-by: Olivier Grisel <olivier.grisel@gmail.com>
2021-03-31 16:45:38 +02:00
Thomas J. Fan
638b7689bb
ENH Adds nan passthrough in OrdinalEncoder ( #19069 )
2021-02-24 17:23:44 +11:00
Olivier Grisel
43241b1979
DOC fix missing closing quote in user guide
2021-02-19 11:41:29 +01:00
Christian Lorentzen
27f1c737f2
FEA Add SplineTransformer ( #18368 )
2021-01-24 10:53:27 +01:00
Maxime Prieur
58f91434f8
DOC explain how to use custom edge bins in KBinsDiscretizer ( #18972 )
...
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2020-12-15 20:01:17 +01:00
Oleh Kozynets
160debe468
DOC remove mentions of preprocessing functions in the user guide ( #18327 )
2020-10-20 18:20:48 +02:00
Thomas J. Fan
eeddc17a85
ENH Adds missing value support to OneHotEncoder ( #17317 )
...
OneHotEncoder supports categorical features with missing values by
considering the missing values as an additional category.
2020-10-09 08:38:33 +02:00
Maren Westermann
70e1558607
DOC shorten links in doc/* modules ( #17820 )
...
* shorten links in doc modules
* fix links
* implement suggested changes
* try to fix links with tilde sign
* change back broken links in computing.rst and try make link in faq.rst work
* implement reviewer's suggested changes
2020-08-21 14:31:41 +02:00
Thomas J. Fan
6195a16505
DOC Removes FunctionTransformer example ( #17318 )
...
* DOC Removes FunctionTransformer example
* DOC Updates description
2020-06-25 14:27:38 +02:00
Guillaume Lemaitre
db85b1264c
DOC improve the documentation of OneHotEncoder for if_binary ( #16428 )
2020-02-11 18:31:42 +01:00
Johann Faouzi
da31c8188d
DOC Fix typo in Yeo-Johnson formula ( #15280 )
2019-10-17 09:01:00 -04:00
Kanika Sabharwal
40c7978a64
use return_X_y=True for load_iris dataset ( #14777 )
2019-08-24 17:54:16 -04:00
Johann Faouzi
3e22c22818
DOC Use LaTeX for phi in KernelCenterer user manual ( #14245 )
2019-08-01 11:11:53 +02:00
Rajat Garg
3963d948d1
DOC Normalization is aka spatial sign preprocessing ( #12511 )
2019-07-03 10:52:55 +02: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
Albert Thomas
2ad8735c50
FIX set n_quantiles to min(n_samples, n_quantiles) in QuantileTransformer ( #13333 )
2019-03-01 11:23:56 +01:00
Albert Thomas
0f09297cde
ENH: simplify transform for uniform output in QuantileTransformer ( #12827 )
2019-02-26 17:53:38 +01:00
drewmjohnston
350cd4aefa
ENH: Add Drop Option to OneHotEncoder. ( #12908 )
2019-02-26 13:50:21 +01:00
Christos Aridas
eb800524dd
DOC Correct word in preprocessing [ci skip] ( #13216 )
2019-02-21 13:53:43 -08:00
Hanmin Qin
09bc27630f
DOC Formatting issue in preprocessing.rst
2019-02-21 21:56:21 +08:00
Hanmin Qin
ff28c42b19
DOC Wrong statement about KBinsDiscretizer
2019-02-14 22:58:52 +08:00
Nicolas Hug
a50c03f975
[MRG] Add pprint for estimators - continued ( #11705 )
...
* add pprint for estimators
* strip color from length, add color option
* Minor cleaning, fixes, factoring and docs
* Added some basic tests
* Fixed line length issue
* fixed flake8 and added visual test for review
* Fixed test
* Fixed Python 2 issues (inspect.signature import)
* Trying to fix flake8 again
* Added special repr for functions
* Added some other visual tests
* Changed _format_function in to _format_callable
because callable() returns True also for class objects (which we want to
reprensent with their name as well anyway)
* Consistent output in Python 2 and 3
* WIP
* Now using the builtin pprint module
* pep8
* Added changed_only param
* Fixed printing when string would fit in less than line width
* Fixed printing of steps parameter
* Fixed changed_only param for short estimators
* fixed pep8
* Added some more description in docstring
* changed_only is now an option from set_config()
* Put _pprint.py into sklearn/utils, added tests
* Added doctest NORMALIZE_WHITESPACE where needed
* Fixed tests
* fix test-doc
* fixing test that passed before....
* Fixed tests
* Added test for changed_only and long lines
* typo
* Added authors names
* Added license file
* Added ellipsis based on number of elements in sequence + added increasinly aggressive repr strategies
* Updated whatsnew
* dont use increaingly aggressive strategy
* Fixed tests
* Removed LICENSE file and put license text in _pprint.py
* fixed test_base
* Sorted parameters dictionary for consistent output in 3.5
* Actually using OrderedDict...
* Addressed comments
* Added test for NaN changed parameter
* Update whatsnew
* Added example to set_config()
* Removed example
* Added example in gallery
* Spelling
2018-12-19 23:48:21 -05:00
Joel Nothman
8e0802813f
DOC Move 'for instance' to front
2018-10-04 20:36:34 +10:00
Joel Nothman
5e24762322
DOC add note on discretization creating non-linearity ( #12269 )
2018-10-04 15:50:09 +08:00
Nicolas Hug
2d232acdeb
[MRG] Add Yeo-Johnson transform to PowerTransformer ( #11520 )
2018-07-20 22:32:12 +02:00
Andreas Mueller
6ecb98eea3
doctest errors "fixed" by skipping
2018-07-17 18:08:42 -05:00
Andreas Mueller
b25e222328
MNT misc sphinx website build fixes and dead links ( #11532 )
2018-07-16 09:13:20 +08:00
Joel Nothman
40d1f00c82
Merge branch 'master' into discrete
2018-07-10 09:46:03 +10:00