Commit Graph

24 Commits

Author SHA1 Message Date
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