Mateusz Sokół
0e56ae34f8
MAINT: Remove `np.int_` and `np.uint` ( #27523 )
2023-10-06 12:20:14 +02: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
Adrin Jalali
42173fdb34
MNT add isort to ruff's rules ( #26649 )
2023-06-21 17:50:07 +02:00
Jérémie du Boisberranger
9c266cf5d6
MAINT Param validation: decorate all estimators with _fit_context ( #26473 )
2023-06-14 16:52:35 +02:00
Jérémie du Boisberranger
199cdfd768
ENH Change default value of subsample + allow for all strategies in KBinsDiscretizer ( #26424 )
...
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2023-05-31 18:06:11 -04:00
Adrin Jalali
893d5accaf
MNT Update black to 23.3.0 ( #26110 )
2023-04-06 12:14:16 -04:00
Alex Buzenet
d85b1d3302
ENH Raise NotFittedError in get_feature_names_out for MissingIndicator, KBinsDiscretizer, SplineTransformer, DictVectorizer ( #25402 )
...
Co-authored-by: Alex <alex.buzenet.fr@gmail.com>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2023-01-23 10:59:14 -05:00
Gleb Levitski
cde6d65794
ENH KBinsDiscretizer sample_weight support for kmeans strategy ( #25257 )
2023-01-03 11:38:34 -08:00
Dea María Léon
1f3c1be77a
ENH add support for sample_weight in KBinsDiscretizer with strategy="quantile" ( #24935 )
...
Co-authored-by: seladus <clement.blancovolle@insa-rouen.fr>
Co-authored-by: Seladus <71873495+Seladus@users.noreply.github.com>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2022-12-13 17:11:47 +01: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
Jérémie du Boisberranger
f96da4076d
ENH Param validation: Introduce Options constraint ( #24048 )
2022-08-30 10:35:48 -04:00
Thomas J. Fan
02ebf9e68f
MNT Adds dict typing hint to _parameter_constraints for mypy ( #24301 )
2022-08-30 11:01:10 +02:00
SangamSwadik
652a6278c4
MAINT parameter validation for KbinsDiscretizer ( #23804 )
...
Co-authored-by: Sangam Swadi K <sangamswadik@users.noreply.github.com>
Co-authored-by: Jérémie du Boisberranger <34657725+jeremiedbb@users.noreply.github.com>
Co-authored-by: jeremiedbb <jeremiedbb@yahoo.fr>
2022-07-06 16:11:52 +02:00
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