Peter Prettenhofer
d85aba65fd
cosmit: pep8
2011-05-04 20:14:54 +02:00
Peter Prettenhofer
db8fb49395
Fixed doc-tests and added doc strings for SGD learning rates.
2011-05-04 17:20:53 +02:00
Peter Prettenhofer
326a81aaea
Added SGD regression benchmark
2011-05-04 17:20:44 +02:00
Peter Prettenhofer
2df3f2a271
SGD module supports two additional learning rates: constant and inverse scaling.
2011-05-04 17:20:17 +02:00
Fabian Pedregosa
ec8edb63e8
I won't import scipy.sparse globally.
...
I won't import scipy.sparse globally.
I won't import scipy.sparse globally.
I won't import scipy.sparse globally.
I won't import scipy.sparse globally.
...
2011-04-01 17:32:58 +02:00
Peter Prettenhofer
3db9bbef5c
pep8 + oliviers remarks
2011-03-21 09:25:42 +01: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
Peter Prettenhofer
618a1b52e7
refactored SGD module (removed code duplication, better variable naming).
...
added interface for sample weight.
added seed to interface of sparse SGD classifier and regressor.
2011-03-15 16:29:49 +01:00
GaelVaroquaux
40f7ba34bd
ENH: Fixed seed for shuffling in SGD
...
Non reproducible random shuffling introduces too much noise in
cross-validation that makes parameter tuning hard.
2011-03-02 15:40:31 +01:00
Mathieu Blondel
f79b27d9f4
Rename SparseTransformerMixin to CoefSelectTransformerMixin.
2011-02-15 17:33:34 +09:00
Mathieu Blondel
384824906a
Add SparseTransformerMixin.
2011-02-14 16:22:41 +09:00
Mathieu Blondel
0429494830
Handle sparse matrix in LinearModel.
2011-01-20 21:44:53 +09: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
Olivier Grisel
264629b978
do not precompute explained_variance_ in linear model: can be too costly: use r2_score when needed instead
2010-12-12 02:56:15 +01:00
Anne-Laure Fouque
4cffab4e83
renamed explained_variance_score to r2_score in linear_model
...
Signed-off-by: Fabian Pedregosa <fabian.pedregosa@inria.fr>
2010-12-10 15:05:50 +01:00
Anne-Laure Fouque
a2639ac0db
ENH added R^2 coeff which is now used as score function in RegressorMixin
...
Signed-off-by: Fabian Pedregosa <fabian.pedregosa@inria.fr>
2010-12-10 15:05:50 +01:00
Peter Prettenhofer
a99078063a
BUGFIX in sparse.SGDRegressor
...
added more tests for SGDRegression
2010-12-03 11:25:43 +01:00
Fabian Pedregosa
560c6c7c17
More rename in the sgd module.
...
Merge stochastic_descent into linear_model.
2010-12-01 11:38:28 +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