Dimitri Papadopoulos Orfanos
3d4ee9e9dc
MNT Remove utf-8 encoding declarations ( #21260 )
...
Co-authored-by: Jérémie du Boisberranger <34657725+jeremiedbb@users.noreply.github.com>
2022-03-14 17:59:36 +01:00
Thomas J. Fan
36c6c74e5f
FIX Fixes KBinsDiscretizer for encode=ordinal ( #22735 )
...
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2022-03-09 11:10:50 -08:00
Olivier Grisel
279388d9ed
DOC Improve get_feature_names_out docstrings ( #22718 )
...
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2022-03-07 13:02:12 -05:00
Meekail Zain
4d9e005811
FIX np.digitize fixes in calibration and discretization ( #22526 )
...
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
Co-authored-by: Andreas Mueller <andreas.mueller@columbia.edu>
Co-authored-by: Jérémie du Boisberranger <34657725+jeremiedbb@users.noreply.github.com>
2022-02-19 20:50:46 +01:00
mandjevant
231ca9e804
DOC Various documentation improvements ( #21764 )
...
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2021-11-26 11:11:43 +01:00
Aurélien Geron
bacc91cf1d
MNT Make algorithm='auto' default to using 'full' instead of 'elkan' ( #21735 )
...
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2021-11-25 19:16:21 +01:00
Amanda Dsouza
48e5423d74
ENH add parameter subsample to KBinsDiscretizer ( #21445 )
...
Co-authored-by: Felipe Bidu Rodrigues <felipe@felipevr.com>
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2021-11-04 10:20:57 +01:00
Thomas J. Fan
d1285a9232
DOC Adds missing imports into examples and test them ( #21186 )
2021-09-29 13:51:33 +02:00
genvalen
cfbaba1e61
DOC Ensures that KBinsDiscretizer passes numpydoc validation ( #21016 )
2021-09-13 10:55:21 +02:00
Thomas J. Fan
4abd9f2d9e
API Implements get_feature_names_out for transformers that support get_feature_names ( #18444 )
...
Co-authored-by: Andreas Mueller <andreas.mueller@columbia.edu>
Co-authored-by: Andreas Mueller <andreasmuellerml@gmail.com>
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Olivier Grisel <olivier.grisel@gmail.com>
Co-authored-by: Christian Lorentzen <lorentzen.ch@gmail.com>
2021-09-07 10:56:57 +02:00
Thomas J. Fan
786c4e5e39
DOC Adds feature_names_in_ to docstrings ( #20787 )
2021-08-26 13:44:45 +02:00
Thomas J. Fan
3ae7c76153
STY Enables black with experimental_string_processing=true ( #20412 )
2021-06-29 09:47:04 +02:00
Thomas J. Fan
82df48934e
MNT Applies black formatting to most of the code base ( #18948 )
2021-06-17 14:21:09 -04:00
Guillaume Lemaitre
1cd282d600
DOC add n_features_in_ in the documentation ( #20236 )
2021-06-09 16:58:03 +02:00
Tom Dupré la Tour
f6e6ad2d9e
MNT clean futurewarning for 1.0 | _deprecate_positional_args ( #20002 )
...
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2021-05-14 11:30:27 -04:00
Gleb Levitskiy
7ddd6e5d34
KBinsDiscretizer efficiency improvement to 'kmeans' strategy ( #19934 )
...
* efficiency improvement
* update doc
* lint
* lint
2021-04-20 21:39:19 +02:00
Guillaume Lemaitre
266a11b2e1
DOC Update docs guideline regarding docstring formatting ( #18243 )
...
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Jérémie du Boisberranger <34657725+jeremiedbb@users.noreply.github.com>
2021-01-08 12:55:53 -05:00
Thomas J. Fan
d933c20bef
ENH Checks n_features_in_ in preprocessing module ( #18577 )
...
Co-authored-by: Olivier Grisel <olivier.grisel@gmail.com>
Co-authored-by: Joel Nothman <joel.nothman@gmail.com>
Co-authored-by: Christian Lorentzen <lorentzen.ch@gmail.com>
Co-authored-by: Nicolas Hug <contact@nicolas-hug.com>
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2020-10-21 18:11:44 +02:00
Juan Carlos Alfaro Jiménez
28d84693b3
MNT Put back positional args in KBinsDiscretizer ( #18437 )
2020-09-22 11:37:42 -04: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
Albert Villanova del Moral
875d32fe55
DOC Fix versionadded/versionchanged for 0.24 ( #18312 )
2020-09-01 10:51:01 +02:00
Frans Larsson
07842079b5
DOC Fix default values, shape and dtype for preprocessing._discretization.py ( #18290 )
...
Co-authored-by: Juan Carlos Alfaro Jiménez <JuanCarlos.Alfaro@uclm.es>
2020-08-31 12:59:39 +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
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
d205638475
MNT Introduction of n_features_in_ attr with _validate_data mtd ( #16112 )
2020-02-29 09:05:11 -05:00
Soumirai
ea006d3f04
DOC numpydoc validation for KBinsDiscretizer ( #15459 )
2019-11-02 17:54:45 +01:00
Andreas Mueller
03ea20db0f
Fix mixin inheritance order, allow overwriting tags ( #14884 )
2019-09-05 10:13:30 +02:00
Andreas Mueller
92af3dabbb
MAINT simplify check_is_fitted to use any fitted attributes ( #14545 )
2019-08-13 22:09:07 +02:00
Roman Yurchak
2fc3a85b3f
MAINT Use isinstance(x, numbers.Integral) to check for integer dtype ( #14004 )
2019-06-12 19:24:59 -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
Hanmin Qin
b40868d52b
FIX Remove bins whose width <= 1e-8 with a warning in KBinsDiscretizer ( #13165 )
...
* remove redundant bins
* tests
* what's new
* issue number
* numeric issue
* move what's new
* Joel's comment
* forget something
* flake8
* more doc update
* Joel's comment
* redundant bins
* new message
* comment
2019-02-20 15:39:32 +01:00
SandroCasagrande
9ac5793af1
FIX Ensure sorted bin_edges from kmeans strategy of KBinsDiscretizer ( #13135 )
2019-02-12 09:26:49 +08:00
surgan12
62d2059804
MNT remove __future__ imports ( #12791 )
2019-02-02 22:05:06 +08:00
Hanmin Qin
59a1ef7498
DOC Remove outdated doc in KBinsDiscretizer
...
See #13074
2019-01-27 18:05:10 +08:00
Hanmin Qin
025cff28fb
DOC Remove outdated doc in KBinsDiscretizer ( #13047 )
2019-01-27 20:27:20 +11:00
Andreas Mueller
952ef6637a
MRG Drop legacy python / remove six dependencies ( #12639 )
2019-01-03 15:50:05 +02:00
Adrin Jalali
2bd87f6ed8
Remove python < 3.5 from CI ( #12746 )
2018-12-14 10:53:12 +01:00
Hanmin Qin
6b4e00deb0
MNT KBinsDiscretizer.transform should not mutate _encoder ( #12514 )
...
Fixes #12490
2018-11-06 21:44:44 +11:00
ZJ Poh
adddf00433
[MRG] np.ones -> np.full ( #11628 )
2018-07-23 09:49:01 +02:00
Giovanni Giuseppe Costa
61547de6b7
ENH KBinsDiscretizer : inverse_transform for ohe encoder ( #11505 )
2018-07-21 11:57:51 +08:00
Andreas Mueller
b25e222328
MNT misc sphinx website build fixes and dead links ( #11532 )
2018-07-16 09:13:20 +08:00
Hanmin Qin
e4089d1ea2
[MRG] ENH Remove ignored_features in KBinsDiscretizer ( #11467 )
2018-07-11 22:55:28 +02:00
Joel Nothman
e4d18845c3
preprocessing.discretization -> preprocessing._discretization
2018-07-10 09:47:20 +10:00