Commit Graph

45 Commits

Author SHA1 Message Date
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
Alexandre Boucaud f158e2dfe2 [MRG+1] Change CV defaults to 5 (#11557)
* add FutureWarning for methods with defaults=3

* add explicit cv values to fix assertion errors

* add tests for catching the FutureWarning

* Write current deprecation version

* Add deprecation in docstring

* change default cv value to None

* change cv from 3 to 5 in the examples

* upgrade doctests

* update doctest in tutorial

* update doctest in cross-validation doc

* fix tests

* add entry to whats new

* address Gael comments

* address Gael comments 2

* fix wrong indentation

* update doc

* add docstring deprecation warning in CV subclasses

* address Andy's comments

* fix PR number

* fix flake8

* add filterwarnings in tests

* fix doctests

* cv=None mendatory in Ridge

* fix warning related errors

* skip some doctests warnings

* make travis happy

* change from deprecated to versionchanged

* fix doctests and remove skipping

* address comments
2018-07-19 14:46:11 +02:00
Joel Nothman 14e7c328df Restructure access to vendored/site Joblib (#11471)
In order to fix #11408, this swaps `joblib` and `_joblib`. It however, allows users to access joblib's `Memory` or `Parallel` functionality without accessing `sklearn.externals._joblib` by importing `Memory`, `Parallel`, etc. into `sklearn.utils`.
2018-07-17 18:02:11 +02:00
Andreas Mueller b0e91e4110 [MRG] Examples fixes (#11539)
* fix contours in gpc xor example

* use LinearSVC in plot_column_transformer
2018-07-16 10:46:43 +02:00
Tom Dupré la Tour 73b7d078a1 MAINT update CategoricalEncoder into OneHotEncoder in example 2018-06-21 11:46:29 +02:00
jeremiedbb 0d8a04bd17 [MRG+1] SimpleImputer(strategy="constant") (#11211) 2018-06-20 17:20:33 +02:00
Pedro Morales bd19a84857 DOC add mixed categorical / continuous example with ColumnTransformer (#11197) 2018-06-13 17:18:49 +10:00
Joel Nothman 90a2c57951 EXA Move examples to examples/compose (#11216) 2018-06-11 15:06:21 +08:00