Commit Graph

27 Commits

Author SHA1 Message Date
Alexandre Gramfort 5a12763441 API : renaming LARS to Lars 2011-07-25 21:41:48 -04:00
Gael varoquaux 98ede0d989 Typo 2011-07-23 14:17:14 +02:00
Gael varoquaux eebc2ec325 DOC: Improve the Bayesian regression docs 2011-07-23 14:17:06 +02:00
Alexandre Gramfort 6a1e2b31f2 pep8 2011-07-21 09:49:19 -04:00
Alexandre Gramfort 6cd32e0976 BUG: s/empty/zeros in plot_lasso_bic_aic.py 2011-07-21 09:48:37 -04:00
Alexandre Gramfort d3502b09ad ENH : adding LASSO model selection example based on BIC and AIC 2011-07-21 08:58:13 -04:00
Mathieu Blondel 298259070e Improve Logistic Regression sparsity example. 2011-07-10 01:58:56 +09:00
Fabian Pedregosa 05f54c2cda DOC: new example for Ridge + more rst docs 2011-07-08 11:27:50 +02:00
Gael varoquaux f2f0caef27 DOC: Tweak the cross-val lasso path example 2011-06-18 09:33:14 +02:00
Paolo Losi e44915fda8 the l1 logreg example now works with l1_min_c 2011-04-26 09:32:37 +02:00
Mathieu Blondel 66483cf2c0 Use np.vander. 2011-03-30 14:58:38 +09:00
Mathieu Blondel b7c9201f6b Add polynomial interpolation example. 2011-03-24 16:04:40 +09:00
Peter Prettenhofer bc16f01e24 Additional tests for sample weights.
Fixed some typos in doc strings.
Changed signature of coef_ for SGDClassifier; now adheres to svm convention that coef_ is shape [1, n_features] in the case of binary classification.
2011-03-15 20:50:44 +01:00
Peter Prettenhofer dfa75da35d Sample weights for SGDClassifier.
Additional test cases for class weight and sample weight.
Example plot for sample weight.
2011-03-15 19:58:56 +01:00
Gael varoquaux 21175e3629 MISC: Fix example to adjust to eps -> tol 2011-03-02 06:52:58 +01:00
Fabian Pedregosa 8864e0f32b Remove example plot_lar.py
First, because it is wrong, as it prints the path of the Lasso and not
of Least Angle Regression. And second, because it is the same as
plot_lasso_lars.
2010-12-14 19:19:24 +01:00
Alexandre Gramfort 89377b979a API : maxit replaced by max_iter everywhere
API : removing default computation of r2 coef in coordinate_descent (speed up +
    can be accessed simply eg. lasso.score(X, y))
2010-12-11 23:14:55 -05:00
Alexandre Gramfort 7b94a59a59 pep8 + N->n_samples and D->n_features 2010-12-11 19:13:58 -05:00
Olivier Grisel e5ce482da3 revert the plot style to the LARS paper conventions 2010-12-09 18:57:45 +01:00
Olivier Grisel d9c7d80213 switch to base 10 for the alpha logs in the Lasso CD path plot 2010-12-09 18:56:32 +01:00
Olivier Grisel 81b911c12b make MSE plot of LassoCV more readable by scaling the y axis 2010-12-09 09:48:50 +01:00
Olivier Grisel f88ca8c4bb ENH: make the LassoLARS and LassoCD path examples easier to compare 2010-12-09 09:32:32 +01:00
Olivier Grisel 157fc0ac4c ENH: LassoCV / ElasticNetCV now uses all folds data + example
Store all the mse information on each fold and select alpha by best median
on MSE.
2010-12-09 09:06:25 +01:00
Fabian Pedregosa 085544eb5e Use original diabetes data as shipped by the R package lars.
This also gets rid of stupid customizations in example.
2010-12-03 16:22:03 +01:00
Peter Prettenhofer 46a2d551a3 fixed imports in non-auto examples.
COSMIT import paths in plot examples.
Rephrased SGD outline in linear_model.rst
2010-12-03 10:28:08 +01:00
Peter Prettenhofer d102d2228d moved sgd examples to examples/linear_model and added sgd prefix.
minor fixes in some examples.
updated sgd.rst
2010-12-01 16:59:52 +01:00
Fabian Pedregosa 68bc58d029 glm --> linear_model rename holocaust.
I also moved cd_fast.pyx from its src subdirectory to linear_models,
to match the sgd module structure.
2010-11-25 16:27:30 +01:00