Commit Graph

69 Commits

Author SHA1 Message Date
Lucy Liu 8f63882bb4
DOC Improve `plot_target_encoder_cross_val.py` example (#26677) 2023-07-27 09:52:03 -04:00
Guillaume Lemaitre 5d145bf760
DOC fixes intersphinx warnings (#26779)
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2023-07-10 20:25:35 +00:00
Lucy Liu b948fdba24
DOC Improve target encoder User Guide (#26643) 2023-06-23 10:28:54 +02:00
Adrin Jalali 42173fdb34
MNT add isort to ruff's rules (#26649) 2023-06-21 17:50:07 +02:00
Dimitri Papadopoulos Orfanos 6ca4970ca2
MAINT Remove encoding declarations: `# -*- coding: utf-8 -*-` (#26467) 2023-05-31 17:26:00 +02:00
Dimitri Papadopoulos Orfanos 2fd022d972
MAINT Fix typos found by codespell (#26448) 2023-05-31 10:19:21 +02:00
Gleb Levitski b32e5c7ab3
ENH Accept 'auto' option for 'dual' parameter in LinearSVC and LinearSVR (#26093) 2023-05-30 16:54:24 +02:00
Thomas J. Fan fe52f1495a
MNT Always reset sckit-learn global config in examples (#26340) 2023-05-09 17:52:16 +02:00
Loïc Estève 7250c69b78
MNT Reset transform_output default in example to fix doc build build (#26269) 2023-04-24 08:39:45 +00: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
Adrin Jalali 893d5accaf
MNT Update black to 23.3.0 (#26110) 2023-04-06 12:14:16 -04:00
futurewarning 7e809dbc32
Fixed feature mapping typo (#25934) 2023-03-22 08:54:44 +01: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
Arturo Amor 4b55dee764
DOC Rework Importance of Feature Scaling example (#25012)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
Co-authored-by: Christian Lorentzen <lorentzen.ch@gmail.com>
2023-01-19 16:48:23 +01:00
David Gilbertson 6e7922e48a
DOC Fix typos on plot_all_scalaing page (#23860) 2022-07-08 11:56:09 +02:00
Chalmer Lowe dded6761c5
DOC Updates the MAxAbsScaler description in scalers example (#22951) 2022-04-04 23:15:07 +02:00
Paul 35af6dc808
EXA Improve example Importance of Feature Scaling (#21630)
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2021-11-26 14:56:25 -05:00
Xiao Yuan 0526c7dd6d
ENH Speed up plot_discretization_classification.py (#21661) 2021-11-16 09:40:02 -08:00
Dimitri Papadopoulos Orfanos d4d5f8c7e0
MAINT consistent use of `print(__doc__)` in examples (#21307)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2021-10-22 15:33:22 +02:00
Dimitri Papadopoulos Orfanos 5f6e17c084
MNT Remove #!/usr/bin/python shebang in examples (#21246) 2021-10-14 18:51:09 +02:00
Thomas J. Fan 70a185ae59
MAINT Enable and run black on examples (#20502) 2021-10-07 10:13:00 +02:00
chrissobel baa8fb8d56
DOC fix y-axis name in preprocessor comparison example (#20722)
Co-authored-by: Christopher Sobel <christopher.sobel@iis.fraunhofer.de>
2021-09-01 13:53:04 +02:00
Thomas J. Fan 81dde3a6e5
STY Ensures that "flake8 ." works (#20298) 2021-06-18 15:46:40 +02:00
Loïc Estève 9099c79639
EXA Fix plot_map_data_to_normal.py example legend (#19930)
Lambda was meant to be on a different line.
2021-04-20 09:57:42 -04: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
Roman Yurchak 94f2e9c5d8
DOC simpler block delimitation in sphinx-gallery examples (#17068)
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2020-06-08 23:23:14 -04:00
Lucy Liu 75c76ae488
DOC Add links, update plot_all_scaling (#17340) 2020-05-26 10:37:24 +02:00
Nicolas Hug b92455a6b2 MAINT Deprecate all of utils.testing except all_estimators (#15367) 2019-10-28 17:28:56 +01:00
Thomas J Fan ca08cd5016 DOC Fix broken link in plot_map_data_to_normal (#15347) 2019-10-23 22:12:33 -04:00
Archana Alva 40b2a6c7e3 EXA Removing redundant parameters assignment in examples (#14360) 2019-07-14 22:26:41 +08:00
Abraham K. Lagat a717619b8b EXA more color blind friendly colors in plot_map_data_to_normal.py (#wimlds) (#14173) 2019-06-24 16:32:35 +02:00
Kennedy Kang'ethe f41cd1e856 EXA Use n_quantiles=500 in plot_map_data_to_normal.py (#14149)
in order to fix warnings
2019-06-24 13:21:44 +02:00
Guillaume Lemaitre 69eb4d4678 [MRG] DEP change default and deprecate iid in SearchCV (#13834) 2019-05-09 14:26:05 +02:00
Guillaume Lemaitre 7896b21562 MNT change default of solver in LogisiticRegression (#13805) 2019-05-08 21:31:39 +08:00
Guillaume Lemaitre 28480f4cb2 DEP change the default of gamma in SVM (#13801) 2019-05-07 16:12:49 +02:00
surgan12 62d2059804 MNT remove __future__ imports (#12791) 2019-02-02 22:05:06 +08:00
Mickaël Schoentgen 2df594564d EXA Fix several DeprecationWarning: invalid escape sequence in examples (#12924) 2019-01-05 12:22:36 +08:00
TakingItCasual f4e7d2b19a Converting http to https (3)... (#12302) 2018-10-05 18:50:31 +02:00
BenjaStudio 08924c340e EXA Fix bad data visualisation in "Importance of Feature Scaling" (#12280) 2018-10-05 15:17:20 +08:00
Nicolas Hug 2d232acdeb [MRG] Add Yeo-Johnson transform to PowerTransformer (#11520) 2018-07-20 22:32:12 +02:00
Léo DS fb0e0fcf5f [MRG] Fix plot_svm_scale_c.py and plot_discretization_classification.py not to use deprecated plt api (#11586) 2018-07-17 15:48:09 -05: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
Tom Dupré la Tour 582b42fe9e ENH remove warnings from example 2018-06-18 15:22:38 +02:00
Tom Dupré la Tour e2b6240310 Merge branch 'master' into 9342
Conflicts:
	sklearn/preprocessing/data.py
	sklearn/preprocessing/tests/test_data.py
2018-06-14 18:06:29 +02:00
Joel Nothman 90a2c57951 EXA Move examples to examples/compose (#11216) 2018-06-11 15:06:21 +08:00
Joel Nothman f737fe6af3
Merge branch 'master' into discrete 2018-05-30 12:56:45 +10:00
Nicholas Nadeau, P.Eng., AVS 3e26fc63be MAINT Fixing Typos (#11017) 2018-04-24 09:32:25 +10:00
Joel Nothman b43fce5a49 MNT Add sklearn.compose and move TransformedTargetRegressor to it (#10719) 2018-03-16 21:27:03 +08:00
Alexandre Boucaud c5706e6ff0 EXA: Use numpy functions instead of user defined (#10447) 2018-01-11 09:13:03 +11:00
Loïc Estève db127bd969 [MRG+1] Support minimal dependencies in examples (#10351)
* Support minimal dependencies in examples
* bins="auto" only supported for numpy >= 1.11
* viridis is default cmap in matplotlib 2
* Use signature instead of viridis cmap
2018-01-08 21:36:28 +01:00