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
Rohan Lekhwani
e0697b01a7
MNT Used scipy.special.expit for the inverse of the logit function ( #12931 )
2019-01-08 18:35:19 +11:00
Joel Nothman
79f5d147ea
MNT Revert the deprecation of min_samples_leaf and min_weight_fraction_leaf ( #11998 )
2018-09-08 16:43:21 +02:00
Joel Nothman
2fe58e517c
Deprecate min_samples_leaf and min_weight_fraction_leaf ( #11870 )
2018-08-23 08:30:47 +03: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
Yen
42120e50bb
[MRG+1] Rename CV params n_{folds,iter} to n_splits ( #7187 )
...
* Rename n_iter to n_splits
* Fix bug
* Fix examples
* Add spaces
* Rename n_folds to n_splits
* Fix error
* Fix doc
* Fix doc
* Fix example
* Rename variables name
* PEP8
* Fix error message
* Add whats_new
* Fix test
* Fix doc
* Fix doc
* Make test clear
2016-08-16 13:56:55 -07:00
Raghav R V
f67e911124
DOC Modify documentation/examples for the new model_selection module
2015-10-29 16:49:23 +01:00
Andreas Mueller
c970fb51e7
COSMIT spelling
2015-01-15 15:09:35 -05:00
Gilles Louppe
b499743c93
DOC: update examples, use matplotlib.pyplot instead of pylab
2014-02-27 10:22:21 +01:00
hendrik
8f94ae6d0f
PY3 fixed examples
2014-02-15 17:05:08 +01:00
Peter Prettenhofer
63c8848898
example doc string
2013-07-24 11:17:34 +02:00
Peter Prettenhofer
cebaeebbce
moved to new pyplot import
2013-07-24 11:17:33 +02:00
Peter Prettenhofer
e75d9bb67b
rn: ACC -> Accuracy
2013-07-24 11:17:33 +02:00
Peter Prettenhofer
42ff16cade
use new style str formatting
2013-07-24 11:17:33 +02:00
Peter Prettenhofer
b8f018d379
more doc for OOB example
2013-07-24 11:17:33 +02:00
Peter Prettenhofer
725020a991
cosmit: rs -> random_state
2013-07-24 11:17:33 +02:00
Peter Prettenhofer
017b605a14
cosmit: n -> n_samples
2013-07-24 11:17:32 +02:00
Peter Prettenhofer
c2e9949b72
comments
2013-07-24 11:17:32 +02:00
Peter Prettenhofer
81ffae583c
cosmit: use train_test_split - tuned params for nice plot
2013-07-24 11:17:32 +02:00
Peter Prettenhofer
8376e12df3
more docstrings
2013-07-24 11:17:32 +02:00
Peter Prettenhofer
1fd0090e1f
rn: plt -> pl
2013-07-24 11:17:32 +02:00
Peter Prettenhofer
9b2008101a
plot cv error as well
2013-07-24 11:17:31 +02:00
Peter Prettenhofer
eecca4b06f
example for oob estimates in GBRT
2013-07-24 11:17:31 +02:00