Commit Graph

13 Commits

Author SHA1 Message Date
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
Andreas Mueller 952ef6637a MRG Drop legacy python / remove six dependencies (#12639) 2019-01-03 15:50:05 +02:00
jeremiedbb ebe77d6936 modify kbins test using kmeans due to unstable local minimum (#12450) 2018-10-24 13:04:38 +02: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
Hanmin Qin e4089d1ea2 [MRG] ENH Remove ignored_features in KBinsDiscretizer (#11467) 2018-07-11 22:55:28 +02:00
Tom Dupré la Tour 5a61af94e2 [MRG+2] Implement two non-uniform strategies for KBinsDiscretizer (discrete branch) (#11272) 2018-07-10 09:29:56 +10:00
Hanmin Qin 2249f8affd comments from hlin177 2017-11-30 16:15:10 +08:00
Tom Dupré la Tour 430af307c5 DOC add a second example for KBinsDiscretizer (#10195) 2017-11-28 09:41:31 +11:00
Hanmin Qin eef7bdb901 add encoding option to KBinsDiscretizer (#9647) 2017-09-07 23:48:30 +10:00
hlin117 7ef342ee89 ENH add fixed-width discretizer 2017-07-12 18:20:14 +10:00