Commit Graph

15 Commits

Author SHA1 Message Date
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
Thomas J. Fan 70a185ae59
MAINT Enable and run black on examples (#20502) 2021-10-07 10:13:00 +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
Guillaume Lemaitre c28ef9ef2a DEP change the default of multi_class to 'auto' in logistic regression (#13807) 2019-05-22 09:57:15 -04:00
Guillaume Lemaitre 7896b21562 MNT change default of solver in LogisiticRegression (#13805) 2019-05-08 21:31:39 +08: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
Loïc Estève 719afba518 [MRG] Run more examples as part of the doc generation (#8851)
Also fix errors and flake8 violations of existing examples
2017-05-11 23:42:57 +02:00
Joel Nothman 341ca9323b DOC avoid the plot_ prefix in example where no plot
Also fix line reference
2014-08-20 21:00:54 +10:00
Jaques Grobler cbfe851751 example fixes to clean first docstring paragraph of rst code 2013-07-22 15:48:44 +02:00
Lars Buitinck 837093df7f P3K: use print as a function in the examples
Also corrected some typos, including two people misspelling their own names :)
2013-02-01 15:04:42 +01:00
Andreas Mueller 38b455d541 Cosmit pep8 2012-12-25 13:16:05 +01:00
Andreas Mueller dcc1c7431c COSMIT + MISC pep8, pyflakes, typos and some other cleanup of examples. 2012-04-29 23:13:06 +02:00
GaelVaroquaux 7278dfe482 DOC: finish misc in tutorial
@jaquesgrobler : there were still a few things to do :)
2012-03-26 01:20:53 +02:00
Jaques Grobler 1890d6eefa fixed typo,changed 2.2s numbering, fixed 4 examples in exercises 2012-03-12 10:19:01 +01:00
Jaques Grobler 7f155e9d1a moved exercises into seperate folder, neating up 2012-03-09 16:07:50 +01:00