plagree
1f6ac72df7
[MRG] DOC examples with correct notebook style ( #9061 )
...
* DOC examples with correct notebook style
* Modifications in examples/ to avoid unwanted notebook style
* Remove last notebook style example
* Space formatting to avoid notebook style
2017-06-20 14:48:57 +02:00
Nelle Varoquaux
9b75a81b2d
[MRG] FIX lasso/elasticnet example did not add noise to simulated data. ( #8427 )
...
The first argument of np.random.normal is the mean of the distribution, and
not the output shape. The example thus did not add noise but only an intercept
to the model.
2017-02-22 14:54:32 +01:00
Aman Dalmia
13cc121b30
[MRG] Remove DeprecationWarnings in examples due to using floats instead of ints ( #8040 )
2017-02-03 15:21:03 +01:00
johannah
47a8ffa618
Added colorblind compatibility
2015-10-22 18:59:24 +02:00
Rajat Khanduja
5e20b8c664
Fixed pep8 violations. Some 'line too long' errors still remain.
2014-05-15 09:23:16 +05:30
Rajat Khanduja
2244098532
Updated examples to use pyplot for plotting instead of pylab
...
Some examples not updated because scripts throw error (probably not
because of the change)
2014-05-15 02:18:07 +05:30
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
13e78ff34c
DOC don't use deprecated parameter rho in the lasso / enet examples
2013-01-16 23:24:56 +01:00
Alexandre Gramfort
60be687756
DOC : add doctring in plot_lasso_and_elasticnet.py
2013-01-07 11:19:50 +01:00
Andreas Mueller
38b455d541
Cosmit pep8
2012-12-25 13:16:05 +01:00
GaelVaroquaux
d00c6010be
MISC: fix the random number generators
...
I don't like to have the doc change each time it is generate
2012-03-04 18:24:19 +01:00
Andreas Mueller
adaef3204a
COSMIT make plot look more like other coef plots
2012-03-04 18:24:19 +01:00
Andreas Mueller
977f7d5c13
DOC lasso/enet regression example with coefficient plots, corrected r2 score
2012-03-04 16:17:27 +01:00