Commit Graph

57 Commits

Author SHA1 Message Date
Jérémie du Boisberranger bb5ab53f94
API Config: change default display to "diagram" (#22856) 2022-03-21 15:43:07 +01:00
Jérémie du Boisberranger 34f9dbf541
MNT Clean fixes and compat for old versions of our dependencies (#22642)
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2022-03-02 11:32:06 +01:00
Arth c040ab18d1
DOC speed up example plot_digits_pipe.py (#21728)
* Updated plot_digits_pipe

* Updated plot_digits_pipe with StandardScaler preprocessing
2021-11-25 13:05:54 +01:00
Thomas J. Fan 17345f9d97
MNT Adjust n_jobs=2 for examples and tests (#21780) 2021-11-25 10:49:26 +01: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
Reshama Shaikh 7601f87b7a
DOC Display diagram to pipeline example (#18758)
Co-authored-by: Nicolas Hug <contact@nicolas-hug.com>
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2021-10-13 16:31:09 +02:00
Thomas J. Fan 70a185ae59
MAINT Enable and run black on examples (#20502) 2021-10-07 10:13:00 +02:00
Reshama Shaikh abf497b8e6
DOC Fix rendering in plot_pipeline_display. formatting fix with docstring (#20562) 2021-07-21 09:11:54 +02:00
Thomas J. Fan 81dde3a6e5
STY Ensures that "flake8 ." works (#20298) 2021-06-18 15:46:40 +02:00
Vinicius Rios Fuck c59a310e5e
DOC Fix typos plot_column_transformer_mixed_types.py (#19871) 2021-04-12 22:18:20 -04:00
Thomas J. Fan eeddc17a85
ENH Adds missing value support to OneHotEncoder (#17317)
OneHotEncoder supports categorical features with missing values by
considering the missing values as an additional category.
2020-10-09 08:38:33 +02:00
Ghislain Antony Vaillant 9fda736543
DOC Fix typo in plot_feature_union example (#18474) 2020-09-28 16:21:03 -04:00
Hirofumi Suzuki c29092d699
MNT define a parse_version function in sklearn.utils.fixes (#17670)
Co-authored-by: Loïc Estève <loic.esteve@ymail.com>
Co-authored-by: Roman Yurchak <rth.yurchak@gmail.com>
2020-06-24 13:35:49 +02:00
Maren Westermann 4e8dc9db5c
DOC shorten links in examples/* modules (#17636)
* shorten links in examples

* fix linting errors
2020-06-20 17:43:14 +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 a49752375d
DOC Update plot_column_transformer to notebook style (#17028) 2020-05-17 11:03:56 -04:00
Olivier Grisel 9d677b56f4
DOC Fix and extend mixed dtype column transformer example (#17088) 2020-05-16 17:11:02 -04:00
Lucy Liu 78a213b42c
DOC use Ames housing for transformed_target example (#16741) 2020-05-14 11:55:48 +02:00
Thomas J Fan ee2508ce45
ENH Adds HTML visualizations for estimators (#14180) 2020-04-30 08:31:58 +10:00
Guillaume Lemaitre 68197ff6a4
DOC use make_column_selector inside the mixed type example (#16472) 2020-02-23 17:20:01 +01:00
Timsaur 546c42d3a0 DOC improving plot_digits_pipe.py by adjusting parameters and making the graph more clear (#14346)
* changed hyperparameter n_iter from 20 to 10

* hyperparameter tuning

* REV Revert

* improved graph

* Review comments
2019-10-29 11:10:33 +01:00
Thomas J Fan 4a95e33e63 MNT Make modules private in sklearn.datasets (#15307) 2019-10-27 17:17:23 -04:00
smujjiga ab4089edc9 EXA Fix order of arguments in classification_report (#15279) 2019-10-21 00:06:30 +02:00
Adrin Jalali 7a48b6754d DOC fix the odd rendering of the section title in `plot_compar… (#15101) 2019-09-28 23:04:28 +02:00
Andreas Mueller 03ea20db0f Fix mixin inheritance order, allow overwriting tags (#14884) 2019-09-05 10:13:30 +02:00
Sourav Singh f8e4cc495a ENH Add return_X_y to 20_newsgroups and olivetti_faces (#14259) 2019-07-20 10:30:09 +08:00
Hanmin Qin d1f58339b5 EXA Show the advantage of PCA in plot_digits_pipe.py (#14348) 2019-07-18 14:15:47 +02:00
Tilen Kusterle a8efe00876 EXA Use return_X_y=True with load_digits where appropriate (#14359) 2019-07-14 17:10:54 +02:00
Archana Alva 40b2a6c7e3 EXA Removing redundant parameters assignment in examples (#14360) 2019-07-14 22:26:41 +08:00
Hanmin Qin 272d454938 EXA Use dataset name instead of dataset id in plot_column_transformer_mixed_types (#14319) 2019-07-13 12:18:46 +02:00
Guillaume Lemaitre ecea98f9c9 [MRG] DOC fix typo in ColumnTransformer example (#14313)
* DOC fix typo in ColumnTransformer example
2019-07-12 21:32:26 +02:00
Thomas J Fan cf3e303be6 EHN Add pandas dataframe support to fetch_openml (#13902) 2019-07-12 18:05:59 +02:00
Kirill Dolmatov faa940608b EXA Better joblib caching in plot_compare_reduction.py (#14113) 2019-07-02 10:05:28 +02:00
Gideon Sonoiya c97727e8c8 DOC remove liblinear ConvergenceWarning from plot_column_transformer (#14166) 2019-07-01 11:21:47 +02:00
Cathy 55a7752f2e EXA remove warnings by setting n_quantiles in plot_transformed_target (#14156) 2019-06-24 11:49:14 +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
Thomas J Fan 8edd9f9f15 ENH Add verbose option to Pipeline, FeatureUnion, and ColumnTransformer (#11364) 2019-04-22 00:51:21 +10:00
surgan12 62d2059804 MNT remove __future__ imports (#12791) 2019-02-02 22:05:06 +08:00
Adrin Jalali 69c8967e21 DOC Fix warnings in examples (#12654)
Fixe or suppresses many warnings in examples, including matplotlib complaining about the non-gui backend.
2019-01-17 21:41:13 +11:00
Adrin Jalali f70b1ff3f7 EXA change normed to density in matplotlib calls in examples (#12718) 2018-12-06 09:05:41 +08:00
Thomas Moreau d25da1be20 FIX make joblib utils private, and remove mentions of externals.joblib (#12345) 2018-11-20 10:53:52 +11:00
Thomas Fan 9f842e3496 API Adds passthrough option to Pipeline (#11674) 2018-11-05 13:21:57 +11:00
Stephen Tierney 3f5bf97e81 DOC removed ambiguity in pipeline gridsearch example (#12272)
* Removed ambiguity in pipeline gridsearch example

* Formatted to pep8
2018-10-04 09:48:40 -04:00
Andreas Mueller fb7be879a3 [MRG + 1] return_train_score deprecation (#12241) 2018-10-03 19:24:14 +02:00
Olivier Grisel fc7d6e6986 [MRG] Fix FutureWarnings in logistic regression examples (#12114)
* Be more specific about logistic regression solver in examples

* Use early stopped SGD (faster) and plot cross-validated error for best models

* Fix LR solver in /plot_voting_probas.pyexamples/ensemble/plot_voting_probas.py

* Fix LR solver & scale data in plot_digits_classification_exercise.py

* Use saga solver in plot_logistic_l1_l2_sparsity.py

* Use LBFGS solver in plot_iris_logistic.py

* Use LBFGS in plot_logistic.py

* Use SAGA solver for Logistic Regression Path example

* Use LBFGS solver in plot_classifier_chain_yeast.py

* Use LBFGS solver in plot_rbm_logistic_classification.py

* typo

* typo

* Bump up pandas dependency to 0.17.1

* Bump up examples minimal deps to match pandas 0.17.1

* Fix figure layout for plot_digits_pipe.py

* Version numbers are not decimal numbers

* Set multinomial, no scaling to keep example simple, fix formatting of example doc

* Missing plt.tight_layout() in plot_voting_probas.py

* Missing plt.tight_layout() in plot_logistic.py
2018-09-24 18:22:40 +01:00
Dmitry Mottl 81601fb4b8 Fix typo (#12126)
Fix typo in `examples/compose/plot_column_transformer.py`
2018-09-21 09:49:45 +02:00
Andreas Mueller af80a42502 EXA Simplifying column transformer example by removing default values / making use of sparse threshold (#11958) 2018-09-01 09:31:22 +08:00
Hanmin Qin 8890b50606 [MRG+1] EXA Set cv=5 in examples (#11856)
* EXA Set cv=5 in examples

* small mistake

* [doc build]

* [doc build]

* cross_val*

* [doc build]

* [doc build]
2018-08-20 15:22:42 -04:00