Commit Graph

17 Commits

Author SHA1 Message Date
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